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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: 'll' was not declared in this scope
    7 |     cout << (ll)(a*b) << endl;
      |              ^~
Language: C++

    long double a, b;
    cin >> a >> b;
    long double ans = (a * (b * 1000)) / 1000;
    cout << (long long)ans << "\n";
    return 0;
}

Compiler output:
a.cc:2:5: error: 'cin' does not name a type
    2 |     cin >> a >> b;
      |     ^~~
a.cc:4:5: error: 'cout' does not name a type
    4 |     cout << (long long)ans << "\n";
      |     ^~~~
a.cc:5:5: error: expected unqualified-id before 'return'
    5 |     return 0;
      |     ^~~~~~
a.cc:6:1: error: expected declaration before '}' token
    6 | }
      | ^
Language: C++

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

int main(){
  long long a, c;
  double b;
  
  cin >> a >> b;
  
  c = b * 100 + 0.5;
  
  a *= c;
  
  cout << a/100 << endl;
  
  return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits/std++.h: No such file or directory
    1 | #include<bits/std++.h>
      |         ^~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <bits/stdc++.h>
using namespace std;
int main() {
  int A, answer;
  double B, C;
  cin >> A >> B;
  C = A * B;
  answer = C;
  cout << answer << 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>
const double pi = acos(-1);
using namespace std;
int main() {
  int A, answer;
  double B, C;
  cin >> A >> B;
  C = A * B;
  answer = C;
  cout << answer << 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++

a, b = input().strip().split()
a, b = [int(a), float(b)]
b = b*100 + 0.000000001
print(b)
print(a*int(b)//100)

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

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
		String b = sc.next();
        String s = s.substring(0,1)+s.substring(2,4);
        int c = Integer.parseInt(s);
        long d = a*c;
		System.out.println(d/100);
	}
}


Compiler output:
Main.java:7: error: variable s might not have been initialized
        String s = s.substring(0,1)+s.substring(2,4);
                   ^
1 error
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
		String b = sc.next();
        String s = s.substring(0,1)+s.substring(2,4);
        int c = String.valueOf(s);
        long d = a*c;
		System.out.println(d/100);
	}
}


Compiler output:
Main.java:8: error: incompatible types: String cannot be converted to int
        int c = String.valueOf(s);
                              ^
1 error
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
		String b = sc.next();
        String s = s.substring(0,1)+s.substring(2,4);
        int c = String.ValueOf(s);
        long d = a*c;
		System.out.println(d/100);
	}
}


Compiler output:
Main.java:8: error: cannot find symbol
        int c = String.ValueOf(s);
                      ^
  symbol:   method ValueOf(String)
  location: class String
1 error
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		long a = sc.nextLong();
		String b = sc.next();
        String s = s.substring(0,1)+s.substring(2,4);
        int c = (int)s;
        long d = a*c;
		System.out.println(d/100);
	}
}

Compiler output:
Main.java:8: error: incompatible types: String cannot be converted to int
        int c = (int)s;
                     ^
1 error
Language: Java

import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);    //scanner
        long    a = sc.nextLong();      // A
        double  b = sc.nextDouble();    // B
        // 精度を補うため，long型で計算を行う
        long a = a * ((long)b*100) / 100;   // (A x (Bx100)) / 100
        System.out.println(a);    // output
    }
}

Compiler output:
Main.java:9: error: variable a is already defined in method main(String[])
        long a = a * ((long)b*100) / 100;   // (A x (Bx100)) / 100
             ^
1 error
Language: Java

import java.io.BufferedReader; 
import java.io.InputStreamReader; 
import java.io.IOException; 
import java.util.StringTokenizer; 
import java.util.Arrays;
public class Multiplication3 {
    static class FastReader{
        BufferedReader br;
        StringTokenizer st;
       public  FastReader()
       {
           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());
       }
    }
    public static void main(String args[]) throws IOException
    {
        FastReader fs= new FastReader();
        long A= fs.nextLong();
        String B=fs.next();
        long res= (A* (((B.charAt(0)-'0')*100) +((B.charAt(2)-'0')*10) + (B.charAt(3)-'0')))/100;
        System.out.println(res);
    }

}

Compiler output:
Main.java:6: error: class Multiplication3 is public, should be declared in a file named Multiplication3.java
public class Multiplication3 {
       ^
1 error
Language: Java

package atcoder;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long a = scanner.nextLong();

        double b = scanner.nextDouble();
        b *= 100;

        long result = a*(long)b/100;

        System.out.print((result);

    }
}

Compiler output:
Main.java:16: error: ')' or ',' expected
        System.out.print((result);
                                 ^
1 error
Language: Java



import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long a = scanner.nextLong();

        double b = scanner.nextDouble();
        double b *=100;

        double result = a*b/100;

        System.out.print((long)result);


    }
}

Compiler output:
Main.java:12: error: ';' expected
        double b *=100;
                ^
1 error
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  long long a;
  double b;
  cin>>a>>b;
  long long ans;
  b*=100f;
  ans=(a*b)/100;
  cout<<ans<<"\n";
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:6: error: unable to find numeric literal operator 'operator""f'
    9 |   b*=100f;
      |      ^~~~
Language: C++

#include<bits/stdc++.h>
using namespacce std;
int main()
{
  long long a;
  double b;
  cin>>a>>b;
  long long ans;
  b*=100;
  ans=(a*b)/100;
  cout<<ans<<"\n";
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespacce'
    2 | using namespacce std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   cin>>a>>b;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 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:11:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |   cout<<ans<<"\n";
      |   ^~~~
      |   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 <stdio.h>

int main() {
  double A,B,C;
  int ans
  scanf("%lf%lf",&A,&B);
  C = A*B;
  printf

Compiler output:
main.c: In function 'main':
main.c:6:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    6 |   scanf("%lf%lf",&A,&B);
      |   ^~~~~
main.c:8:9: error: expected ';' at end of input
    8 |   printf
      |         ^
      |         ;
main.c:8:3: error: expected declaration or statement at end of input
    8 |   printf
      |   ^~~~~~
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc:6:3: error: extended character 　 is not valid in an identifier
    6 |   　long long int a;
      |   ^
a.cc: In function 'int main()':
a.cc:6:3: error: '\U00003000long' was not declared in this scope; did you mean 'ulong'?
    6 |   　long long int a;
      |   ^~~~~~
      |   ulong
a.cc:8:10: error: 'a' was not declared in this scope
    8 |     cin>>a>>b;
      |          ^
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:10: error: expected ';' before 'cout'
    9 |     a=a*b
      |          ^
      |          ;
   10 |     cout<<a;
      |     ~~~~
Language: C++

#include<iostream>
#include<cmath>
using namespace std;
int main(){
	long long  a;
	double b;
	cin>>a>>b;
	b*=100;
	a*=round(b);
	a/=100;
	cout<<ans;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:15: error: 'ans' was not declared in this scope; did you mean 'abs'?
   11 |         cout<<ans;
      |               ^~~
      |               abs
Language: C++

#include<bits/stdc++.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   cin >> A >> B;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 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:9:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   cout << c << endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:16: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |   cout << c << endl;
      |                ^~~~
      |                std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C

#include<stdio.h>
int main()
{
  float a, b;
  unsigned int c;
  scanf("%f%f",&a,&b);
  c=a*b;
  printf("%d",c);
  return 0;

Compiler output:
main.c: In function 'main':
main.c:9:3: error: expected declaration or statement at end of input
    9 |   return 0;
      |   ^~~~~~
Language: C

#include<stdio.h>
int main()
{
  float a, b;
  int c;
  scanf("%f%f",&a,&b);
  c=a*b;
  printf("%d",c);
  return 0;

Compiler output:
main.c: In function 'main':
main.c:9:3: error: expected declaration or statement at end of input
    9 |   return 0;
      |   ^~~~~~
Language: C

#include<stdio.h>
int main()
{
  float a, b;
  int c;
  scanf("%f%f",&a&b);
  c=a*b;
  printf("%d",c);
  return 0;

Compiler output:
main.c: In function 'main':
main.c:6:18: error: invalid operands to binary & (have 'float *' and 'float')
    6 |   scanf("%f%f",&a&b);
      |                ~~^
      |                |
      |                float *
main.c:9:3: error: expected declaration or statement at end of input
    9 |   return 0;
      |   ^~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define ll long long
const ll MOD = 1000000007;
const ll INF = 1061109567;
const ll MAX = 1e18;
const double EPS = 1e-10;
int main(){
    ll a;
  long double b;
  
  cin>>a>>b;
  b=b*100;
  b=b+0.5;
  ll c=a*b;
  cout<<c/100<<endl;
        return 0;int main(){
    long long int a;
    long double b;
    long long int fin;
    cin >> a >> b;
    
    b = b*100;
    b = b + 0.5;
    int tmpB = b;
    ans = a*tmpB/100;
    cout << ans<< endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:26: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   17 |         return 0;int main(){
      |                          ^~
a.cc:17:26: note: remove parentheses to default-initialize a variable
   17 |         return 0;int main(){
      |                          ^~
      |                          --
a.cc:17:26: note: or replace parentheses with braces to value-initialize a variable
a.cc:17:28: error: a function-definition is not allowed here before '{' token
   17 |         return 0;int main(){
      |                            ^
a.cc:28:2: error: expected '}' at end of input
   28 | }
      |  ^
a.cc:8:11: note: to match this '{'
    8 | int main(){
      |           ^
Language: C++

#include <bits/stdc++.h> 
using namespace std; 
#define vll vector<long long>
#define mll map<long long,long long>
#define pb push_back
typedef  long long ll;
typedef long double ld;
long double pi=3.14159265358979323846;

vll al[500005];
ll vis[500005],color[500005],I[101][101];

ll gcd(ll a,ll b)
{
    if (b==0) return a;
    return gcd(b,a%b);
}

bool isPrime(int n)
{
    if (n<=1) return false; 
    if (n<=3) return true; 
    if (n%2==0||n%3==0) return false; 
    for (int i=5;i*i<=n;i=i+6) if (n%i==0||n%(i+2)==0) return false; 
    return true; 
}

ll bpow(ll n, ll po)
{
	ll res=1;
	while(po>0)
	{
		if(po%2)
		{
			res*=n;
			po--;
		}
		else
		{
			n*=n;
			po/=2;
		}
	}
	return res;
}

ll binpow(ll n, ll po, ll mod)
{
	ll res=1;
	while(po>0)
	{
		if(po%2)
		{
			res=(res*n)%mod;
			po--;
		}
		else
		{
			n=(n*n)%mod;
			po/=2;
		}
	}
	return res;
}

ll swap(ll a, ll b)
{
	a=a+b;
	b=a-b;
	a=a-b;
}

ll fact(ll n) { 
   if ((n==0)||(n==1))
      return 1;
   else
      return n*fact(n-1);
}

ll C(ll n, ll r) {
    if(r > n - r) r = n - r; 
    ll ans = 1;
    ll i;

    for(i = 1; i <= r; i++) {
        ans *= n - r + i;
        ans /= i;
        ans=ans%1000000007;
    }

    return ans;
}

//bool bipartite_dfs(ll node, ll flag)
//{
//	vis[node]=1;
//	ll cflag=flag;
//	color[node]=cflag;
//	for(ll child : al[node])
//	{
//		if(!vis[child])
//		{
//			bool n=bipartite_dfs(child,1-cflag);
//			if(n==false) return false;
//		}
//		else if(color[child]==color[node]) return false;
//	}
//	return true;
//}

void mmul(ll A[][101], ll B[][101], ll dim)
{
	ll res[dim][dim];
	for(ll i=0;i<dim;i++) for(ll j=0;j<dim;j++)
	{
		res[i][j]=0;
		for(ll k=0;k<dim;k++) res[i][j]=(res[i][j]+A[i][k]*B[k][j])%1000000007;
	}
	for(ll i=0;i<dim;i++) for(ll j=0;j<dim;j++) A[i][j]=res[i][j];
}

void mpow(ll A[][101],ll dim, ll po)
{
	for(ll i=0;i<dim;i++) for(ll j=0;j<dim;j++)
	{
		if(i==j) I[i][j]=1;
		else I[i][j]=0;
	}
	while(po>0)
	{
		if(po%2==1)
		{
			mmul(I,A,dim);
			po--;
		}
		else
		{
			mmul(A,A,dim);
			po/=2;
		}
	}
	for(ll i=0;i<dim;i++) for(ll j=0;j<dim;j++) A[i][j]=I[i][j];
}


int main()
{
	long double ans;
	ll a;
	long double b;
	cin>>a>>b;
	ans=a*b
	ll t=ans;
	cout<<t;
	
}


Compiler output:
a.cc: In function 'll swap(ll, ll)':
a.cc:71:1: warning: no return statement in function returning non-void [-Wreturn-type]
   71 | }
      | ^
a.cc: In function 'int main()':
a.cc:152:16: error: expected ';' before 'll'
  152 |         ans=a*b
      |                ^
      |                ;
  153 |         ll t=ans;
      |         ~~      
a.cc:154:15: error: 't' was not declared in this scope
  154 |         cout<<t;
      |               ^
Language: C++

#include<cstdio>
#include<iostream>
#include<algorithm>
#include<cstring>
using namespace std;
typedef long long ll;
int main(){
	long double a,b
	ll s;
	cin>>a>>b;
	s=(ll)(a*b*100);
	cout<<(s-s%100)/100<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: expected initializer before 'll'
    9 |         ll s;
      |         ^~
a.cc:10:17: error: 'b' was not declared in this scope
   10 |         cin>>a>>b;
      |                 ^
a.cc:11:9: error: 's' was not declared in this scope
   11 |         s=(ll)(a*b*100);
      |         ^
Language: C++

// #pragma GCC target("avx2")
#pragma GCC optimize("O3", "unroll-loops")

// #include <bits/extc++.h>
// using namespace __gnu_pbds;

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

#define int long long
#define double long double
// template <typename T>
// using pbds_set = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
using pii = pair<int, int>;
template<typename T>
using prior = priority_queue<T, vector<T>, greater<T>>;
template<typename T>
using Prior = priority_queue<T>;

#define X first
#define Y second
#define ALL(x) (x).begin(), (x).end()
#define eb emplace_back
#define pb push_back

#define fastIO() ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0)
#define RANDOM() random_device __rd; \
                 mt19937 __gen = mt19937(__rd()); \
                 uniform_int_distribution<int> __dis(1, 1E8); \
                 auto rnd = bind(__dis, __gen)

const int INF = 1E18;
const int mod = 1E9 + 7;

int32_t main() {
    fastIO();
    
    int a, b;
    string _b;
    cin >> a >> _b, b = stoi(_b[0])*100 + stoi(_b.substr(2));
    cout << a*b / 100 << "\n";
    
    return 0;
}

Compiler output:
a.cc: In function 'int32_t main()':
a.cc:40:29: error: no matching function for call to 'stoi(__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type&)'
   40 |     cin >> a >> _b, b = stoi(_b[0])*100 + stoi(_b.substr(2));
      |                         ~~~~^~~~~~~
In file included from /usr/include/c++/14/string:54,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:7:
/usr/include/c++/14/bits/basic_string.h:4164:3: note: candidate: 'int std::__cxx11::stoi(const std::string&, std::size_t*, int)'
 4164 |   stoi(const string& __str, size_t* __idx = 0, int __base = 10)
      |   ^~~~
/usr/include/c++/14/bits/basic_string.h:4164:22: note:   no known conversion for argument 1 from '__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type' {aka 'char'} to 'const std::string&' {aka 'const std::__cxx11::basic_string<char>&'}
 4164 |   stoi(const string& __str, size_t* __idx = 0, int __base = 10)
      |        ~~~~~~~~~~~~~~^~~~~
/usr/include/c++/14/bits/basic_string.h:4432:3: note: candidate: 'int std::__cxx11::stoi(const std::wstring&, std::size_t*, int)'
 4432 |   stoi(const wstring& __str, size_t* __idx = 0, int __base = 10)
      |   ^~~~
/usr/include/c++/14/bits/basic_string.h:4432:23: note:   no known conversion for argument 1 from '__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type' {aka 'char'} to 'const std::wstring&' {aka 'const std::__cxx11::basic_string<wchar_t>&'}
 4432 |   stoi(const wstring& __str, size_t* __idx = 0, int __base = 10)
      |        ~~~~~~~~~~~~~~~^~~~~
Language: C

#include<stdio.h>
int main()
{
  float a, b;
  int c;
  scanf("%f%f",&a&b);
  c=a*b;
  printf("%d",c);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:18: error: invalid operands to binary & (have 'float *' and 'float')
    6 |   scanf("%f%f",&a&b);
      |                ~~^
      |                |
      |                float *
Language: C++

#include<cstdio>
#include<iostream>
#include<algorithm>
#include<cstring>
using namespace std;
typedef long long ll;
int main(){
	long double a;
	long double b;
	cin>>a>>b;
	b*=100;
	a=(ll)(a*b);
	cout<<(a-a%100)/100<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:19: error: invalid operands of types 'long double' and 'int' to binary 'operator%'
   13 |         cout<<(a-a%100)/100<<endl;
      |                  ~^~~~
      |                  | |
      |                  | int
      |                  long double
Language: C++

#include<cstdio>
#include<iostream>
#include<algorithm>
#include<cstring>
using namespace std;
typedef long long ll;
int main(){
	long double a;
	long double b;
	cin>>a>>b;
	b*=100;
	a=(ll)a*(ll)b;
	cout<<(a-a%100)/100<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:19: error: invalid operands of types 'long double' and 'int' to binary 'operator%'
   13 |         cout<<(a-a%100)/100<<endl;
      |                  ~^~~~
      |                  | |
      |                  | int
      |                  long double
Language: C++

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

int main () {
  unsigned long long a;
  unsigned double b;
  cin >> a >> b;
  unsigned long long xa=b/1;
  unsigned double xb=b-xa;
  unsigned long long xc=a*xb/1;
  cout << a*xa+xc << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'unsigned' specified with 'double'
    6 |   unsigned double b;
      |   ^~~~~~~~
a.cc:9:3: error: 'unsigned' specified with 'double'
    9 |   unsigned double xb=b-xa;
      |   ^~~~~~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
  long long a;
  string b;
  cin>>a>>b;
  long long c=(b[0]-'0')*100+(b[1]-'0')*10+(b[2]-'0');
  cout<<a*b/100;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:10: error: no match for 'operator*' (operand types are 'long long int' and 'std::string' {aka 'std::__cxx11::basic_string<char>'})
    9 |   cout<<a*b/100;
      |         ~^~
      |         | |
      |         | std::string {aka std::__cxx11::basic_string<char>}
      |         long long int
Language: C++

#include <bits/stdc++.h>

using namespace std;

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


Compiler output:
a.cc:6:1: error: extended character 　 is not valid in an identifier
    6 | 　long long a;
      | ^
a.cc: In function 'int main()':
a.cc:6:1: error: '\U00003000long' was not declared in this scope; did you mean 'ulong'?
    6 | 　long long a;
      | ^~~~~~
      | ulong
a.cc:8:8: error: 'a' was not declared in this scope
    8 |   cin>>a>>b;
      |        ^
Language: C++

#include<iostream>
using namespace std;

int main(){
  long long a;cin>>a;
  double b;cin>>b;
  cout<<(ll)((a%100)*b)+(a/100)*(ll)(b*100)<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: 'll' was not declared in this scope
    7 |   cout<<(ll)((a%100)*b)+(a/100)*(ll)(b*100)<<endl;
      |          ^~
Language: C++

#include <iostream>

using namespace std;

#define ll long long

int main() {

    ll int a, ans = 0;
    double b;
    cin >> a >> b;

    if(b <> 0){
        ans = a * b;
    }
    
 //   cout << a << ", " << b << ", " << ans <<  endl;
    cout << ans <<  endl;
    


    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:11: error: expected primary-expression before '>' token
   13 |     if(b <> 0){
      |           ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: expected ';' before 'cout'
    8 |   x=b*100*a/100
      |                ^
      |                ;
    9 |   cout <<x <<endl;
      |   ~~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:14:11: error: expected ';' before 'cout'
   14 |   a /= 100
      |           ^
      |           ;
   15 |   cout << a << endl;
      |   ~~~~
Language: C++

// Author: pankaj_m05 
// Problem: C 
// Created: 04.06.2020 19:32:30

#include<bits/stdc++.h>
#define fast ios_base::sync_with_stdio(false); cin.tie(NULL);
#define f_in(file) freopen(file, "r", stdin)
#define f_out(file) freopen(file, "w", stdout)
#define sz(a) int((a).size())
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define all(c) c.begin(), c.end()
#define tr(c,i) for(typeof(c).begin() i = c.begin(); i != c.end(); i++)
#define present(c,x) (c.find(x) != c.end())  // Set and Maps
#define cpresent(c,x) (find(allc,x) != c.end()) // Vectors
using namespace std;

typedef vector< int > vi;
typedef vector< vi > vvi;
typedef pair< int, int > ii;
typedef long long ll;

const int mod = 1e9 + 7;

int main(void) { 
	fast
	ll a;
	double b;
	cin >> a >> b;
	ll B = b * 100 + 0.5
	cout << a * B / 100 << '\n';
	return 0;
}                                          

Compiler output:
a.cc: In function 'int main()':
a.cc:33:9: error: expected ',' or ';' before 'cout'
   33 |         cout << a * B / 100 << '\n';
      |         ^~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:10: error: 'long long' specified with 'double'
    8 |     long long double C = A*(B*100)/100;
      |          ^~~~
Language: C++

include<bits/stdc++.h>
 
using namespace std;
#define llt long long int
#define modm 1000000007
 
int main(){
	llt n;
	float m;
	string s;
	cin>>n>>m;
	llt ans=n*(llt)m*100;
	cout<<ans/100<<endl;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:10:9: error: 'string' was not declared in this scope
   10 |         string s;
      |         ^~~~~~
a.cc:11:9: error: 'cin' was not declared in this scope
   11 |         cin>>n>>m;
      |         ^~~
a.cc:13:9: error: 'cout' was not declared in this scope
   13 |         cout<<ans/100<<endl;
      |         ^~~~
a.cc:13:24: error: 'endl' was not declared in this scope
   13 |         cout<<ans/100<<endl;
      |                        ^~~~
Language: C

#include <iostream>
using namespace std;
int main() {
    long long a;
    float b;
    long long c;
    cin >> a >> b;
    cout << (a * (long long)(b * 100)) / 100 << endl;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'trunc' was not declared in this scope
    7 |   cout<<trunc(a*b);
      |         ^~~~~
Language: C++

#include <iostream>

using namespace std;
typedef long long ll;

int main(){
  ll a;
  float b;
  cin >> a >> b;
  if(a == 0 || b == 0){
    cout << 0 << endl;
    return 0;
  }
  
  int bb1=b*10, bb2=b2*100;
  
  ll b2 = bb2%10;
  ll b1 = bb1%10;
  ll b0 = b;
  
  ll e0, e1, e2;
  
  e0 = a*b0;
  e1 = a*b1;
  e2 = a*b2;
  
  ll t1 = e1%10;
  ll t2 = (e2%100)-(e2%10);
  
  ll ex;
  if(t1+t2 >= 10){
    ex = 1;
  }else{
    ex = 0;
  }
  
  ll ans0, ans1, ans2;
  ans0 = e0;
  ans1 = (e1-t1)/10;
  ans2 = (e2-t2)/100;
  
  ll ans = ans0+ans1+ans2+ex;
  cout << ans << endl;
}
  
  


Compiler output:
a.cc: In function 'int main()':
a.cc:15:21: error: 'b2' was not declared in this scope; did you mean 'bb2'?
   15 |   int bb1=b*10, bb2=b2*100;
      |                     ^~
      |                     bb2
Language: C++

#include <iostream>

using namespace std;
typedef long long ll;

int main(){
  ll a;
  float b;
  cin >> a >> b;
  if(a == 0 || b == 0){
    cout << 0 << endl;
    return 0;
  }
  
  int bb1=b*10, b2=bb2*100;
  
  ll b2 = bb2%10;
  ll b1 = bb1%10;
  ll b0 = b;
  
  ll e0, e1, e2;
  
  e0 = a*b0;
  e1 = a*b1;
  e2 = a*b2;
  
  ll t1 = e1%10;
  ll t2 = (e2%100)-(e2%10);
  
  ll ex;
  if(t1+t2 >= 10){
    ex = 1;
  }else{
    ex = 0;
  }
  
  ll ans0, ans1, ans2;
  ans0 = e0;
  ans1 = (e1-t1)/10;
  ans2 = (e2-t2)/100;
  
  ll ans = ans0+ans1+ans2+ex;
  cout << ans << endl;
}
  
  


Compiler output:
a.cc: In function 'int main()':
a.cc:15:20: error: 'bb2' was not declared in this scope; did you mean 'b2'?
   15 |   int bb1=b*10, b2=bb2*100;
      |                    ^~~
      |                    b2
a.cc:17:6: error: conflicting declaration 'll b2'
   17 |   ll b2 = bb2%10;
      |      ^~
a.cc:15:17: note: previous declaration as 'int b2'
   15 |   int bb1=b*10, b2=bb2*100;
      |                 ^~
Language: C++

#include <iostream>

using namespace std;
typedef long long ll;

int main(){
  ll a;
  float b;
  cin >> a >> b;
  if(a == 0 || b == 0){
    cout << 0 << endl;
    return 0;
  }
  
  ll b2 = (b*100)%10;
  ll b1 = (b*10)%10;
  ll b0 = b;
  
  ll e0, e1, e2;
  
  e0 = a*b0;
  e1 = a*b1;
  e2 = a*b2;
  
  ll t1 = e1%10;
  ll t2 = (e2%100)-(e2%10);
  
  ll ex;
  if(t1+t2 >= 10){
    ex = 1;
  }else{
    ex = 0;
  }
  
  ll ans0, ans1, ans2;
  ans0 = e0;
  ans1 = (e1-t1)/10;
  ans2 = (e2-t2)/100;
  
  ll ans = ans0+ans1+ans2+ex;
  cout << ans << endl;
}
  
  


Compiler output:
a.cc: In function 'int main()':
a.cc:15:18: error: invalid operands of types 'float' and 'int' to binary 'operator%'
   15 |   ll b2 = (b*100)%10;
      |           ~~~~~~~^~~
      |             |     |
      |             float int
a.cc:16:17: error: invalid operands of types 'float' and 'int' to binary 'operator%'
   16 |   ll b1 = (b*10)%10;
      |           ~~~~~~^~~
      |             |    |
      |             |    int
      |             float
Language: C++

#include <iostream>

using namespace std;
typedef long long ll;

int main(){
  ll a;
  float b;
  cin >> a >> b;
  if(a == 0 || b == 0){
    cout << 0 << endl;
    return 0;
  }
  
  ll b2 = (b%0.1f)*100;
  ll b1 = ((b%1f)-b2)*10;
  ll b0 = b-b1-b2;
  
  ll e0, e1, e2;
  
  e0 = a*b0;
  e1 = a*b1;
  e2 = a*b2;
  
  ll t1 = e1%10;
  ll t2 = (e2%100)-(e2%10);
  
  ll ex;
  if(t1+t2 >= 10){
    ex = 1;
  }else{
    ex = 0;
  }
  
  ll ans0, ans1, ans2;
  ans0 = e0;
  ans1 = (e1-t1)/10;
  ans2 = (e2-t2)/100;
  
  ll ans = ans0+ans1+ans2+ex;
  cout << ans << endl;
}
  
  


Compiler output:
a.cc: In function 'int main()':
a.cc:15:13: error: invalid operands of types 'float' and 'float' to binary 'operator%'
   15 |   ll b2 = (b%0.1f)*100;
      |            ~^~~~~
      |            | |
      |            | float
      |            float
a.cc:16:15: error: unable to find numeric literal operator 'operator""f'
   16 |   ll b1 = ((b%1f)-b2)*10;
      |               ^~
Language: C++

#include <iostream>

using namespace std;
typedef long long ll;

int main(){
  ll a;
  double b;
  cin >> a >> b;
  if(a == 0 || b == 0){
    cout << 0 << endl;
    return 0;
  }
  
  ll b0 = b%1d;
  ll b1 = (b%0.1d)*10;
  ll b2 = (b-b0-b1)*100;
  
  ll e0, e1, e2;
  
  e0 = a*b0;
  e1 = a*b1;
  e2 = a*b2;
  
  ll t1 = e1%10;
  ll t2 = (e2%100)-(e2%10);
  
  ll ex;
  if(t1+t2 >= 10){
    ex = 1;
  }else{
    ex = 0;
  }
  
  ll ans0, ans1, ans2;
  ans0 = e0;
  ans1 = (e1-t1)/10;
  ans2 = (e2-t2)/100;
  
  ll ans = ans0+ans1+ans2+ex;
  cout << ans << endl;
}
  
  


Compiler output:
a.cc: In function 'int main()':
a.cc:15:13: error: unable to find numeric literal operator 'operator""d'
   15 |   ll b0 = b%1d;
      |             ^~
a.cc:16:13: error: invalid operands of types 'double' and 'double' to binary 'operator%'
   16 |   ll b1 = (b%0.1d)*10;
      |            ~^~~~~
      |            | |
      |            | double
      |            double
Language: C++

#include <iostream>

using namespace std;
typedef long long ll;

int main(){
  ll a;
  double b;
  cin >> a >> b;
  if(a == 0 || b == 0){
    cout << 0 << endl;
    return 0;
  }
  
  ll b0 = b%1;
  ll b1 = (b%0.1f)*10;
  ll b2 = (b-b0-b1)*100;
  
  ll e0, e1, e2;
  
  e0 = a*b0;
  e1 = a*b1;
  e2 = a*b2;
  
  ll t1 = e1%10;
  ll t2 = (e2%100)-(e2%10);
  
  ll ex;
  if(t1+t2 >= 10){
    ex = 1;
  }else{
    ex = 0;
  }
  
  ll ans0, ans1, ans2;
  ans0 = e0;
  ans1 = (e1-t1)/10;
  ans2 = (e2-t2)/100;
  
  ll ans = ans0+ans1+ans2+ex;
  cout << ans << endl;
}
  
  

Compiler output:
a.cc: In function 'int main()':
a.cc:15:12: error: invalid operands of types 'double' and 'int' to binary 'operator%'
   15 |   ll b0 = b%1;
      |           ~^~
      |           | |
      |           | int
      |           double
a.cc:16:13: error: invalid operands of types 'double' and 'float' to binary 'operator%'
   16 |   ll b1 = (b%0.1f)*10;
      |            ~^~~~~
      |            | |
      |            | float
      |            double
Language: C++

#include <boost/multiprecision/cpp_int.hpp>
 
 
#include "bits/stdc++.h"
using namespace std;
#define rep(i,n) for(int i=0;i<(n);i++)
boost::multiprecision::cpp_int  A;
long double B;
 
int main()
{
	cin >> A>>B;
	boost::multiprecision::cpp_int ans =A * B;
	cout <<  ans<< endl;
	
	return 0;
}

Compiler output:
a.cc:1:10: fatal error: boost/multiprecision/cpp_int.hpp: No such file or directory
    1 | #include <boost/multiprecision/cpp_int.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <boost/multiprecision/cpp_int.hpp>


#include "bits/stdc++.h"
using namespace std;
#define rep(i,n) for(int i=0;i<(n);i++)
boost::multiprecision::cpp_int  A;
long double B;
 
int main()
{
	cin >> A>>B;
	boost::multiprecision::cpp_int ans = (boost::multiprecision::cpp_int)A * B;
	cout <<  ans<< endl;
	
	return 0;
}

Compiler output:
a.cc:1:10: fatal error: boost/multiprecision/cpp_int.hpp: No such file or directory
    1 | #include <boost/multiprecision/cpp_int.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

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

#define ff first
#define ss second
#define int long long
#define pb push_back
#define mp make_pair
#define setbits(x) __builtin_popcountll(x)
#define zrobits(x) __builtin_ctzll(x)
#define mod 100000000
#define inf 1e18
#define ps(x, y) fixed << setprecision(y) << x
#define mk(arr, n, type) type *arr = new type[n];
#define w(x)  \
	int x;    \
	cin >> x; \
	while (x--)
#define FIO                       \
	ios_base::sync_with_stdio(0); \
	cin.tie(0);                   \
	cout.tie(0)
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());

int lis(int* input,int n){
    int *output=new int[n];
    output[0]=1;
    for(int i=1;i<n;i++){
        //traversing in reverse
        output[i]=1;
        for(int j=i-1;j>=0;j--){
            if(input[j]>input[i]){
                continue;
            }
            int posAns=output[j]+1;
            if(posAns>output[i]){
                output[i]=posAns;

            }
        }
    }
    int best=0;
    for(int i=0;i<n;i++){
        if(best<output[i]){
            best=output[i];
        }
    }
    delete [] output;
    return best;
}

int32_t main()
{

	FIO;
	int n,m;
  	cin >>n>>m;
  cout<<(n*(m*100)/100)
	 
}

Compiler output:
a.cc: In function 'int32_t main()':
a.cc:59:24: error: expected ';' before '}' token
   59 |   cout<<(n*(m*100)/100)
      |                        ^
      |                        ;
   60 | 
   61 | }
      | ~
Language: C++

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

#define ff first
#define ss second
#define int long long
#define pb push_back
#define mp make_pair
#define setbits(x) __builtin_popcountll(x)
#define zrobits(x) __builtin_ctzll(x)
#define mod 100000000
#define inf 1e18
#define ps(x, y) fixed << setprecision(y) << x
#define mk(arr, n, type) type *arr = new type[n];
#define w(x)  \
	int x;    \
	cin >> x; \
	while (x--)
#define FIO                       \
	ios_base::sync_with_stdio(0); \
	cin.tie(0);                   \
	cout.tie(0)
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());


int32_t main()
{

	FIO;
	int A,B;
  cin >>A>>B;
  cout<<(A×(B×100))/100;
	 
}


Compiler output:
a.cc:33:10: error: extended character × is not valid in an identifier
   33 |   cout<<(A×(B×100))/100;
      |          ^
a.cc:33:13: error: extended character × is not valid in an identifier
   33 |   cout<<(A×(B×100))/100;
      |             ^
a.cc: In function 'int32_t main()':
a.cc:33:13: error: 'B\U000000d7100' was not declared in this scope
   33 |   cout<<(A×(B×100))/100;
      |             ^~~~~
a.cc:33:10: error: 'A\U000000d7' was not declared in this scope
   33 |   cout<<(A×(B×100))/100;
      |          ^~
Language: C++

#include <bits/stdc++.h>
#include <boost/multiprecision/cpp_int.hpp>
#define rep2(i,x,y) for (int i = x; i < (y); ++i)
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long int ll;

int main()
{
  ios::sync_with_stdio(false);  cin.tie(0); cout.tie(0);
  ll a;
  double b;
  cin >> a >> b;
  boost::multiprecision::cpp_int ans;
  if(a == 0 || b == 0) {
    cout << 0 << endl;
  }
  else{
    ans = (a * b + 0.001;
    cout << ans << endl;
  }
  return 0;
}

Compiler output:
a.cc:2:10: fatal error: boost/multiprecision/cpp_int.hpp: No such file or directory
    2 | #include <boost/multiprecision/cpp_int.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>

using namespace std;
using ll = long long;

int main() {
	ios::sync_with_stdio(false);cin.tie(0);
	
	long double a, b;
	cin >> a >> b;

	cout << (ll)(a *　b + 0.0001) << endl;

	return 0;
}

Compiler output:
a.cc:12:25: error: extended character 　 is not valid in an identifier
   12 |         cout << (ll)(a *　b + 0.0001) << endl;
      |                         ^
a.cc: In function 'int main()':
a.cc:12:25: error: '\U00003000b' was not declared in this scope
   12 |         cout << (ll)(a *　b + 0.0001) << endl;
      |                         ^~~
Language: C++

int main()
{
	ull a;
	double b;
	scanf("%lldu%lf", &a, &b);
	ull c = (ull)(b*100 + 1e-6);
	ull result = a * c / 100;
	cout << result << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:9: error: 'ull' was not declared in this scope
    3 |         ull a;
      |         ^~~
a.cc:5:28: error: 'a' was not declared in this scope
    5 |         scanf("%lldu%lf", &a, &b);
      |                            ^
a.cc:5:9: error: 'scanf' was not declared in this scope
    5 |         scanf("%lldu%lf", &a, &b);
      |         ^~~~~
a.cc:6:12: error: expected ';' before 'c'
    6 |         ull c = (ull)(b*100 + 1e-6);
      |            ^~
      |            ;
a.cc:7:12: error: expected ';' before 'result'
    7 |         ull result = a * c / 100;
      |            ^~~~~~~
      |            ;
a.cc:8:9: error: 'cout' was not declared in this scope
    8 |         cout << result << endl;
      |         ^~~~
a.cc:8:17: error: 'result' was not declared in this scope
    8 |         cout << result << endl;
      |                 ^~~~~~
a.cc:8:27: error: 'endl' was not declared in this scope
    8 |         cout << result << endl;
      |                           ^~~~
Language: C++

#include<iostream>
#include<string >
using namespace std;
//long long a[100005];
int main()
{
     long long  a;  double b;
    cin >> a >> b;
    long long t = b * 100 + 0.1;
    cout << a * b / 100;
    
}

Compiler output:
a.cc:2:9: fatal error: string : No such file or directory
    2 | #include<string >
      |         ^~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
#include<string >
using namespace std;
//long long a[100005];
int main()
{
     long long  a; long double b;
    cin >> a >> b;
    long long t = b * 100;
    long long ans = t * a;
    ans = a * t / 100;
    cout << ans << endl;
    
}

Compiler output:
a.cc:2:9: fatal error: string : No such file or directory
    2 | #include<string >
      |         ^~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
#include<string >
using namespace std;
//long long a[100005];
int main()
{
     long long  a; long double b;
    cin >> a >> b;
    long long sum = a * b;
    string s = to_string(sum);
    for (int i = 0; i < s.length(); i++)
    {
        if (s[i] == '.')break;
        cout << s[i];
    }
}

Compiler output:
a.cc:2:9: fatal error: string : No such file or directory
    2 | #include<string >
      |         ^~~~~~~~~
compilation terminated.
Language: C

#include <stdio.h>
                         
int main()
{long long a,b,c;
scanf("%lld %lld %lld",&a,&b,&c);
printf("%lld\n",(a*(100*b+c)/100);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:34: error: expected ')' before ';' token
    6 | printf("%lld\n",(a*(100*b+c)/100);
      |       ~                          ^
      |                                  )
main.c:7:10: error: expected ';' before '}' token
    7 | return 0;
      |          ^
      |          ;
    8 | }
      | ~
Language: C++

#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <chrono>

    #pragma GCC optimize("O3")
    #pragma GCC optimize("Ofast")
    #pragma GCC optimize("unroll-loops")
    /*#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
    #pragma GCC target ("avx2")*/

using namespace std;
using namespace __gnu_pbds;

typedef long long ll;

ll MAX = 1e15;
double PI = 3.141592653589793238463;
//double PI = acos(-1);
typedef tree<ll, null_type, less<ll>, rb_tree_tag, tree_order_statistics_node_update> ordered_set;


void solve(){
    long double a, b;

    cin >> a >> b;
    b=bb*100;
    cout << (ll)(a*b);
}

int main() {
    ios_base::sync_with_stdio(0); cin.tie(0);
    #ifndef ONLINE_JUDGE
    freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);
    #endif


    ll t=1;
    //cin >> t;
    while(t--){
        solve();
    }


    return 0;
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:27:7: error: 'bb' was not declared in this scope; did you mean 'b'?
   27 |     b=bb*100;
      |       ^~
      |       b
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:20: error: expected primary-expression before 'long'
    8 |     long long  x = long long(a*b);
      |                    ^~~~
Language: C++

/*COMPETITIVE PROGRAMMING C++ TEMPLATE */
 
#include <algorithm>
#include <vector>
#include <set>
#include <map>
#include <unordered_map>
#include <unordered_set>
#include <string>
#include <cmath>
#include <iostream>
#include <stack>
#include <queue>
#include <climits>
#include <iomanip>
 
#define all(x) x.begin(), x.end()
#define MOD 998244353
 
const long double PI = 3.141592653589793236L;
 
typedef long long int ll;
typedef long double ld;
 
using namespace std;
 
void solve()
{
    ll a;
    

    cin >> a >> b;

    b = floor(b * 100 + 0.5) / 100;

    cout << (ll) (a * b) << endl;
}

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
 
    int T = 1;
    //cin >> T;
    
    while (T--)
    {
        solve();
    }
    
    return 0;
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:32:17: error: 'b' was not declared in this scope
   32 |     cin >> a >> b;
      |                 ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: expected ',' or ';' before 'cout'
    9 |   cout << a*c/100 << endl;
      |   ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ll;
const ll mod=1e9;
const int inf=0x3f3f3f3f;
ll a[200005];
ll upper=1e18;
unsigned
int main()
{
	ll a;
	long double b;
	cin>>a>>b;
	a*=b;
	cout<<a<<endl;
   
}

Compiler output:
a.cc:9:1: error: '::main' must return 'int'
    9 | int main()
      | ^~~
Language: C++

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

int main() {
  	string sa, sb;
  	cin >> sa >> sb;
  	long sum, c, a = stol(sa);
  	double b = stod(sb);
  	c = (long)(b * 100);
  	sum = c * a / 100;
  	if(sum < 0) err << sum << endl;
  	
  	cout << to_string(sum) << endl;
  	
	return 0;  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:21: error: 'err' was not declared in this scope; did you mean 'erf'?
   11 |         if(sum < 0) err << sum << endl;
      |                     ^~~
      |                     erf
Language: C++

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

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

Compiler output:
a.cc:9:9: error: expected unqualified-id before 'return'
    9 |         return 0;
      |         ^~~~~~
a.cc:10:1: error: expected declaration before '}' token
   10 | }
      | ^
Language: C++

#include <bits/stdc++.h> 
using namespace std; 
//#define vector <int> vi;
void solve(); 
int main() 
{ 
    ios_base::sync_with_stdio(false); 
    cin.tie(NULL); 
  
#ifndef ONLINE_JUDGE 
    freopen("input.txt", "r", stdin); 
    freopen("error.txt", "w", stderr); 
    freopen("output.txt", "w", stdout); 
#endif 
  
    int t = 1; 
    ///*is Single Test case?*/ cin >> t; 
    while (t--) { 
        solve(); 
        cout << "\n"; 
    } 
  
    cerr << "time taken : " << (float)clock() / CLOCKS_PER_SEC << " secs" << endl; 
    return 0; 
} 
void solve() 
{ 
	long long a;
	long float b;
	cin>>a>>b;
	cout<< (long long) a*b;
} 

Compiler output:
a.cc: In function 'void solve()':
a.cc:29:9: error: 'long' specified with 'float'
   29 |         long float b;
      |         ^~~~
Language: C

#include <stdio.h>
#include <string>

int main(void) {
  long long A;
  char B[4];
  scanf("%d%s", &A, B);
  long long C = (B[0]-'0')*100+(B[2]-'0')*10+(B[3]-'0');
  long long ans = A * C;
  ans /= 100;
  printf("%d\n",A);
  return 0;
}

Compiler output:
main.c:2:10: fatal error: string: No such file or directory
    2 | #include <string>
      |          ^~~~~~~~
compilation terminated.
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:23: error: invalid operands of types 'long long int' and '<unresolved overloaded function type>' to binary 'operator<<'
    8 |         cout<<(a*c/100<<endl;
      |                ~~~~~~~^~~~~~
a.cc:8:29: error: expected ')' before ';' token
    8 |         cout<<(a*c/100<<endl;
      |               ~             ^
      |                             )
Language: C++




#include <iostream>
#include <cmath>
using namespace std;

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



Compiler output:
a.cc: In function 'int main()':
a.cc:9:22: error: expected unqualified-id before ';' token
    9 | {    long long int a,;
      |                      ^
a.cc:13:9: error: 'c' was not declared in this scope
   13 |         c=(a*(b*100)/100);
      |         ^
Language: C++




#include <iostream>
#include <cmath>
using namespace std;

int main()
{    long long int a,c;
	long double b;
	cin>>a;
	cin>>b;
	c=floor((a*(b*100)/100);
	cout<<c	;
	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:13:32: error: expected ')' before ';' token
   13 |         c=floor((a*(b*100)/100);
      |                ~               ^
      |                                )