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

#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <cmath>
#include <set>
using namespace std;
typedef long long ll;

ll Max = 1000000000000000000;

int main() {
	ll a;
	double b;
	int b1;
	cin >> a >> b;
	b1 = b * 100;
	r = b1 % 100;
	ll ans = floor(a * b1);
	cout << ans;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:9: error: 'r' was not declared in this scope
   18 |         r = b1 % 100;
      |         ^
Language: C++

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

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

Compiler output:
a.cc:8:16: error: extended character 　 is not valid in an identifier
    8 |         cout <<　setprecision(0) << ans << endl;
      |                ^
a.cc: In function 'int main()':
a.cc:8:16: error: '\U00003000setprecision' was not declared in this scope
    8 |         cout <<　setprecision(0) << ans << endl;
      |                ^~~~~~~~~~~~~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: expected primary-expression before '<' token
    7 |   cout<<<(long long)(b*100)*a/100;
      |         ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: expected primary-expression before '<' token
    7 |   cout<<<long long(b*100)*a/100;
      |         ^
a.cc:7:10: error: expected primary-expression before 'long'
    7 |   cout<<<long long(b*100)*a/100;
      |          ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: expected primary-expression before '<' token
    7 |   cout<<<long long(b*100)*a/100;
      |         ^
a.cc:7:10: error: expected primary-expression before 'long'
    7 |   cout<<<long long(b*100)*a/100;
      |          ^~~~
a.cc:7:33: error: expected '}' at end of input
    7 |   cout<<<long long(b*100)*a/100;
      |                                 ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: Java

import static java.lang.Math.floor;
import static java.lang.Math.round;
import java.util.Scanner;

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

        long a;
        double b;
        double result;

        a = scanner.nextLong();
        b = scanner.nextDouble();

        result = (double)a*b;

        System.out.print(round(floor(result)));
    }
}


Compiler output:
Main.java:5: 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 ll = long long int;
int main(){
    ll a;
    string b;
    cin>>a>>b;
    cout<<(a*100*(b[0]-'0') + a*10*(b[2]-'0') + a*(b[3]-'0'))/100<<"\n";
}

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

#include<stdio.h>

int main() {
	long long  a,ans;
	double b;
	scanf("%lld %lf", &a, &b);
	ans=(long long)(a*b*100)+0.5)/100
	printf("%lld", ans);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:37: error: expected ';' before ')' token
    7 |         ans=(long long)(a*b*100)+0.5)/100
      |                                     ^
      |                                     ;
main.c:7:37: error: expected statement before ')' token
main.c:7:38: error: expected expression before '/' token
    7 |         ans=(long long)(a*b*100)+0.5)/100
      |                                      ^
Language: C

#include<stdio.h>

int main() {
	long long  a,ans;
	double b;
	scanf("%d %d", &a, &b);
	ans=(long long)(a*b*100)+0.5)/100
	printf("%lld", ans);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:37: error: expected ';' before ')' token
    7 |         ans=(long long)(a*b*100)+0.5)/100
      |                                     ^
      |                                     ;
main.c:7:37: error: expected statement before ')' token
main.c:7:38: error: expected expression before '/' token
    7 |         ans=(long long)(a*b*100)+0.5)/100
      |                                      ^
Language: C++

#include <iostream>
using namespace std;

int main() {
	// your code goes here
	long long int a;
	cin>>a;
	double b;
	cin>>b;
	int d=round(b*100);
	cout<<(a*d)/100;
	return 0;
}

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

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

int main()
{
  ll a ;
  double b ;
  cin >> a >> b ;
  double b100 = 64*b + 32*b + 4*b ;
  cout << (a*b100)/100 <<endl;


    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'll' was not declared in this scope
    6 |   ll a ;
      |   ^~
a.cc:8:10: error: 'a' was not declared in this scope
    8 |   cin >> a >> b ;
      |          ^
Language: C++

#include <iostream>
#include <vector>
#include <math.h>

using namespace std;

int main(void)
{
	double a, b, c;
cin >> a >> b;
//vector<long long int> as(a);

cout << floot(c =a*b) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:9: error: 'floot' was not declared in this scope; did you mean 'floor'?
   13 | cout << floot(c =a*b) << endl;
      |         ^~~~~
      |         floor
Language: C++

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

int main(){
    ll a;
    string b;
    cin >> a >> b; 
    long long b100 = (b[0]-'0')*100 + (b[1]-'0')*10 + (b[0]-'0')*1;
    cout << a * b100 / 100S << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:24: error: unable to find numeric literal operator 'operator""S'
   11 |     cout << a * b100 / 100S << endl;
      |                        ^~~~
Language: C++

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

  

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

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

int main() {
  int64_t x;
  long long double y;
  cin >> x >> y;
  int z=y*100;
  cout << x*z/100 << endl;

}


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

#include<iostream>
#include<cmath>
using namespace std;
int main(){
double a,b;
  cin >> a >> b;
  cout << long long floor(a*b) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected primary-expression before 'long'
    7 |   cout << long long floor(a*b) << endl;
      |           ^~~~
Language: C++

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

int main() {
    ll a;
    string s;
    ll b;
    cin >> a >> s;
    for(int i = 0; i < s.size(); i++){
        if(s.at(i) == '.'){
            continue;
        }
        char c = s.at(i);
        b = b * 10 + (c　- '0');
    }
    cout << a * b / 100 << endl;
}

Compiler output:
a.cc:16:23: error: extended character 　 is not valid in an identifier
   16 |         b = b * 10 + (c　- '0');
      |                       ^
a.cc: In function 'int main()':
a.cc:16:23: error: 'c\U00003000' was not declared in this scope
   16 |         b = b * 10 + (c　- '0');
      |                       ^~~
Language: Java

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

Compiler output:
Main.java:7: error: incompatible types: possible lossy conversion from double to int
      int x=(int)a*b;
                  ^
1 error
Language: C++

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

int main() {
    ll a;
    string s;
    ll b;
    cin >> a >> s;
    for(int i = 0; i < s.size(); i++){
        if(s.at(i) == '.'){
            continue;
        }
        b = b * 10 + (s.at(i) - '0')
    }
    cout << a * b / 100 << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:37: error: expected ';' before '}' token
   15 |         b = b * 10 + (s.at(i) - '0')
      |                                     ^
      |                                     ;
   16 |     }
      |     ~
Language: C++

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

typedef long lint;
typedef long long llint;
typedef pair<int, int> pint;
typedef pair<long long, long long> pllint;

// static const int MAX = 1e6;
// static const int NIL = -1;
// static const llint INF = 1<<21;
// static const llint MOD = 1e9 + 7;

bool compPair(const pint& arg1, const pint& arg2) { return arg1.first > arg2.first; }
template<class T> void chmax(T& a, T b) { if (a < b) { a = b; } }
template<class T> void chmin(T& a, T b) { if (a > b) { a = b; } }

int main(void) {
    llint a;
    double b;
    cin >> a >> b;
    b *= 100.0+0.5;

    llint bllint;
    bllint = b;

    c = a * bllint;
    c /= 100;

    cout << c << endl;
    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:27:5: error: 'c' was not declared in this scope
   27 |     c = a * bllint;
      |     ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: expected ';' before '}' token
    9 |   cout<<floor(c)
      |                 ^
      |                 ;
   10 | }
      | ~
Language: C++

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

typedef long lint;
typedef long long llint;
typedef pair<int, int> pint;
typedef pair<long long, long long> pllint;

// static const int MAX = 1e6;
// static const int NIL = -1;
// static const llint INF = 1<<21;
// static const llint MOD = 1e9 + 7;

bool compPair(const pint& arg1, const pint& arg2) { return arg1.first > arg2.first; }
template<class T> void chmax(T& a, T b) { if (a < b) { a = b; } }
template<class T> void chmin(T& a, T b) { if (a > b) { a = b; } }

int main(void) {
    llint a;
    double b;
    cin >> a >> b;
    b *= 100.0;

    llint bllint;
    bllint = b;

    c = a * bllint;
    c /= 100;

    cout << c << endl;
    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:27:5: error: 'c' was not declared in this scope
   27 |     c = a * bllint;
      |     ^
Language: C++

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


int main(){

  long long A;
  string _B;
  long long B;
    
  cin >> A >> _B;
  B = (B.at(0) - '0') * 100 + (B.at(2) - '0') * 10 + (B.at(3) - '0');
  
  
  cout << A * B / 100 << endl;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:10: error: request for member 'at' in 'B', which is of non-class type 'long long int'
   12 |   B = (B.at(0) - '0') * 100 + (B.at(2) - '0') * 10 + (B.at(3) - '0');
      |          ^~
a.cc:12:34: error: request for member 'at' in 'B', which is of non-class type 'long long int'
   12 |   B = (B.at(0) - '0') * 100 + (B.at(2) - '0') * 10 + (B.at(3) - '0');
      |                                  ^~
a.cc:12:57: error: request for member 'at' in 'B', which is of non-class type 'long long int'
   12 |   B = (B.at(0) - '0') * 100 + (B.at(2) - '0') * 10 + (B.at(3) - '0');
      |                                                         ^~
Language: C++

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

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

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


int main(){

  long double B;
  long long A;
    
  cin >> A >> B;
  
  B  = 100 * _B;
  
  cout << (long long) A * B << endl;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:14: error: '_B' was not declared in this scope; did you mean 'B'?
   12 |   B  = 100 * _B;
      |              ^~
      |              B
Language: C++

#include <iostream>
using namespace std;
using ll = long long;
using ld = long double;

int main(){
  ll a;
  lb b;
  cin >> a >> b;
  printf("%lld",a*b);
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'lb' was not declared in this scope; did you mean 'll'?
    8 |   lb b;
      |   ^~
      |   ll
a.cc:9:15: error: 'b' was not declared in this scope
    9 |   cin >> a >> b;
      |               ^
Language: Java

import java.math.BigDecimal;

import java.util.Scanner;

public class Main2 {

    public static void main(String args []) {

        Scanner sc = new Scanner(System.in);

        long a = sc.nextLong();

        BigDecimal a2 = BigDecimal.valueOf(a);

        double b = sc.nextDouble();

        BigDecimal b2 = BigDecimal.valueOf(b);

        System.out.println(a2.multiply(b2).intValue());


    }
}


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

#include<cmath>
#include<iomanip>
using namespace std;
int main()
{
/*  
    long long a,c;
    double b;
    cin>>a>>b;
    c=b*100;
    cout<<fixed<<setprecision(0)<<floor(a*c/100)<<endl;
*/
    long long a;
    string s;
    cin>>a>>s;
    s.erase(1,1);
    long long b=stoll(s);
    cout<<a*b/100;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:5: error: 'cin' was not declared in this scope
   15 |     cin>>a>>s;
      |     ^~~
a.cc:3:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    2 | #include<iomanip>
  +++ |+#include <iostream>
    3 | using namespace std;
a.cc:18:5: error: 'cout' was not declared in this scope
   18 |     cout<<a*b/100;
      |     ^~~~
a.cc:18:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: expected ';' before 'long'
    8 |   b += 0.001L
      |              ^
      |              ;
    9 |   long double res = a * b;
      |   ~~~~        
a.cc:10:16: error: 'res' was not declared in this scope
   10 |   ll ans = (ll)res;
      |                ^~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define fi(a) scanf("%d",&a);
#define fli(a) scanf("%ld",&a);
#define fll(a) scanf("%lld",&a);
#define pi(a) printf("%d\n",a);
#define ppi(i,a) printf("Case %d: %d\n",i,a);
#define ll long long
//#define fast ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);

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


Compiler output:
a.cc: In function 'int main()':
a.cc:13:5: error: 'fast' was not declared in this scope
   13 |     fast
      |     ^~~~
a.cc:17:5: error: 'x' was not declared in this scope
   17 |     x = b*10000;
      |     ^
a.cc:18:5: error: 'n' was not declared in this scope
   18 |     n = (a*x)/10000;
      |     ^
Language: C++

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

int main() {
  long long a;
  double b;
  cin >> a >> b;
  int bigb;

  bigb = 100*b;
  cout << a*newb/100;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:13: error: 'newb' was not declared in this scope
   11 |   cout << a*newb/100;
      |             ^~~~
Language: C++

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

int main(){
	ios_base::sync_with_stdio(0);
	cin.tie(0);
	cout.tie(0);

	#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
	#endif

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

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

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



int main(void)
{
  int b;
  b=30;
    printf(age);
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: 'age' was not declared in this scope
   10 |     printf(age);
      |            ^~~
Language: C++

int main(void)
{
  int b;
  b=30;
    printf(age);
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:12: error: 'age' was not declared in this scope
    5 |     printf(age);
      |            ^~~
a.cc:5:5: error: 'printf' was not declared in this scope
    5 |     printf(age);
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
Language: C++

#include<bits/stdc++.h>
#define ll long long
using namespace std;
int main()
{
  ll a,b,c;
  scanf("%lld %lld.%lld",&a,&b,&c);
  b*=100;
  b+=c;
  pf("%lld\n",(a*b)/100);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: 'pf' was not declared in this scope
   10 |   pf("%lld\n",(a*b)/100);
      |   ^~
Language: C++

#include<bits/stdc++.h>
#define ll long long
using namespace std;
int main()
{
  ll a,b,c;
  scanf("%lld %lld.%lld",a,b,c);
  b*=100;
  b+=c;
  pf("%lld\n",(a*b)/100);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: 'pf' was not declared in this scope
   10 |   pf("%lld\n",(a*b)/100);
      |   ^~
Language: C++

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

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

#include<stdio.h>

int main(){
    
    float b;
    long long a,x;
    
    scanf("%lld %f",&a,&b);
    
    x=a*long long(b*100);
    x=x/100;
    printf("%lld",x);
    
    return 0;
    
}

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

#pragma GCC target("avx")
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
#include<bits/stdc++.h>
using namespace std;
#define rep(i, n) for (long long i = 0; i < (long long)(n); i++)
using ll = long long;
using P = pair<ll,ll>;

int main(){
    ios::sync_with_stdio(false);
    std::cin.tie(nullptr);
    long double a,b;
    cin >> a >> b;
    ll ans = a * (ll)(b * 100 + 1e - 8);
    cout << ans << endl;
}


Compiler output:
a.cc:15:33: error: exponent has no digits
   15 |     ll ans = a * (ll)(b * 100 + 1e - 8);
      |                                 ^~
Language: C++

#pragma GCC target("avx")
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
#include<bits/stdc++.h>
using namespace std;
#define rep(i, n) for (long long i = 0; i < (long long)(n); i++)
using ll = long long;
using P = pair<ll,ll>;

int main(){
    ios::sync_with_stdio(false);
    std::cin.tie(nullptr);
    long double a,b;
    cin >> a >> b;
    ll ans = a * (b * 100 + 1e - 8);
    cout << ans << endl;
}


Compiler output:
a.cc:15:29: error: exponent has no digits
   15 |     ll ans = a * (b * 100 + 1e - 8);
      |                             ^~
Language: C++

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

int main() {

	long long A,ans;
	double  B;
	std::cin >> A >> B;
	ans = std::floor((A * (long long)(B * 100)) / 100);
	std::cout << ans << std::endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:20: error: 'floor' is not a member of 'std'
   10 |         ans = std::floor((A * (long long)(B * 100)) / 100);
      |                    ^~~~~
Language: C++

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

int main() {

	long long A,ans;
	double  B;
	std::cin >> A >> B;
	ans = floor((A * (long long)(B * 100)) / 100);
	std::cout << ans << std::endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:15: error: 'floor' was not declared in this scope
   10 |         ans = floor((A * (long long)(B * 100)) / 100);
      |               ^~~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:15: error: expected ';' before 'double'
    5 |         int b1
      |               ^
      |               ;
    6 |         double b;
      |         ~~~~~~ 
main.c:9:9: error: 'b1' undeclared (first use in this function); did you mean 'b'?
    9 |         b1=(int)b*100+0.5;
      |         ^~
      |         b
main.c:9:9: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:15: error: expected ';' before 'double'
    5 |         int b1
      |               ^
      |               ;
    6 |         double b;
      |         ~~~~~~ 
main.c:9:9: error: 'b1' undeclared (first use in this function); did you mean 'b'?
    9 |         b1=b*100+0.5;
      |         ^~
      |         b
main.c:9:9: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

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

int main(){
	long long a;
  	string b; cin >> a >> b;
  	long long B100 = (b[0] - '0')*100 +(b[2] - '0')*10 + b[3]-'0'
  	 
  	
  	cout << a*B100/100 << endl;
  	
}


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

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

int main(){
	long double a;
  	long double b; cin >> a >> b;
  	
  	 long long ans= (a*B + 0.00001);
  	
  	cout << ans << endl;
  	
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:28: error: 'B' was not declared in this scope
    8 |          long long ans= (a*B + 0.00001);
      |                            ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:27: error: 'B' was not declared in this scope
    8 |          long long ans= a*B;
      |                           ^
Language: Java

import java.math.*;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long A = sc.nextLong();
        double B = sc.nextDouble();


        BigDecimal a = new BigDecimal(A);
        BigDecimal b = new BigDecimal(b);

        System.out.println(a.multiply(b).toBigInteger());
    }
}

Compiler output:
Main.java:13: error: no suitable constructor found for BigDecimal(BigDecimal)
        BigDecimal b = new BigDecimal(b);
                       ^
    constructor BigDecimal.BigDecimal(char[]) is not applicable
      (argument mismatch; BigDecimal cannot be converted to char[])
    constructor BigDecimal.BigDecimal(String) is not applicable
      (argument mismatch; BigDecimal cannot be converted to String)
    constructor BigDecimal.BigDecimal(double) is not applicable
      (argument mismatch; BigDecimal cannot be converted to double)
    constructor BigDecimal.BigDecimal(BigInteger) is not applicable
      (argument mismatch; BigDecimal cannot be converted to BigInteger)
    constructor BigDecimal.BigDecimal(int) is not applicable
      (argument mismatch; BigDecimal cannot be converted to int)
    constructor BigDecimal.BigDecimal(long) is not applicable
      (argument mismatch; BigDecimal cannot be converted to long)
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
Language: C++

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

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


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: expected primary-expression before 'long'
    7 |         cout<<long long(x*c/100)<<endl;
      |               ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: expected primary-expression before 'long'
    6 |         cout<<long long(x*y)<<endl;
      |               ^~~~
Language: Java

import java.util.*;
 class Main
{
  public static void main(String args[])
  {
    Scanner ob=new Scanner(System.in);
    long a =ob.nextDouble();
    long b=(long)(ob.nextDouble()*100);
   
    System.out.println(a*b/100);
  }
}

Compiler output:
Main.java:7: error: incompatible types: possible lossy conversion from double to long
    long a =ob.nextDouble();
                         ^
1 error
Language: Java

import java.util.*;
class Solution
{
  public static void main(String args[])
  {
    Scanner ob=new Scanner(System.in);
    long a =ob.nextDouble();
    long b=(long)(ob.nextDouble()*100);
   
    System.out.println(a*b/100);
  }
}

Compiler output:
Main.java:7: error: incompatible types: possible lossy conversion from double to long
    long a =ob.nextDouble();
                         ^
1 error
Language: Java

import java.util.*;
public class Solution
{
  public static void main(String args[])
  {
    Scanner ob=new Scanner(System.in);
    long a =ob.nextDouble();
    long b=(long)(ob.nextDouble()*100);
   
    System.out.println(a*b/100);
  }
}

Compiler output:
Main.java:2: error: class Solution is public, should be declared in a file named Solution.java
public class Solution
       ^
Main.java:7: error: incompatible types: possible lossy conversion from double to long
    long a =ob.nextDouble();
                         ^
2 errors
Language: Java

import java.util.*;
public class Solution
{
  public static void main(String args[])
  {
    Scanner ob=new Scanner(System.in);
    double a =ob.nextDouble();
    double b=ob.nextDouble();
    double c=a*b;
    System.out.println((long)c);
  }
}

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'll' was not declared in this scope
    5 |     ll ans = a * b;
      |     ^~
a.cc:6:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
    6 |     cout << ans;
      |             ^~~
      |             abs
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:19: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    3 | long double a, b; 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:4:5: error: 'll' was not declared in this scope
    4 |     ll ans = a * b;
      |     ^~
a.cc:5:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |     cout << ans;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:5:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
    5 |     cout << ans;
      |             ^~~
      |             abs
Language: C++

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

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

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

ll gcd(ll x, ll y) { return (x % y)? gcd(y, x % y): y; }


int main(){
    ll A;
    ld B;

    cin >> A >> B;
    

    cout <<  ll((A * B) << endl;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:25: error: invalid operands of types 'ld' {aka 'long double'} and '<unresolved overloaded function type>' to binary 'operator<<'
   16 |     cout <<  ll((A * B) << endl;
      |                 ~~~~~~~~^~~~~~~
Language: C

#include <bits/stdc++.h>
#include <queue>
#include <string.h> 
#include <stdint.h>
 
#define fast                          \
    ios_base::sync_with_stdio(false); \
    cin.tie(0);                       \
    cout.tie(0);
 
#define ll long long
#define ld long double
#define ull unsigned long long
#define ut uint64_t
 
#define pb push_back
#define ins insert
#define er erase
 
#define fi(i, b) for (int i=0;i<b;i++)
#define fll(i, b) for (ll i=0;i<b;i++)
#define fla(i,a,b) for (ll i=a;i<b;i++)
 
#define vi vector<int>
#define vll vector<ll>
#define vc vector<char>
#define vb vector<bool>
#define vst vector<string>
#define vpii vector<pii>
#define vpll vector<pll>
#define vv(n,m) vector<vector<ll> > vec( n , vector<ll> (m, 0))
 
 
#define all(v) v.begin(), v.end()
#define lb lower_bound
#define ub upper_bound
#define mxe max_element
#define mne min_element
 
#define srt(v) sort(all(v))
#define rsrt(v) sort(v.rbegin(), v.rend())
 
#define pii pair<int, int>
#define pll pair<ll, ll>
#define ff first
#define ss second
 
#define mii map<int, int>
#define mll map<ll, ll>
#define umii unordered_map<int, int>
#define umll unordered_map<ll, ll>
 
#define si set<int>
#define sll set<ll>
#define usi unordered_set<int>
#define usll unordered_set<ll>
#define spii set<pii>
#define spll set<pll>
 
#define pqi priority_queue<int>
#define pqll priority_queue<ll>
 
 #define gcd(a, b) __gcd(a, b)
#define lcm(a, b) ((a)*1ll * (b)) / gcd(a, b)
 
#define nl "\n"
using namespace std;
 
 
ll md = 1000000007;
ll ma = 998244353;
 
ll pw(ll a, ll b)
{
    ll c = 1, m = a;
    while (b){
        if (b & 1)c = (c * m);
        m = (m * m);
        b /= 2;
    }
    return c;
}
 
ll pwmd(ll a, ll b){
    ll c = 1, m = a;
    while (b){
        if (b & 1)
            c = ((c * m)) % md;
        m = (m * m) % md;
        b /= 2;
    }
    return c;
}
 
ll modinv(ll n)
{
    return pwmd(n, md - 2);
}
ll min(ll a,ll b){
    if(a>=b)return b;
    return a;
}
int binomialCoeff(ll n, ll k)  
{  
    ll res = 1;  
    if ( k > n - k )  
        k = n - k;  
    for (ll i = 0; i < k; ++i)  
    {  
        res *= (n - i);  
        res /= (i + 1);  
    }  
  
    return res;  
}  

 
// Here we go...

void solve(){
      ll a;
      float b;
      cin>>a>>b;
      ll d=a*b;
      cout<<d;
}


int main(){
    
    fast;
    ll t=1;
    //cin>>t;
    
    while(t--){
        solve();
    }
    return 0;
    }
    
// KHATAM HO GAYA:)...







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++

import math

arr = input().strip().split(' ')
  
A = int(arr[0])
B = float(arr[1])
  
print (math.floor(A * B))

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import math
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

#include <iostream>
#include <cmath>
using namespace std;
 
int main(){
    long long A;
    long double B;
  	cin >> A >> B;
	cout << fixed << std::setprecision(0) << floor(A * B) << endl;
  	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:31: error: 'setprecision' is not a member of 'std'
    9 |         cout << fixed << std::setprecision(0) << floor(A * B) << endl;
      |                               ^~~~~~~~~~~~
a.cc:3:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    2 | #include <cmath>
  +++ |+#include <iomanip>
    3 | using namespace std;
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:31: error: 'setprecision' is not a member of 'std'
    8 |         cout << fixed << std::setprecision(0) << floor(A * B) << endl;
      |                               ^~~~~~~~~~~~
a.cc:2:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    1 | #include <iostream>
  +++ |+#include <iomanip>
    2 | using namespace std;
a.cc:8:50: error: 'floor' was not declared in this scope
    8 |         cout << fixed << std::setprecision(0) << floor(A * B) << endl;
      |                                                  ^~~~~
Language: C++

#include <iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: 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:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |         cout << fixed << std::setprecision(0) << floor(A * B) << 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:7:17: error: 'fixed' was not declared in this scope; did you mean 'std::fixed'?
    7 |         cout << fixed << std::setprecision(0) << floor(A * B) << endl;
      |                 ^~~~~
      |                 std::fixed
In file included from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/bits/ios_base.h:1104:3: note: 'std::fixed' declared here
 1104 |   fixed(ios_base& __base)
      |   ^~~~~
a.cc:7:31: error: 'setprecision' is not a member of 'std'
    7 |         cout << fixed << std::setprecision(0) << floor(A * B) << endl;
      |                               ^~~~~~~~~~~~
a.cc:2:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    1 | #include <iostream>
  +++ |+#include <iomanip>
    2 | 
a.cc:7:50: error: 'floor' was not declared in this scope
    7 |         cout << fixed << std::setprecision(0) << floor(A * B) << endl;
      |                                                  ^~~~~
a.cc:7:66: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |         cout << fixed << std::setprecision(0) << floor(A * B) << endl;
      |                                                                  ^~~~
      |                                                                  std::endl
/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>
#include <boost/algorithm/string/replace.hpp>
using namespace std;

#pragma GCC target("avx")
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")

#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define REP(i, n) for (int i = 1; i <= (int)(n); i++)
#define repi(i, s, n) for (int i = (s); i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
#define uniqueV(x)                                                             \
  sort(x.begin(), x.end());                                                    \
  x.erase(unique(x.begin(), x.end()), x.end());
#define debug(x) cerr << #x << ": " << x << '\n'
#define debug2(x, y)                                                           \
  cerr << "(" << #x << ", " << #y << ") = "                                    \
       << "(" << x << ", " << y << ")" << '\n'

typedef long long int ll;
typedef pair<int, int> P;

const long long INF = 3e18 + 12;
const int inf = 1e9;

// ----------------------------------------------

int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);

  ll a;
  string b;
  cin >> a >> b;

  boost::algorithm::replace_all(b, ".", "");

  int c = istringstream(b);

  ll ans = ll(a * c)/100;
  cout << ans << endl;

  return 0;
}

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

#include <bits/stdc++.h>
#include <boost/algorithm/string/replace.hpp>
using namespace std;

#pragma GCC target("avx")
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")

#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define REP(i, n) for (int i = 1; i <= (int)(n); i++)
#define repi(i, s, n) for (int i = (s); i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
#define uniqueV(x)                                                             \
  sort(x.begin(), x.end());                                                    \
  x.erase(unique(x.begin(), x.end()), x.end());
#define debug(x) cerr << #x << ": " << x << '\n'
#define debug2(x, y)                                                           \
  cerr << "(" << #x << ", " << #y << ") = "                                    \
       << "(" << x << ", " << y << ")" << '\n'

typedef long long int ll;
typedef pair<int, int> P;

const long long INF = 3e18 + 12;
const int inf = 1e9;

// ----------------------------------------------

int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);

  ll a;
  string b;
  cin >> a >> b;

  boost::algorithm::replace_all(b, ".", "");

  ll c = istringstream(b);

  ll ans = ll(a * c)/100;
  cout << ans << endl;

  return 0;
}

Compiler output:
a.cc:2:10: fatal error: boost/algorithm/string/replace.hpp: No such file or directory
    2 | #include <boost/algorithm/string/replace.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
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<ll,ll>;
const int mod = 1e9 + 7;
//const int mod = 998244353;
const ll infll = (1LL << 62) - 1;
const int inf = (1 << 30) - 1;
void YesNo(bool j){cout << (j ? "Yes" : "No") << endl; return;}
void yesno(bool j){cout << (j ? "yes" : "no") << endl; return;}
template<class Head> void pt(Head&& head){cout << head << endl; return;}



int main() {
    ll a;
    double b;
    cin >> a >> b;
    b*=100;
    ll ans=(a*b+0.5)/100
    pt(a);
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:22:5: error: expected ',' or ';' before 'pt'
   22 |     pt(a);
      |     ^~
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<ll,ll>;
const int mod = 1e9 + 7;
//const int mod = 998244353;
const ll infll = (1LL << 62) - 1;
const int inf = (1 << 30) - 1;
void YesNo(bool j){cout << (j ? "Yes" : "No") << endl; return;}
void yesno(bool j){cout << (j ? "yes" : "no") << endl; return;}
template<class Head> void pt(Head&& head){cout << head << endl; return;}



int main() {
    ll a;
    double b;
    cin >> a >> b;
    b*=100;
    ll ans=a*b/100+0.5
    pt(a);
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:22:5: error: expected ',' or ';' before 'pt'
   22 |     pt(a);
      |     ^~
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 << (long long double)a << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:19: error: 'long long' specified with 'double'
   12 |     cout << (long long double)a << endl;
      |                   ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int64_t A;
  cin >> A;
  string B;
  cin >> B;
  string num = "";
  for(int i=0; i<B.size(); i++){
    if(B[i] != '.'){
      num.push_backz(B[i]);
    }
  }
  int64_t N = stoll(num);
  int64_t ans = ((A*N)+0.5)/100;
  cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:11: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'push_backz'; did you mean 'push_back'?
   11 |       num.push_backz(B[i]);
      |           ^~~~~~~~~~
      |           push_back
Language: C++

# include <iostream>
 
int main(){
  unsigned long long A;
  unsigned float B;
  std::cin>>A>>B;
  int C=B*100;
  unsigned long long ans=A*C/100;
  std::cout<<ans<<std::endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'unsigned' specified with 'float'
    5 |   unsigned float B;
      |   ^~~~~~~~
Language: C++

#include<iostream>

using namespace std;

int main()
{
  long long a;
  cin >> a;
  long double x;
  cin >> x;
  long long y = round(x * 100);
  cout << a * y / 100 << endl;
}

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

#include<iostream>
using namespace std;

int main()
{
	long long first;
  	float second;
    cin >> first
    cin >> second;
    cout << (first * (second * 100)) / 100 << endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: expected ';' before 'cin'
    8 |     cin >> first
      |                 ^
      |                 ;
    9 |     cin >> second;
      |     ~~~
Language: C++

#include<iostream>

int main()
{
	long long first;
  	float second;
    cin >> first
    cin >> second;
    return (first * (second * 100)) / 100;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |     cin >> first
      |     ^~~
      |     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
      |                  ^~~
Language: C++

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

int main() {
  long long A;
  long double B;
  cin >> A >> B;
  B*=100;
  long long c=B
  long double e = A*c;
  long long f = e;  // ここでdouble型からint型への変換が起こる(小数点以下が切り捨てられて3になる)
  f/=100.0;
  cout << f << endl;
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: expected ',' or ';' before 'long'
   10 |   long double e = A*c;
      |   ^~~~
a.cc:11:17: error: 'e' was not declared in this scope
   11 |   long long f = e;  // ここでdouble型からint型への変換が起こる(小数点以下が切り捨てられて3になる)
      |                 ^
Language: C++

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

int main() {
  long long A;
  long double B;
  cin >> A >> B;
  B*=100;
  long long c=B
  long double e = A*c;
  long long f = e;  // ここでdouble型からint型への変換が起こる(小数点以下が切り捨てられて3になる)
  cout << f << endl;
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: expected ',' or ';' before 'long'
   10 |   long double e = A*c;
      |   ^~~~
a.cc:11:17: error: 'e' was not declared in this scope
   11 |   long long f = e;  // ここでdouble型からint型への変換が起こる(小数点以下が切り捨てられて3になる)
      |                 ^
Language: C

#include <stdio.h>

int main()
{int a;float b,c;
scanf("%d",&a);
scanf("%D",&b);
c=((float)a*b*100)/100
printf("%d",(int)c);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:23: error: expected ';' before 'printf'
    7 | c=((float)a*b*100)/100
      |                       ^
      |                       ;
    8 | printf("%d",(int)c);
      | ~~~~~~
Language: C++

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

int main() {
  ld a,b;
  cin>>a>>b;
  int c=a*b;
  cout<<c;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'ld' was not declared in this scope
    6 |   ld a,b;
      |   ^~
a.cc:7:8: error: 'a' was not declared in this scope
    7 |   cin>>a>>b;
      |        ^
a.cc:7:11: error: 'b' was not declared in this scope
    7 |   cin>>a>>b;
      |           ^
Language: C++

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

int main() {
  ld a,b;
  cin>>a>>b;
  cout<<int(a/100*b*100);
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'ld' was not declared in this scope
    6 |   ld a,b;
      |   ^~
a.cc:7:8: error: 'a' was not declared in this scope
    7 |   cin>>a>>b;
      |        ^
a.cc:7:11: error: 'b' was not declared in this scope
    7 |   cin>>a>>b;
      |           ^
Language: C++

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

#define vi vector<int>
#define vl vector<long long>
#define vvi vector< vector<int> >
#define vvl vector< vector<ll> >
#define vp vector<P>
#define REP(i, n) for (int i = 0; i < (int)(n); i++)
#define REPD(i, n) for (int i = (int)(n-1); i >= 0; i--)
#define FOR(i, a, b) for (int i = (int)(a); i < (int)(b); i++)
#define FORD(i, a, b) for (int i = (int)(a); i >= (int)(b); i--)
#define INF 1e18
#define INFTY 1e9
const int mod = 1e9+7;
#define SIZE_OF_ARRAY(array) (sizeof(array)/sizeof(array[0]))

template<class T> bool chmax(T &a, const T & b) {
    if (a<b) {
        a = b;
        return true;
    }
    return false;
}

template<class T> bool chmin(T &a, const T & b) {
    if (a>b) {
        a = b;
        return true;
    }
    return false;
}

//cout << fixed << setprecision(10) << y << endl;
struct edge {int to, cost;};
vector< vector<edge> > es;
const int MAX_N = 10010;

int main() {
    ll A;
    string s;
    ll B;
    cin >> A;
    cin >> s;
    B += (s[0]-'0')*100;
    B += (s[2]-'0')*10;
    B += (s[3]-'0');
    cout << A*B/100 << endl;
    return 0;


Compiler output:
a.cc: In function 'int main()':
a.cc:51:14: error: expected '}' at end of input
   51 |     return 0;
      |              ^
a.cc:41:12: note: to match this '{'
   41 | int main() {
      |            ^