criyle/codenet-compile-errors huggingface dataset:
Language: C++

#include<bits/stdc++.h>
using namespace std;

using ll = long long;
using ldb = long double
using pp = pair<ll,ll>;
const ll amari = 1e9+7;
const char BC = 'A' - 'a';
#define ben(a) a.begin(),a.end() //昇順
#define enb(a) a.rbegin(),a.rend() //降順
#define pb(a,b) a.push_back(b)
//fixed << setprecision(20)

int main(){
	ll a;
	ldb b;
	cin >> a >> b;
	cout << (ll)(a * b) << endl;
	return 0;
}

Compiler output:
a.cc:5:24: error: expected ';' before 'using'
    5 | using ldb = long double
      |                        ^
      |                        ;
    6 | using pp = pair<ll,ll>;
      | ~~~~~                   
a.cc: In function 'int main()':
a.cc:16:9: error: 'ldb' was not declared in this scope
   16 |         ldb b;
      |         ^~~
a.cc:17:21: error: 'b' was not declared in this scope
   17 |         cin >> a >> b;
      |                     ^
Language: Java

import java.util.Scanner;
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
float b = sc.nextInt();
Mul= a*b;
System.out.println(Mul)

Compiler output:
Main.java:2: error: unnamed classes are a preview feature and are disabled by default.
Scanner sc = new Scanner(System.in);
^
  (use --enable-preview to enable unnamed classes)
Main.java:5: error: class, interface, enum, or record expected
Mul= a*b;
^
Main.java:6: error: class, interface, enum, or record expected
System.out.println(Mul)
^
3 errors
Language: C++

#include <bits/stdc++.h>
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define ll long long int
#define pb push_back
#define mp make_pair
#define f(i,x,n) for(ll i=x;i<n;i++)
#define fl(i,x,n) for(ll i=n;i>=x;i--)
#define mod (ll)1e9+7
#define print(x) cout<<x<<endl
#define vec vector<ll>
#define pai pair<ll, ll>
#define itr(it) :: iterator it
#define MAX (ll)1e16
#define MIN (ll)-1e16
#define X first
#define Y second
#define up upper_bound
#define lo lower_bound
using namespace std;
       ///////////   ///     ///   ///      ///   ////////////  ///      ///
       ///           ///     ///   ///      ///   ///      ///  ///      ///
       ///           ///     ///   ///      ///   ///      ///  ///      ///
       ///////////   ///////////   ///      ///   ////////////  ////////////
               ///   ///     ///   ///      ///   ///      ///  ///      ///
               ///   ///     ///   ///      ///   ///      ///  ///      ///
       ///////////   ///     ///   ////////////   ////////////  ///      ///
ll minn( ll a , ll b) 
{
    if(a>b)
        return b;
    return a;
}
ll maxx2( ll a , ll b)
{
    if(a>b)
        return a;
    return b;
}
ll maxx(ll a,ll b,ll c)
{
  return maxx2(a,maxx2(b,c));
}
ll gcdd(ll a, ll b)
{
    if(b==0)
        return a;
    else
        return gcdd(b,a%b);
}
ll dsum(ll n)
{
    ll sum=0;
    while(n>0)
    {
        sum+=n%10;
        n/=10;
    }
    return sum;
}
ll poww(ll a,ll b)
{
    if(b<=0)
        return 1;
    if(b==1)
        return a;
    if(b==2)
        return (a*a);
    else
        return poww(poww(a,b/2),2)*(poww(a,b%2));
}
ll sumsq(ll x,ll y,ll z)
{
    return (x-y)*(x-y)+(y-z)*(y-z)+(z-x)*(z-x);
} 
signed main() 
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    IOS;
    long long double a,b,c;
    cin>>a>>b;
    c=a*b;
    ll x=c;
    cout<<x<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:80:10: error: 'long long' specified with 'double'
   80 |     long long double a,b,c;
      |          ^~~~
a.cc:80:10: error: 'long long' specified with 'double'
a.cc:80:10: error: 'long long' specified with 'double'
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
   
   long long double b,a;
   cin >> a >> b;
   
   long long int pro;
   
   pro = a*b;
   
   cout << pro;
   
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'long long' specified with 'double'
    6 |    long long double b,a;
      |         ^~~~
a.cc:6:9: error: 'long long' specified with 'double'
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
    long long A;
    double B;
    cin >> A >> B;
    long long ib=B*100+0.5;
    A*=iB;
    A/=100;
    cout << A << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:8: error: 'iB' was not declared in this scope; did you mean 'ib'?
    9 |     A*=iB;
      |        ^~
      |        ib
Language: C++

#include<bits/stdc++.h>
#define ll long long int
#define pb() push_back()
#define INF 1000000000
using namespace std;

const int mod = 1e9+7;
int main(){
	ll x,y;
	char d;
	
	cin>>x>>>d>>y;
	
	ll res = x+ 100*y+d;
	cout<<res/100;
		return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:17: error: expected primary-expression before '>' token
   12 |         cin>>x>>>d>>y;
      |                 ^
Language: C++

#include<bits/stdc++.h>
#define ll long long int
#define pb() push_back()
#define INF 1000000000
using namespace std;

const int mod = 1e9+7;
int main(){
	ll x,y;
	char d;
	
	cin>>x>>>d>>y;
	
	ll res = x+ 100*b+d;
	cout<<res/100;
		return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:17: error: expected primary-expression before '>' token
   12 |         cin>>x>>>d>>y;
      |                 ^
a.cc:14:25: error: 'b' was not declared in this scope
   14 |         ll res = x+ 100*b+d;
      |                         ^
Language: C++

#include<bits/stdc++.h>
using namespace std;

long long a;
double b;

int main(){
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	cout.tie(NULL);
	cin>>a>>b;
	cout<<a * long long(b * 100) / 100<<endl;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:12:19: error: expected primary-expression before 'long'
   12 |         cout<<a * long long(b * 100) / 100<<endl;
      |                   ^~~~
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.util.StringTokenizer;

public class C169 {
	public static void main(String[] args) {
		FastScanner sc = new FastScanner(System.in);
		long a = sc.nextLong();
		double b = sc.nextDouble();
		BigDecimal x = new BigDecimal(a);
		BigDecimal y = new BigDecimal(b);
		BigDecimal q = x.multiply(y);
		BigDecimal ans = q.setScale(0, BigDecimal.ROUND_DOWN);
		System.out.println(ans);
	}
	
	static class FastScanner {
		private BufferedReader reader = null;
	    private StringTokenizer tokenizer = null;
	    public FastScanner(InputStream in) {
	        reader = new BufferedReader(new InputStreamReader(in));
	        tokenizer = null;
	    }

	    public String next() {
	        if (tokenizer == null || !tokenizer.hasMoreTokens()) {
	            try {
	                tokenizer = new StringTokenizer(reader.readLine());
	            } catch (IOException e) {
	                throw new RuntimeException(e);
	            }
	        }
	        return tokenizer.nextToken();
	    }

	    public String nextLine() {
	        if (tokenizer == null || !tokenizer.hasMoreTokens()) {
	            try {
	                return reader.readLine();
	            } catch (IOException e) {
	                throw new RuntimeException(e);
	            }
	        }

	        return tokenizer.nextToken("\n");
	    }

	    public long nextLong() {
	        return Long.parseLong(next());
	    }

	    public int nextInt() {
	        return Integer.parseInt(next());
	    }

	    public double nextDouble() {
	         return Double.parseDouble(next());
	     }

	    public int[] nextIntArray(int n) {
	        int[] a = new int[n];
	        for (int i = 0; i < n; i++)
	            a[i] = nextInt();
	        return a;
	    }

	    public long[] nextLongArray(int n) {
	        long[] a = new long[n];
	        for (int i = 0; i < n; i++)
	            a[i] = nextLong();
	        return a;
	    }
	}
}


Compiler output:
Main.java:8: error: class C169 is public, should be declared in a file named C169.java
public class C169 {
       ^
Note: Main.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
Language: C++

#include<iostream>
 
int main(){
    unsigned long long int X;
    double Y;
 
    std::cin >> X >> Y;
    std::cout << X*(long long)(Y*100+0.5)/100<<“\n”;
    return 0;
}

Compiler output:
a.cc:8:48: error: extended character “ is not valid in an identifier
    8 |     std::cout << X*(long long)(Y*100+0.5)/100<<“\n”;
      |                                                ^
a.cc:8:49: error: stray '\' in program
    8 |     std::cout << X*(long long)(Y*100+0.5)/100<<“\n”;
      |                                                 ^
a.cc:8:50: error: extended character ” is not valid in an identifier
    8 |     std::cout << X*(long long)(Y*100+0.5)/100<<“\n”;
      |                                                  ^
a.cc: In function 'int main()':
a.cc:8:48: error: '\U0000201c' was not declared in this scope
    8 |     std::cout << X*(long long)(Y*100+0.5)/100<<“\n”;
      |                                                ^
Language: C++

#include<iostream>
 
int main(){
    unsigned long long int X;
    double Y;
 
    std::cin >> X >> Y;
    std::cout << X*(long long)(Y*100+0.1)/100<<“\n”;
    return 0;
}

Compiler output:
a.cc:8:48: error: extended character “ is not valid in an identifier
    8 |     std::cout << X*(long long)(Y*100+0.1)/100<<“\n”;
      |                                                ^
a.cc:8:49: error: stray '\' in program
    8 |     std::cout << X*(long long)(Y*100+0.1)/100<<“\n”;
      |                                                 ^
a.cc:8:50: error: extended character ” is not valid in an identifier
    8 |     std::cout << X*(long long)(Y*100+0.1)/100<<“\n”;
      |                                                  ^
a.cc: In function 'int main()':
a.cc:8:48: error: '\U0000201c' was not declared in this scope
    8 |     std::cout << X*(long long)(Y*100+0.1)/100<<“\n”;
      |                                                ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll a, b;
double bb;

int main(){
	
	int store;

	cin >> a >> bb;

	string c = to_string(bb);
	string b1, b2;

	int d = c.size();

	for(int i=0;i<d;i++){
		if(c[i]=='.'){
            store = i;
			break;
		}
		b1 = b1 + c[i];
	}

	for(int i = store+1; i<d; i++){
		b2 = b2 + c[i];
		if( b2.size() == 2 ){
			break;
		}
	}

	ll bb1 = stoi(isib1);
	ll bb2 = stoi(isib2);
	bb1 = bb1*100 + bb2;

	cout << a*bb1/100 << endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:33:23: error: 'isib1' was not declared in this scope
   33 |         ll bb1 = stoi(isib1);
      |                       ^~~~~
a.cc:34:23: error: 'isib2' was not declared in this scope
   34 |         ll bb2 = stoi(isib2);
      |                       ^~~~~
Language: C++

#include <iostream>

using namespace std;
typedef long long int64;

int main() {
	int64 a, c, ans;
	double b, c;
	
	cin >> a >> b;
	c = b * 100;
	ans = int64(a * c / 100);
	cout << ans << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: conflicting declaration 'double c'
    8 |         double b, c;
      |                   ^
a.cc:7:18: note: previous declaration as 'int64 c'
    7 |         int64 a, c, ans;
      |                  ^
Language: C

#include <bits/stdc++.h>


using namespace std;


#define ll long long
#define mk make_pair
#define pb push_back
#define fi first
#define se second
#define all(x) x.begin(), x.end()
#define sz(x) (int) (x).size()


ll sum(int n);

void go(){
	ll a;
	double b;
	cin>>a>>b;
	ll ans=a*b;
	cout << ans;
}
int main(){
   
   ios_base::sync_with_stdio(0);
   cin.tie(0);
   cout.tie(0);

   go();

   return 0;
}

ll sum(int n){                
   if(n == 0){
      return n;
   }else{
      return sum(n/10) + n%10;
   }
}


Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
#include <math.h>//pow(x,y)=x^y
#include <algorithm>//sort(a.begin(), a.end());reverse(a.begin(), a.end());
#define rep(i,n) for (int i=0; i <(n);i++)
#define ll long long
using namespace std;


int main() {
doubel B;
ll A;
int C;
cin>>A>>B;
B = B*100;
C = B;
ll R;
R = A*C/100;
cout << R << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:1: error: 'doubel' was not declared in this scope; did you mean 'double'?
   10 | doubel B;
      | ^~~~~~
      | double
a.cc:13:9: error: 'B' was not declared in this scope
   13 | cin>>A>>B;
      |         ^
Language: C++

#include<iostream>
using namesace std;
int main()
{
  long long int a;float b;
  cin>>a>>b;
  cout<<(int)a*b;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namesace'
    2 | using namesace std;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>a>>b;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   cout<<(int)a*b;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include <iostream>

int main()
{
  long long A;
  double B;
  std::cin >> A >> B;
  A *= B;
  std::cout << A << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |   std::cout << A << endl;
      |                     ^~~~
      |                     std::endl
In file included from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <bits/stdc++.h> 
using namespace std;
typedef long long ll;
typedef pair<ll,ll> p;
const int inf=(1<<30);
#define rep(i,a,n)	for(int i=a;i<n;i++)
#define rrep(i,a,n) for(int i=(a-1);i>=n;i--)
	
	
int main(){
	ll a;
	double b;
	cin>>a>>b;
	ll ans,b2;
	b2=round(b*100)
	ans=(a*b2)/100;
	cout<<ans<<endl;
	
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:24: error: expected ';' before 'ans'
   15 |         b2=round(b*100)
      |                        ^
      |                        ;
   16 |         ans=(a*b2)/100;
      |         ~~~
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <tuple>
#include <bitset>
#include <algorithm>

# define rep(i, n) for (int i = 0; i < (n); ++i)

using namespace std;
using ll = long long;
using P = pair<int, int>;


int main() {
    ll a;
    double b;
    cin >> a >> b;

    int b_int = round(b * 100);
    ll ans = (a * b_int) / 100;
    cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:17: error: 'round' was not declared in this scope
   20 |     int b_int = round(b * 100);
      |                 ^~~~~
Language: C++

#include <iostream>
#include <algorithm>
#include <cmath>
#include <iomanip>
 
#define rep(i,n) for(int (i)=0;(i)<(n); ++(i))
using namespace std;
 
int main() {
    long long a;
    long double b;
    cin >> a >> b;
 
    long double mul = a * b;
    long long ans = mul
 
    cout << ans << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:5: error: expected ',' or ';' before 'cout'
   17 |     cout << ans << endl;
      |     ^~~~
Language: Java

import java.io.*;
import java.math.*;
import java.util.*;





public class C {

    static MyScanner in = new MyScanner();
    static   PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
    int N;
    static int max = 200001;
    static int [] dr = {1,-1,0,0};
    static int [] dc={0,0,-1,1};
    static boolean [][] grid;
    static int [] bishopr = {-1,1,-1,1};
    static int [] bishopc = {1,1,-1,-1};
    static long H,W,cnt;
    public static void main(String args[]) throws IOException {
           long A = in.nextLong();
           double B = in.nextDouble();
           out.println((long)Math.floor(A*B));


        out.flush();
        }
       static boolean isValid (int r, int c){
           if(r>=0&&r<H&&c>=0&&c<W){
               return true;
           }
           return false;
       }
        private static void dfs(int r, int c) {
            for(int i=0;i<4;i++){
                int nr = bishopr[i] +r;
                int nc = bishopc[i]+c;
                if(isValid(nr, nc)&&!grid[nr][nc]){
                    cnt++;
                    grid[nr][nc] = true;
                    dfs(nr, nc);
                }
            }
        }

        static boolean isEven(long a) {
            return (a&1)==0;
        }
       static  void swap (int a, int b){

        int temmp = b;
        b=a;
        a = temmp;
        }
    

    public static class MyScanner {
        BufferedReader br;
        StringTokenizer st;
   
        public MyScanner() {
           br = new BufferedReader(new InputStreamReader(System.in));
        }
   
        String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }
   
        int nextInt() {
            return Integer.parseInt(next());
        }
   
        long nextLong() {
            return Long.parseLong(next());
        }
   
        double nextDouble() {
            return Double.parseDouble(next());
        }
   
        String nextLine(){
            String str = "";
        try {
           str = br.readLine();
        } catch (IOException e) {
           e.printStackTrace();
        }
        return str;
        }
  
     }
}

Compiler output:
Main.java:9: error: class C is public, should be declared in a file named C.java
public class C {
       ^
1 error
Language: C++

#include<bits/stdc++.h>

using namespace std;
typedef long long ll;
const ll mx = 10000007;
const ll mod = 1e9 + 7;
const double pi = acos(-1);
#define gcd(a, b) __gcd((a), (b))
#define lcm(a, b) ((a) / __gcd((a), (b)) * (b))
#define FIO ios_base::sync_with_stdio(false);  cin.tie(NULL);

int main() {
    ll a, c;
    floor b;
    cin >> a >> b;
    c = (ll)floor((a * 1.0) * (b));
    cout << c << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:10: error: expected ';' before 'b'
   14 |     floor b;
      |          ^~
      |          ;
a.cc:14:12: error: statement cannot resolve address of overloaded function
   14 |     floor b;
      |            ^
a.cc:15:17: error: 'b' was not declared in this scope
   15 |     cin >> a >> b;
      |                 ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  long long a = 0;
  string b ;
  cin >> a >> b ;
  b.at(1) = ' ' ;
  int B = b ;
  
  cout << (a*B)/100 << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: cannot convert 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'int' in initialization
    9 |   int B = b ;
      |           ^
      |           |
      |           std::string {aka std::__cxx11::basic_string<char>}
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  long long a = 0;
  double b = 0.0;
  cin >> a >> b ;
  b.at(1) = ' ' ;
  
  cout << (a*b)/100 << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: request for member 'at' in 'b', which is of non-class type 'double'
    8 |   b.at(1) = ' ' ;
      |     ^~
Language: C++


#include<bits/stdc++.h>

#define rep(i,n) for(int i = 0;i < (n);i++)

using namespace std;
using ll = long long;
using P = pair<int,int>;


int main(){

	unsigned long long int A;
	unsigned double B;
	
	cin >> A >> B;
	
	unsigned long long int D = B * 100;
	
	unsigned long long int C;
	C = D * A / 100;
	
	cout << C;

	return 0;
	
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:9: error: 'unsigned' specified with 'double'
   14 |         unsigned double B;
      |         ^~~~~~~~
Language: Java

import java.util.*;

public class solution{
public static void main(String args[]){
	Scanner sc=new Scanner(System.in);
	Integer a=sc.nextInt();
  	Float b=sc.nextFloat();
  	int res=(int)(a*b);
  	System.out.println(res);
	}
}

Compiler output:
Main.java:3: error: class solution is public, should be declared in a file named solution.java
public class solution{
       ^
1 error
Language: C++

#include<iostream>
 
int main(){
    unsigned long long int X;
    double Y;

    std::cin >> X >> Y;
    std::cout << a*(long long)(b*1000)/1000 << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:18: error: 'a' was not declared in this scope
    8 |     std::cout << a*(long long)(b*1000)/1000 << endl;
      |                  ^
a.cc:8:32: error: 'b' was not declared in this scope
    8 |     std::cout << a*(long long)(b*1000)/1000 << endl;
      |                                ^
a.cc:8:48: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     std::cout << a*(long long)(b*1000)/1000 << endl;
      |                                                ^~~~
      |                                                std::endl
In file included from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>
 
int main(){
    unsigned long long int X;
    double Y;

    std::cin >> X >> Y;
    cout << a*(long long)(b*1000)/1000 << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout << a*(long long)(b*1000)/1000 << endl;
      |     ^~~~
      |     std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:13: error: 'a' was not declared in this scope
    8 |     cout << a*(long long)(b*1000)/1000 << endl;
      |             ^
a.cc:8:27: error: 'b' was not declared in this scope
    8 |     cout << a*(long long)(b*1000)/1000 << endl;
      |                           ^
a.cc:8:43: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout << a*(long long)(b*1000)/1000 << endl;
      |                                           ^~~~
      |                                           std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
using ll = long long;
int main(){
  ll a; cin >> a;
  string s; cin >> s;
  swap(s[0],s[1]);
  s = to_string(a * stoi(s.substr(1,s.size()-1)));
  cout << s.substr(0,unsigned(max(s.size()-2,unsigned(0))) << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:34: error: no matching function for call to 'max(std::__cxx11::basic_string<char>::size_type, unsigned int)'
    9 |   cout << s.substr(0,unsigned(max(s.size()-2,unsigned(0))) << endl;
      |                               ~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:257:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
  257 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:257:5: note:   template argument deduction/substitution failed:
a.cc:9:34: note:   deduced conflicting types for parameter 'const _Tp' ('long unsigned int' and 'unsigned int')
    9 |   cout << s.substr(0,unsigned(max(s.size()-2,unsigned(0))) << endl;
      |                               ~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
  303 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note:   candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/14/algorithm:61:
/usr/include/c++/14/bits/stl_algo.h:5706:5: note: candidate: 'template<class _Tp> constexpr _Tp std::max(initializer_list<_Tp>)'
 5706 |     max(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5706:5: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/14/bits/stl_algo.h:5716:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::max(initializer_list<_Tp>, _Compare)'
 5716 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5716:5: note:   template argument deduction/substitution failed:
a.cc:9:34: note:   mismatched types 'std::initializer_list<_Tp>' and 'long unsigned int'
    9 |   cout << s.substr(0,unsigned(max(s.size()-2,unsigned(0))) << endl;
      |                               ~~~^~~~~~~~~~~~~~~~~~~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
using ll = long long;
int main(){
  ll a; cin >> a;
  string s; cin >> s;
  swap(s[0],s[1]);
  s = to_string(a * stoi(s.substr(1,s.size()-1)));
  cout << s.substr(0,max(s.size()-2,0)) << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:25: error: no matching function for call to 'max(std::__cxx11::basic_string<char>::size_type, int)'
    9 |   cout << s.substr(0,max(s.size()-2,0)) << endl;
      |                      ~~~^~~~~~~~~~~~~~
In file included from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:257:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
  257 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:257:5: note:   template argument deduction/substitution failed:
a.cc:9:25: note:   deduced conflicting types for parameter 'const _Tp' ('long unsigned int' and 'int')
    9 |   cout << s.substr(0,max(s.size()-2,0)) << endl;
      |                      ~~~^~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
  303 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note:   candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/14/algorithm:61:
/usr/include/c++/14/bits/stl_algo.h:5706:5: note: candidate: 'template<class _Tp> constexpr _Tp std::max(initializer_list<_Tp>)'
 5706 |     max(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5706:5: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/14/bits/stl_algo.h:5716:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::max(initializer_list<_Tp>, _Compare)'
 5716 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5716:5: note:   template argument deduction/substitution failed:
a.cc:9:25: note:   mismatched types 'std::initializer_list<_Tp>' and 'long unsigned int'
    9 |   cout << s.substr(0,max(s.size()-2,0)) << endl;
      |                      ~~~^~~~~~~~~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
///Welcome to Nasif's Code
#define bug printf("bug\n");
#define bug2(var) cout<<#var<<" "<<var<<endl;
#define co(q) cout<<q<<endl;
typedef long long int ll;
typedef unsigned long long int ull;
const int MOD = (int)1e9+7;
const int MAX = 1e6;
#define pi acos(-1)
#define FastRead    ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
int main()
{
    FastRead
    //freopen("output.txt", "w", stdout);

   double long long a, b;
   cin>>a>>b;
   ll c=a*b;
   cout<<c<<endl;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:16: error: 'long long' specified with 'double'
   18 |    double long long a, b;
      |                ^~~~
a.cc:18:16: error: 'long long' specified with 'double'
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main()
{
    long long int a;
    double b;
    cin >> a >> b;
  	long long int b = (int) (b * 100);

    long long int ans = (a * b) / 100;

    cout << ans << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:23: error: conflicting declaration 'long long int b'
   10 |         long long int b = (int) (b * 100);
      |                       ^
a.cc:8:12: note: previous declaration as 'double b'
    8 |     double b;
      |            ^
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main()
{
    long long int a;
    double b;
    cin >> a >> b;
  	long long int b = (int) (b * 100)

    long long int ans = (a * b) / 100;

    cout << ans << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:23: error: conflicting declaration 'long long int b'
   10 |         long long int b = (int) (b * 100)
      |                       ^
a.cc:8:12: note: previous declaration as 'double b'
    8 |     double b;
      |            ^
a.cc:14:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
   14 |     cout << ans << endl;
      |             ^~~
      |             abs
Language: C++

a, b = map(str, input().split())
b1, b2 = b.split('.')
bb = int(b1) * 100 + int(b2)
print(int((a *bb)/100))

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a, b = map(str, input().split())
      | ^
Language: Java

import java.util.*;

class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
    long a = sc.nextLong();
    double b = sc.nextDoouble();
    
    long num = (long)(a*b);
    System.out.print(num);
  }
}

Compiler output:
Main.java:8: error: cannot find symbol
    double b = sc.nextDoouble();
                 ^
  symbol:   method nextDoouble()
  location: variable sc of type Scanner
1 error
Language: Java

import java.util.*;

class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
    long a = nextLong();
    double b = nextDoouble();
    
    long num = (long)(a*b);
    System.out.print(num);
  }
}

Compiler output:
Main.java:7: error: cannot find symbol
    long a = nextLong();
             ^
  symbol:   method nextLong()
  location: class Main
Main.java:8: error: cannot find symbol
    double b = nextDoouble();
               ^
  symbol:   method nextDoouble()
  location: class Main
2 errors
Language: Java

import java.util.*;
 
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
    double a , b;
    
    a = sc.nextDouble();
    b = ac.nextDouble();
    System.out.println((int)(a * b));
  }
}

Compiler output:
Main.java:10: error: cannot find symbol
    b = ac.nextDouble();
        ^
  symbol:   variable ac
  location: class Main
1 error
Language: Java

import java.util.*;
 
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
    double a , b;
    
    a = nextDouble();
    b = nextDouble();
    System.out.println((int)(a * b));
  }
}

Compiler output:
Main.java:9: error: cannot find symbol
    a = nextDouble();
        ^
  symbol:   method nextDouble()
  location: class Main
Main.java:10: error: cannot find symbol
    b = nextDouble();
        ^
  symbol:   method nextDouble()
  location: class Main
2 errors
Language: Java

import java.util.*;

class Main{
  public static void main(String[] args){
    Scanne sc = new Scanner(System.in);
    
    double a , b;
    a = nextDouble();
    b = nextDouble();
    System.out.println((int)(a * b));
  }
}

Compiler output:
Main.java:5: error: cannot find symbol
    Scanne sc = new Scanner(System.in);
    ^
  symbol:   class Scanne
  location: class Main
Main.java:8: error: cannot find symbol
    a = nextDouble();
        ^
  symbol:   method nextDouble()
  location: class Main
Main.java:9: error: cannot find symbol
    b = nextDouble();
        ^
  symbol:   method nextDouble()
  location: class Main
3 errors
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  long long double a, b;
  cin >> a >> b;
  long long int c = a * b * 100;
  cout << c/100 << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:8: error: 'long long' specified with 'double'
    4 |   long long double a, b;
      |        ^~~~
a.cc:4:8: error: 'long long' specified with 'double'
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  long long  double a, b;
  cin >> a >> b;
  int c = a * b * 100;
  cout << c/100 << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:8: error: 'long long' specified with 'double'
    4 |   long long  double a, b;
      |        ^~~~
a.cc:4:8: error: 'long long' specified with 'double'
Language: C++

#include<bits/stdc++.h>
using namespace std;
long long n,mx,l;
double k;
main(){
	ios::sync_with_stdio(0);
	cin>>n;
	cin>>k;
    l=k*100;
    cout<<l<<endl;1
    mx=n*l;
    mx/=100;
    cout<<mx;
}


Compiler output:
a.cc:5:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    5 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:10:20: error: expected ';' before 'mx'
   10 |     cout<<l<<endl;1
      |                    ^
      |                    ;
   11 |     mx=n*l;
      |     ~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
const int N=1e5+3;
char ans[N];
void solve()
{
    ll a;double b;
    cin>>a>>b;
    b*=100;
    ll ans=a*b;
  	return ans/100;
}

int main()
{
    int t;
    t=1;
    while(t--)
    solve();
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:12:19: error: return-statement with a value, in function returning 'void' [-fpermissive]
   12 |         return ans/100;
      |                ~~~^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
const int N=1e5+3;
char ans[N];
void solve()
{
    ll a;double b;
    cin>>a>>b;
    ll ans=a*b;
  	ll c=0;
  	while (!ans%10)
    {
      c+=1;
      ans*=10;
    }
  	if (c!=0)
    {
      ans/=(10**c);
    }
    cout<<ans;
}

int main()
{
    int t;
    t=1;
    while(t--)
    solve();
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:19:16: error: invalid type argument of unary '*' (have 'll' {aka 'long long int'})
   19 |       ans/=(10**c);
      |                ^~
Language: C++

#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;

int main() {
  double a, b;
  cin >> a >> b;
  
  double bb = b * 100;
  
  cout << round((a * b)/100) endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:29: error: expected ';' before 'endl'
   13 |   cout << round((a * b)/100) endl;
      |                             ^~~~~
      |                             ;
Language: C++

#include <iostream>
using namespace std;

int main(){
	long long a;
  	cin >> a;
  	float b;
  	cin >> b;
    b *= 100;
    a =  a *((ll)b);
  	a /= 100;
  	cout << a << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:15: error: 'll' was not declared in this scope
   10 |     a =  a *((ll)b);
      |               ^~
a.cc:10:18: error: expected ')' before 'b'
   10 |     a =  a *((ll)b);
      |             ~    ^
      |                  )
Language: C++

#include <bits/stdc++.h>
typedef long long ll;
using namespace std;

int main() {
  long long int a;
  long long double b;
  cin >> a >> b;
  
  cout << (long long int)a*b;
  
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'long long' specified with 'double'
    7 |   long long double b;
      |        ^~~~
Language: C++

#include <bits/stdc++.h>
typedef long long ll;
using namespace std;

int main() {
  ll a;
  ll b;
  cin >> a >> b;
  
  cout << (ll int)a*b;
  
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: two or more data types in declaration of 'type name'
   10 |   cout << (ll int)a*b;
      |            ^~
Language: Java

import java.io.*;
import java.util.*;
public class Mult3
{
	public static void main(String args[])throws IOException
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		Long a = Long.parseLong(st.nextToken());
		double b = Double.parseDouble(st.nextToken());
		long b1 = (long)(b*100); 
		System.out.println((a*b1)/100);
	}
}

Compiler output:
Main.java:3: error: class Mult3 is public, should be declared in a file named Mult3.java
public class Mult3
       ^
1 error
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <algorithm>
#include <utility>
#include <iomanip>
#include <tuple>
#include <numeric>
#include <cstdio>
#include <cmath>
#include <cstdlib>
using namespace std;
using ll = long long;
const int INF = 1e9;

int main() {
    ll a; double b;
    cin >> a >> b;
    ll b = b * 100;
    ll z = (a * b) / 100;

    printf("%lld\n", z);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:22:8: error: conflicting declaration 'll b'
   22 |     ll b = b * 100;
      |        ^
a.cc:20:18: note: previous declaration as 'double b'
   20 |     ll a; double b;
      |                  ^
Language: C++

#include <bits/stdc++.h>
#define nl '\n'

typedef long long ll;
typedef unsigned long long ull;

using namespace std;

int main() {
	ios::sync_with_stdio(false);
	cin.tie(nullptr);
	setprecision(10);
	cout << fixed;
	ll a;
	float b;
	cin >> a >> b;
	ll c = b * 100;
	#assert((float) b * 100 == c);
	ll ans = a * (c) / 100;
	cout << ans << nl;
}

Compiler output:
a.cc:18:10: warning: #assert is a deprecated GCC extension [-Wdeprecated]
   18 |         #assert((float) b * 100 == c);
      |          ^~~~~~
a.cc:18:16: error: predicate must be an identifier
   18 |         #assert((float) b * 100 == c);
      |                ^
Language: C++

num1=int(input())
num2=int(input())
mul=num1*num2;
print(mul)

Compiler output:
a.cc:1:1: error: 'num1' does not name a type
    1 | num1=int(input())
      | ^~~~
a.cc:4:6: error: expected constructor, destructor, or type conversion before '(' token
    4 | print(mul)
      |      ^
Language: C++

#include<bits/stdc++.h>
#define ll long long
using namespace std;

const ll tenPowEighteen = 1000000000000000000;

int main()
{
    ll a,b;
    double c;
    cin>>a>>c;

    a = a*(c*100);

    ll ans = a/100ac;
    cout<<ans;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:16: error: unable to find numeric literal operator 'operator""ac'
   15 |     ll ans = a/100ac;
      |                ^~~~~
Language: C

#include<bits/stdc++.h>
using namespace std;

int main()
{
  long long a;
  long double b;
  cin>>a>>b;
  long long r=a*b;
  cout<<r;
  return 0;
}

Compiler output:
main.c:1:9: fatal error: bits/stdc++.h: No such file or directory
    1 | #include<bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: Java

import java.util.*;
 
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    long x = sc.nextLong();
    x *=sc.nextDouble()*100;
    sc.close;
    System.out.println(x/100L);
  }
}


Compiler output:
Main.java:8: error: not a statement
    sc.close;
      ^
1 error
Language: Java

import java.util.*;
 
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt()
    x *=sc.nextDouble();
    System.out.println(x);
  }
}

Compiler output:
Main.java:6: error: ';' expected
    int x = sc.nextInt()
                        ^
1 error
Language: Java

import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt() * sc.nextDouble();
    System.out.println(x);
  }
}

Compiler output:
Main.java:6: error: incompatible types: possible lossy conversion from double to int
    int x = sc.nextInt() * sc.nextDouble();
                         ^
1 error
Language: C

#include <bits/stdc++.h>
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define ALL(x) (x).begin(), (x).end()
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
typedef vector<vector<int>> Matrix;


int main(){
  ll a;
  double b;
  cin >> a >> b;
  ll c = b * 100;
  ll ans = a * c;
  ans /= 100;
  cout << ans << endl;
}



Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include "bits/stdc++.h"
using namespace std;
#define ff first
#define ss second
#define pb push_back
typedef long long ll;
#define db(x) cerr<<__LINE__<<": "<<#x<<" = "<<(x)<<'\n'
const int inf = 1e9+7;
const int N = 1e6+9;

void solve() {
	long double a, b, n;
	cin>>a>>b;
	ll s=a*b;
	cout<<s<<endl;
}
int main() {
    ios_base::sync_with_stdio(0);
    int T=1 ,cas=0;
    while(T--) {
    	solve();
    }
    return 0;
}

// ll, reset, 1, bottom

Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include "bits/stdc++.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <bits/stdc++.h>
using namespace std;
#define int long long
#define INF LLONG_MAX/10
#define rep(i,n) for(int i=0;i<n;i++)
#define krep(i,k,n,m) for(int i=k;i<n;i+=m)
#define erep(i,k,n) for(int i=k;i<n;i++)
#define mod 1000000007
//最大公約数
int gcd(int s,int b){
    if(b==0)return s;
    return gcd(b,s%b);
}

signed main(){
    int a;
    double b;
    cin>>a>>b;
    a=a*b;
    cout<<a<<endl;
}


Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
#define long long ll
using namespace std;
int main(){
	ll a;
	long double b;
	cin>>a>>b;
	cout<<(ll)((a*(ll)(b*100+0.5)/100))<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'll' was not declared in this scope
    5 |         ll a;
      |         ^~
a.cc:6:14: error: expected initializer before 'double'
    6 |         long double b;
      |              ^~~~~~
a.cc:7:14: error: 'a' was not declared in this scope
    7 |         cin>>a>>b;
      |              ^
a.cc:7:17: error: 'b' was not declared in this scope
    7 |         cin>>a>>b;
      |                 ^
Language: Java

import java.util.*;

public class Main{
    public static void main(String[] args)
    {
       

        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        double b=sc.nextDouble();
      long ans=(long)(a*(b*100))/100;
      System.out.println(ans);

    }
}

Compiler output:
Main.java:11: error: cannot find symbol
      long ans=(long)(a*(b*100))/100;
                      ^
  symbol:   variable a
  location: class Main
1 error
Language: C++

#include<bits/stdc++.h>

using namespace std;

/**templates**/
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef vector<ll> vl;

#define si(x) scanf("%d",&x)
#define sl(x) scanf("%lld",&x)
#define sull(x) scanf("%llu",&x)
#define sf(x) scanf("%lf",&x)
#define ss(x) scanf(" %s",x)
#define sc(x) scanf(" %c",&x)
#define pi acos(-1.0)
#define pb push_back
#define aa first
#define bb second
#define sz(x) (ll)(x).size()
#define cas printf("Case %lld: ",++t)
#define casline printf("Case %lld:\n",++t)
//#define cas cout<<"Case "<<++t<<": "
//#define casline cout<<"Case "<<++t<<":"<<endl;
#define distance(x1,y1,x2,y2)((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))
#define endl "\n"
#define bug cout<<"bugggggggggggg "<<endl;
#define fast ios_base::sync_with_stdio(0);cin.tie(nullptr); ///no printf/scanf
#define clean fflush(stdout)

const ll mod = 1000000007;
const ll inf = 1LL<<62;
const ll mx = 100005;
const double eps = 1e-10;

ll dx[10]={1,0,-1,0};
ll dy[10]={0,-1,0,1};
///ll dx[] = {1,-1,0,0,1,1,-1,-1} , dy[] = {0,0,1,-1,1,-1,1,-1}; /// 8 Direction
///ll dx[] = {1,-1,1,-1,2,2,-2,-2} , dy[] = {2,2,-2,-2,1,-1,1,-1}; /// Knight Direction

ll power(ll a,ll b)
{
    if(b==0)return 1;
    ll x=power(a,b/2);
    x=x*x;
    if(b%2)x=x*a;
    return x;
}

ll bigmod(ll a,ll b)
{
    if(b==0)return 1;
    ll x=bigmod(a,b/2)%mod;
    x=(x*x)%mod;
    if(b%2)x=(x*a)%mod;
    return x;
}

ll Set(ll N,ll pos){return N=N | (1LL<<pos);}
ll reset(ll N,ll pos){return N= N & ~(1LL<<pos);}
bool check(ll N,ll pos){return (bool)(N & (1LL<<pos));}

/**
        ...ENDING OF TEMPLATE...
*/

int main()
{
//    freopen("in.txt","r",stdin);
//    freopen("out.txt","w",stdout);
//    fast; ///no printf/scanf
    /** Use "long double"(%Lf) instead of double for precision safety*/
    ll tst,a,b,c,k,n,m,ans=0,t=0;
    double num;
    sl(a),sf(num)
    ll res = (a*num*100 + eps)/100;
//    cout<<a<<" "<<b<<" "<<res<<endl;
    cout<<res<<endl;



    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:78:5: error: expected ';' before 'll'
   78 |     ll res = (a*num*100 + eps)/100;
      |     ^~
a.cc:80:11: error: 'res' was not declared in this scope
   80 |     cout<<res<<endl;
      |           ^~~
Language: C++

#include<iostream>
#include<string>
#include<cstdio>
#include<vector>
#include<iomanip>
#include<cmath>
#include<algorithm>
#include<queue>
#include<set>
#include<unordered_map>
#include<stack>
#include<map>
#include<bitset>
#include <cstdlib>
#include<cstring>
#define ll long long
#define pb push_back
const int MOD = 1e9 + 7;
const int qq = 1e5 + 10;
const int INF = 1e9 + 10;
const double eps = 1e-11;
const double pi = acos(-1.0); 
const double PI = 3.1415926535897932384;
using namespace std;
#define ma = 2147483647;
#define mi = -2147483647;
int main()
{

	ios::sync_with_stdio(0); cin.tie(0);

	int a; double b;
	cin >> a >> b;
	double res = double(a) * b;
	cout << long long(res);
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:35:17: error: expected primary-expression before 'long'
   35 |         cout << long long(res);
      |                 ^~~~
Language: C++

#include<iostream>
#include<string>
#include<cstdio>
#include<vector>
#include<iomanip>
#include<cmath>
#include<algorithm>
#include<queue>
#include<set>
#include<unordered_map>
#include<stack>
#include<map>
#include<bitset>
#include <cstdlib>
#include<cstring>
#define ll long long
#define pb push_back
const int MOD = 1e9 + 7;
const int qq = 1e5 + 10;
const int INF = 1e9 + 10;
const double eps = 1e-11;
const double pi = acos(-1.0); 
const double PI = 3.1415926535897932384;
using namespace std;
#define ma = 2147483647;
#define mi = -2147483647;
int main()
{

	ios::sync_with_stdio(0); cin.tie(0);

	/*int n; cin >> n;
	ll res = 1;
	ll t = 0;
	for (int i = 0; i < n; i++)
	{
		cin >> t;
		if (res > 1000000000000000000 / t)
		{
			res = -1;
			break;
		}
		else res *= t;
	}
	cout << res;*/
	int a; double b;
	cin >> a >> b;
	double res = a * b;
	cout << ll(res);
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:12: error: expected primary-expression before 'long'
   16 | #define ll long long
      |            ^~~~
a.cc:49:17: note: in expansion of macro 'll'
   49 |         cout << ll(res);
      |                 ^~