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

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

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

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


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

#include <iostream>
#include <vector>
#include <cmath>
using namespace std;
#include <boost/multiprecision/cpp_dec_float.hpp>
namespace mp = boost::multiprecision;
int main(void){
    mp::cpp_dec_float_100 a;
    mp::cpp_dec_float_100 b;
    cin >> a >> b;
    b *= 100;
    a *= b;
    a /= 100;
    long long c = floor(a);
    
    cout << c;
    return 0;
}


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

#include <iostream>
#include <vector>
#include <cmath>
using namespace std;
int main(void){
    int a;
    double b;
    b *= 100;
    int c = round(b)
    cout << ceil(a*c);
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: expected ',' or ';' before 'cout'
   10 |     cout << ceil(a*c);
      |     ^~~~
Language: C++

#include <iostream>
using namespace std;

int main(){

long long a;
  float b;
  cin>>a>>b;
 long float c;
  c=a*b;
  long int d=c;
  cout<<d<<endl;
  
  return 0;


}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:2: error: 'long' specified with 'float'
    9 |  long float c;
      |  ^~~~
Language: C++

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


int main(){
            ios::sync_with_stdio(0);
            cin.tie(0);
            long long A; 
            long double B;
            cin >> A >> B;
         	long long ans = A * B;
            cout << ans
         
        }

Compiler output:
a.cc: In function 'int main()':
a.cc:12:24: error: expected ';' before '}' token
   12 |             cout << ans
      |                        ^
      |                        ;
   13 | 
   14 |         }
      |         ~
Language: C++

    int main(){
        ios::sync_with_stdio(0);
        cin.tie(0);
        long long A; 
        long double B;
        cin >> A >> B;
     	long long ans = A * B;
        cout << ans
     
    }

Compiler output:
a.cc: In function 'int main()':
a.cc:2:9: error: 'ios' has not been declared
    2 |         ios::sync_with_stdio(0);
      |         ^~~
a.cc:3:9: error: 'cin' was not declared in this scope
    3 |         cin.tie(0);
      |         ^~~
a.cc:8:9: error: 'cout' was not declared in this scope
    8 |         cout << ans
      |         ^~~~
Language: C++

// ░█████╗░░░░░░░░░░░░░░░
// ██╔══██╗░░██╗░░░░██╗░░
// ██║░░╚═╝██████╗██████╗
// ██║░░██╗╚═██╔═╝╚═██╔═╝
// ╚█████╔╝░░╚═╝░░░░╚═╝░░
// ░╚════╝░░░░░░░░░░░░░░░

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

#define  loop(i,m,n)      for(int i=m;i<n;i++)
#define  rloop(i,m,n)     for(int i=m;i>=n;i--)
#define  start()          int main()                           
#define  test(t)          while(t--)
#define  mod              1000000007
#define  push(x)          push_back(x)
#define  pop()            pop_back()

typedef vector<int> vi;
typedef pair<int,int> pi;
typedef long long ll;

start(){
    int a,b;
  	cin>>a>>b;
  	res=(a*(b*100))/100;
  	cout<<res;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:26:9: error: 'res' was not declared in this scope
   26 |         res=(a*(b*100))/100;
      |         ^~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'll' was not declared in this scope
    5 |   ll a;
      |   ^~
a.cc:7:10: error: 'a' was not declared in this scope
    7 |   cin >> a >> b;
      |          ^
a.cc:10:5: error: expected ';' before 'ans'
   10 |   ll ans = (a*b100)/100;
      |     ^~~~
      |     ;
a.cc:11:11: error: 'ans' was not declared in this scope; did you mean 'abs'?
   11 |   cout << ans << endl;
      |           ^~~
      |           abs
Language: C++

#include<bits/stdc++.h>
#include<boost/multiprecision/cpp_int.hpp>
using  boost::multiprecision::cpp_int;
using namespace std;
int main()
{
  int n,ans;
  float m;
  cin>>n>>m;
  ans=(int)(n*m);
  cout<<ans!
  
}


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

#include<iostream>

using namespace std;

int main(){
long long a;
double b;
cin >> a >> b;
res = a*b;
  
printf("%d\n", res);
return 0;

}

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


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

int main() {
	ios::sync_with_stdio(0);
	cin.tie(0);
	ll a;
   	double b;
	cin >> a >> b;
	double intpart, dec;
	dec = modf(b, &intpart);

	int c = b * 100 + dec;
	ll prod = (a * c) / 100; 
	cout << prod << endl;

	return 0;
				
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'll' was not declared in this scope
    8 |         ll a;
      |         ^~
a.cc:10:16: error: 'a' was not declared in this scope
   10 |         cin >> a >> b;
      |                ^
a.cc:15:11: error: expected ';' before 'prod'
   15 |         ll prod = (a * c) / 100;
      |           ^~~~~
      |           ;
a.cc:16:17: error: 'prod' was not declared in this scope
   16 |         cout << prod << endl;
      |                 ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  //acceleration
  ios::sync_with_stdio(0);
  cin.tie(0);
  
  //initialization
  long long a, c;
  double b;
  cin >> a >> b;
  
  c = b * 100; 
  a = a*c/100
  cout << a << "\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:14: error: expected ';' before 'cout'
   15 |   a = a*c/100
      |              ^
      |              ;
   16 |   cout << a << "\n";
      |   ~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  //acceleration
  ios::sync_with_stdio(0);
  cin.tie(0);
  
  //initialization
  long long a;
  double b;
  
  cin >> a;
  cin >> b;
 
  
  cout << (int)a*b << "\n";
}
提出情報


Compiler output:
a.cc:19:1: error: '\U000063d0\U000051fa\U000060c5\U00005831' does not name a type
   19 | 提出情報
      | ^~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  //acceleration
  ios::sync_with_stdio(0);
  cin.tie(0);
  
  //initialization
  long double a;
  long double b;
  
  cin >> a;
  cin >> b;
 
  
  cout << (long int)a*b << "\n";
}
#include <bits/stdc++.h>
using namespace std;
 
int main(){
  //acceleration
  ios::sync_with_stdio(0);
  cin.tie(0);
  
  //initialization
  long long a;
  double b;
  
  cin >> a >> b;
  cout << (int)a*b << "\n";
}
提出情報


Compiler output:
a.cc:22:5: error: redefinition of 'int main()'
   22 | int main(){
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main(){
      |     ^~~~
a.cc:34:1: error: '\U000063d0\U000051fa\U000060c5\U00005831' does not name a type
   34 | 提出情報
      | ^~~~~~~~
Language: C++

#include<iostream>

using namespace std;

int main() {

    long long a;
    double b;
    scanf_s("%lld %lf", &a, &b);

    long long  b2, ans;
    b2 = (long long)(b*100);
    ans = a * b2 / 100;

    printf("%lld\n", (long long)ans);

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    9 |     scanf_s("%lld %lf", &a, &b);
      |     ^~~~~~~
      |     scanf
Language: Java

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

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

#include<stdio.h>

signed main(){

double a,b;

double answer;

scanf("%d %d",&a,&b);
answer=a*b;
printf("%d\n",int(answer));


return(0);


}


Compiler output:
main.c: In function 'main':
main.c:11:15: error: expected expression before 'int'
   11 | printf("%d\n",int(answer));
      |               ^~~
Language: C++

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

#define ff              first1
#define ss              second
#define int             long long
#define pb              push_back
#define mp              make_pair
#define pii             pair<int,int>
#define vi              vector<int>
#define set             set<int>
#define mii             map<int,int>
#define pqb             priority_queue<int>
#define pqs             priority_queue<int,vi,greater<int> >
#define mod             1000000007
#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--)

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


Compiler output:
a.cc: In function 'int32_t main()':
a.cc:23:5: error: expected initializer before 'double'
   23 |     double b;cin>>a>>b;
      |     ^~~~~~
a.cc:23:19: error: 'a' was not declared in this scope
   23 |     double b;cin>>a>>b;
      |                   ^
a.cc:23:22: error: 'b' was not declared in this scope
   23 |     double b;cin>>a>>b;
      |                      ^
Language: C


#include <stdio.h>
using namespace std;
int main()
{
// #ifndef ONLINE_JUDGE
//     freopen("input.txt", "r", stdin);
//     freopen("output.txt", "w", stdout);
// #endif
    int a;
    double b;
    scanf("%i %lf", &a, &b);
    double c = a * b;
    int d = c;
    printf("%i", d);
}




Compiler output:
main.c:3:1: error: unknown type name 'using'
    3 | using namespace std;
      | ^~~~~
main.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    3 | using namespace std;
      |                 ^~~
Language: C

#include <iostream>
#include <stdio.h>
using namespace std;
int main()
{
// #ifndef ONLINE_JUDGE
//     freopen("input.txt", "r", stdin);
//     freopen("output.txt", "w", stdout);
// #endif
    int a;
    double b;
    scanf("%i %lf", &a, &b);
    double c = a * b;
    int d = c;
    printf("%i", d);
}




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

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

#define ll long long
#define ld long double

int main(){

        ll a ;
     lb b ;
     cin>>a>>b;
     ll  v = a*b;
     cout<< v<<endl;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:6: error: 'lb' was not declared in this scope; did you mean 'ld'?
   10 |      lb b ;
      |      ^~
      |      ld
a.cc:11:14: error: 'b' was not declared in this scope
   11 |      cin>>a>>b;
      |              ^
Language: C++

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

int main(){

        __int64 a ;
     double b ;
     cin>>a>>b;
     __int64  v = a*b;
     cout<< v<<endl;




}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: '__int64' was not declared in this scope; did you mean '__ynf64'?
    6 |         __int64 a ;
      |         ^~~~~~~
      |         __ynf64
a.cc:8:11: error: 'a' was not declared in this scope
    8 |      cin>>a>>b;
      |           ^
a.cc:9:13: error: expected ';' before 'v'
    9 |      __int64  v = a*b;
      |             ^ ~
      |             ;
a.cc:10:13: error: 'v' was not declared in this scope
   10 |      cout<< v<<endl;
      |             ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define uld unsigned long long
#define int long long
#define FAST ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
const int p= 1e18;
signed main(){
   FAST;

    double a; double b; cin>>a>>b; a*=b; string s=a; for(char x: s) if(x=='.') return 0; else cout<<x; 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:51: error: conversion from 'double' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
   10 |     double a; double b; cin>>a>>b; a*=b; string s=a; for(char x: s) if(x=='.') return 0; else cout<<x;
      |                                                   ^
Language: C++

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



int main() {
  ll a, ans;
  double b;
  cin >> a >> b;
  int c = b*1000;
  ans = (a*c)/1000;
  cout << ans << endl;
  return 0;

Compiler output:
a.cc: In function 'int main()':
a.cc:15:12: error: expected '}' at end of input
   15 |   return 0;
      |            ^
a.cc:8:12: note: to match this '{'
    8 | int main() {
      |            ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:25: error: expected ';' before 'S'
    8 |         B = round(B*100)
      |                         ^
      |                         ;
    9 |     S = A*B/100;
      |     ~
Language: C++

package main

import (
	"bufio"
	"fmt"
	"math"
	"math/big"
	"os"
	"strconv"
)

func main() {
	sc := newScanner()
	sc.Scan()
	a, _ := strconv.ParseFloat(sc.Text(), 64)
	sc.Scan()
	b, _ := strconv.ParseFloat(sc.Text(), 64)
	ans := multiply(a, b)
	fmt.Println(ans)
}

func newScanner() *bufio.Scanner {
	sc := bufio.NewScanner(os.Stdin)
	sc.Buffer([]byte{}, math.MaxInt64)
	sc.Split(bufio.ScanWords)
	return sc
}

func multiply(a, b float64) int64 {
	A, B := big.NewFloat(a), big.NewFloat(b)
	A.Mul(A, B)
	ans, _ := A.Int64()
	return ans
}


Compiler output:
a.cc:1:1: error: 'package' does not name a type
    1 | package main
      | ^~~~~~~
a.cc:22:1: error: 'func' does not name a type
   22 | func newScanner() *bufio.Scanner {
      | ^~~~
a.cc:29:1: error: 'func' does not name a type
   29 | func multiply(a, b float64) int64 {
      | ^~~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:10: error: expected primary-expression before 'double'
    8 |     ans=(double))a*(b*100))/100;
      |          ^~~~~~
a.cc:8:10: error: expected ')' before 'double'
    8 |     ans=(double))a*(b*100))/100;
      |         ~^~~~~~
      |          )
Language: C

#include <stdio.h>
#include <stdlib.h>

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


Compiler output:
main.c: In function 'main':
main.c:10:45: error: expected ')' before ';' token
   10 |         printf("%lld",((a*(int)(100*b))/100);
      |               ~                             ^
      |                                             )
main.c:11:18: error: expected ';' before '}' token
   11 |         return 0;
      |                  ^
      |                  ;
   12 | }
      | ~
Language: C

#include <stdio.h>
#include <stdlib.h>

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


Compiler output:
main.c: In function 'main':
main.c:10:45: error: expected ')' before ';' token
   10 |         printf("%lld",(a*((int)(100*b))/100);
      |               ~                             ^
      |                                             )
main.c:11:18: error: expected ';' before '}' token
   11 |         return 0;
      |                  ^
      |                  ;
   12 | }
      | ~
Language: C

#include <stdio.h>
#include <stdlib.h>

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


Compiler output:
main.c: In function 'main':
main.c:10:43: error: expected ')' before ';' token
   10 |         printf("%lld",(a*(int)(100*b)/100);
      |               ~                           ^
      |                                           )
main.c:11:18: error: expected ';' before '}' token
   11 |         return 0;
      |                  ^
      |                  ;
   12 | }
      | ~
Language: C

#include <stdio.h>
#include <stdlib.h>

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


Compiler output:
main.c: In function 'main':
main.c:10:43: error: expected ')' before ';' token
   10 |         printf("%lld",(int)(a*(100*b)/100);
      |               ~                           ^
      |                                           )
main.c:11:18: error: expected ';' before '}' token
   11 |         return 0;
      |                  ^
      |                  ;
   12 | }
      | ~
Language: C++

#include<ruby.h>
int main(){
    ruby_init();
    rb_eval_string("require 'bigdecimal'");
    rb_eval_string("require 'bigdecimal/util'");
    rb_eval_string("a,b = gets.split");
    rb_eval_string("a,b = a.to_d, b.to_d");
    rb_eval_string("puts (a * b).to_i")
}

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

#include<iostream>
 
int main(){ 
  
  long long a;
  double b;
  
  std::cin >> a >> b;
  
  a *= b * 100 + 0.5
  a /= 100;
  
  printf("%lld\n",a);
  
 return 0; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:21: error: expected ';' before 'a'
   10 |   a *= b * 100 + 0.5
      |                     ^
      |                     ;
   11 |   a /= 100;
      |   ~
Language: C++

#include<iostream>
#include<iomanip>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: 'sin' is not a member of 'std'; did you mean 'min'?
   10 |   std::sin >> B;
      |        ^~~
      |        min
Language: C++

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

    long double a , b ;
    cin >> a >>  b ;
    cout << ll(a*b)<< endl ;


    return 0 ;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:3:12: error: expected primary-expression before 'long'
    3 | #define ll long long
      |            ^~~~
a.cc:9:13: note: in expansion of macro 'll'
    9 |     cout << ll(a*b)<< endl ;
      |             ^~
Language: C++

#include <stdio.h>

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


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

#include<iostream>
using namespace std;
int main()
{
  long double a,b;
  ll ans=a*b;
  cout<<ans<<'\n';
}

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:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
    7 |   cout<<ans<<'\n';
      |         ^~~
      |         abs
Language: C++

#include <bits/stdc++.h>
#include <cmath>

using namespace std;

int main() {
	long long a;
	double b;
  	cin >> a >> b;
  	b = round(d*100);
    a *= b;
    cout << a/100 << "\n";
}

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

#include <bits/stdc++.h>

using namespace std;

int main() {
	long long a;
	double b;
  	cin >> a >> b;
  	b = round(d*100);
    a *= b;
    cout << a/100 << "\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:19: error: 'd' was not declared in this scope
    9 |         b = round(d*100);
      |                   ^
Language: Java

import java.util.*;

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


Compiler output:
Main.java:8: error: incompatible types: unexpected return value
    return (int)(a*b);
           ^
1 error
Language: C++

#include <bits\stdc++.h>


using namespace std;

int main(){
    long double a{0} , b{0};
    cin >> a >> b;
    cout << trunc(a*b) << "\n";
    
}

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

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

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

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

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: expected primary-expression before 'long'
    9 |   cout << long double (A*(B*100)/100) << endl;
      |           ^~~~
Language: C++

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

int main(){
  long long A ;
  string B ;
  cin >> A >> B ;
  B[1] == ' ' ;
  
  int b = B;
  cout << A*b/100 << endl;
}


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

import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

public class Multication3{

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		
		Scanner sc=new Scanner(System.in);
		long A=sc.nextLong();
		BigDecimal bigA=new BigDecimal(A);
		double B=sc.nextDouble();
		BigDecimal bigB=new BigDecimal(B);
		
		BigDecimal result=bigA.multiply(bigB);
		BigDecimal rastResult=result.setScale(0,RoundingMode.FLOOR);
		System.out.println(rastResult);
	}

}


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

#include <bits/stdc++.h>

using namespace std;

#define int long long

const int N = (int)3e5, MOD = (int)1e9 + 7, INF = (int)3e18;

main() {
    ios :: sync_with_stdio(0);
    cin.tie(0);
    long double a, b;
    cin >> a >> b;
    cout << int(a * b);
    return 0;
}

Compiler output:
a.cc:9:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    9 | main() {
      | ^~~~
a.cc: In function 'int main()':
a.cc:5:13: error: expected primary-expression before 'long'
    5 | #define int long long
      |             ^~~~
a.cc:14:13: note: in expansion of macro 'int'
   14 |     cout << int(a * b);
      |             ^~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

#define int long long

const int N = (int)3e5, MOD = (int)1e9 + 7, INF = (int)3e18;

int a[N];

main() {
    ios :: sync_with_stdio(0);
    cin.tie(0);
    long double a, b;
    cin >> a >> b;
    cout << int(a * b);
    return 0;
}

Compiler output:
a.cc:11:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   11 | main() {
      | ^~~~
a.cc: In function 'int main()':
a.cc:5:13: error: expected primary-expression before 'long'
    5 | #define int long long
      |             ^~~~
a.cc:16:13: note: in expansion of macro 'int'
   16 |     cout << int(a * b);
      |             ^~~
Language: C++

#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define MOD 1000000007
#define ll long long int
#define pi pair <ll,ll>
#define vi vector <ll>
#define F first
#define S second
#define PB push_back
#define MP make_pair
#define rep(i,a,b) for (int i = a; i < b; i++)
#define SQ(a) (a)*(a)
#define ordered_set tree<ll, null_type,greater_equal<ll>, rb_tree_tag,tree_order_statistics_node_update>       //greater_equal<ll> or less<ll>
// find_by_key()   order_of_key()
//#define ordered_set tree<int, null_type,less<int>, rb_tree_tag,tree_order_statistics_node_update>
/*bool comp(string a, string b) {
if (a.size() != b.size()) return a.size() < b.size();
return a < b;
}*/
 
int main() 
{
    ios::sync_with_stdio(0);
    cin.tie(0);
    /*freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);*/
    ll i,j,m,l=0,x,prev=0,max1=0,flag=0,cnt=0,y,min1,q,sum=0,r,n,k,p,flag2=0,ind=0,t,a,b,c;
    double h,j;
  cin>>h>>g;
  h=h*g;
  k=h;
  cout<<k<<endl;
  
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:31:14: error: conflicting declaration 'double j'
   31 |     double h,j;
      |              ^
a.cc:30:10: note: previous declaration as 'long long int j'
   30 |     ll i,j,m,l=0,x,prev=0,max1=0,flag=0,cnt=0,y,min1,q,sum=0,r,n,k,p,flag2=0,ind=0,t,a,b,c;
      |          ^
a.cc:32:11: error: 'g' was not declared in this scope
   32 |   cin>>h>>g;
      |           ^
Language: C++

#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define MOD 1000000007
#define ll long long int
#define pi pair <ll,ll>
#define vi vector <ll>
#define F first
#define S second
#define PB push_back
#define MP make_pair
#define rep(i,a,b) for (int i = a; i < b; i++)
#define SQ(a) (a)*(a)
#define ordered_set tree<ll, null_type,greater_equal<ll>, rb_tree_tag,tree_order_statistics_node_update>       //greater_equal<ll> or less<ll>
// find_by_key()   order_of_key()
//#define ordered_set tree<int, null_type,less<int>, rb_tree_tag,tree_order_statistics_node_update>
/*bool comp(string a, string b) {
if (a.size() != b.size()) return a.size() < b.size();
return a < b;
}*/
 
int main() 
{
    ios::sync_with_stdio(0);
    cin.tie(0);
    /*freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);*/
    ll i,j,m,l=0,x,prev=0,max1=0,flag=0,cnt=0,y,min1,q,sum=0,r,n,k,p,flag2=0,ind=0,t,a,b,c;
    double h,j;
  cin>>h>>g;
  h=h*g;
  cout<<(ll)h<<endl;
  
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:31:14: error: conflicting declaration 'double j'
   31 |     double h,j;
      |              ^
a.cc:30:10: note: previous declaration as 'long long int j'
   30 |     ll i,j,m,l=0,x,prev=0,max1=0,flag=0,cnt=0,y,min1,q,sum=0,r,n,k,p,flag2=0,ind=0,t,a,b,c;
      |          ^
a.cc:32:11: error: 'g' was not declared in this scope
   32 |   cin>>h>>g;
      |           ^
Language: C++

#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define MOD 1000000007
#define ll long long int
#define pi pair <ll,ll>
#define vi vector <ll>
#define F first
#define S second
#define PB push_back
#define MP make_pair
#define rep(i,a,b) for (int i = a; i < b; i++)
#define SQ(a) (a)*(a)
#define ordered_set tree<ll, null_type,greater_equal<ll>, rb_tree_tag,tree_order_statistics_node_update>       //greater_equal<ll> or less<ll>
// find_by_key()   order_of_key()
//#define ordered_set tree<int, null_type,less<int>, rb_tree_tag,tree_order_statistics_node_update>
/*bool comp(string a, string b) {
if (a.size() != b.size()) return a.size() < b.size();
return a < b;
}*/
 
int main() 
{
    ios::sync_with_stdio(0);
    cin.tie(0);
    /*freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);*/
    ll i,j,m,l=0,x,prev=0,max1=0,flag=0,cnt=0,y,min1,q,sum=0,r,n,k,p,flag2=0,ind=0,t,a,b,c;
    double h,j;
  cin>>h>>j;
  h=h*j;
  cout<<(ll)h<<endl;
  
    
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:31:14: error: conflicting declaration 'double j'
   31 |     double h,j;
      |              ^
a.cc:30:10: note: previous declaration as 'long long int j'
   30 |     ll i,j,m,l=0,x,prev=0,max1=0,flag=0,cnt=0,y,min1,q,sum=0,r,n,k,p,flag2=0,ind=0,t,a,b,c;
      |          ^
Language: C

#include<bits/stdc++.h>
#include <cmath>
#include <climits>

using namespace std;

typedef long long ll;
#define PI 3.14159265





int main() {
    ios::sync_with_stdio(0);
    cin.tie(0);
    double a, b;
    cin >> a >> b;
    long long c = floor(a * b);
    cout << c << endl;
}


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

/******************************************************************************

            EYENINE,THE ELDER_WAND!!!
            THE ROOT OVER MINUS EIGTHY ONE!!

*******************************************************************************/

#include<bits/stdc++.h>
using namespace std;
int main(){

    ios::sync_with_stdio(false);
    cin.tie(0);
  long long double A,B;
    cin>>A>>B;
   cout<<(long long int)floor(A*B)<<endl;

    return 0;
}


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

import math

A,B = map(str,input().split())
A = int(A)
B = float(B)

#print(A,B)

print('{:.0f}'.format(math.floor(A*B)))#,end=' ')



Compiler output:
a.cc:7:2: error: invalid preprocessing directive #print
    7 | #print(A,B)
      |  ^~~~~
a.cc:9:7: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    9 | print('{:.0f}'.format(math.floor(A*B)))#,end=' ')
      |       ^~~~~~~~
a.cc:9:40: error: stray '#' in program
    9 | print('{:.0f}'.format(math.floor(A*B)))#,end=' ')
      |                                        ^
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<bits/stdc++.h>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:31: error: expected primary-expression before 'return'
   11 |                 cout<<0<<endl,return 0;
      |                               ^~~~~~
Language: C

#include<stdio.h>

int main(){
  int a;
  double b;
  scanf("%d %lf",&a,&b);
  printf("%d",int(a*b));
}

Compiler output:
main.c: In function 'main':
main.c:7:15: error: expected expression before 'int'
    7 |   printf("%d",int(a*b));
      |               ^~~
Language: C

#include<stdio.h>

int main(){
  int a;
  long long b;
  scanf("%d %lld",&a,&b);
  printf("%d",int(a*b));
}

Compiler output:
main.c: In function 'main':
main.c:7:15: error: expected expression before 'int'
    7 |   printf("%d",int(a*b));
      |               ^~~
Language: C

#include<stdio.h>

int main(){
  int a;
  long long b;
  scanf("%d %llf",&a,&b);
  printf("%d",int(a*b));
}

Compiler output:
main.c: In function 'main':
main.c:7:15: error: expected expression before 'int'
    7 |   printf("%d",int(a*b));
      |               ^~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

typedef long long ll;

int main(){
    ll a;
    double b;
    cin >> a >> b;
    int b = (int) b;
    cout << (ll)b * a << '\n';
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: conflicting declaration 'int b'
   11 |     int b = (int) b;
      |         ^
a.cc:9:12: note: previous declaration as 'double b'
    9 |     double b;
      |            ^
Language: C++

#include "bits/stdc++.h"                                                         
                                                                                 
#define MOD 1000000007                                                           
#define rep(i, n) for(ll i=0; i < (n); i++)                                      
#define rrep(i, n) for(ll i=(n)-1; i >=0; i--)                                   
#define ALL(v) v.begin(),v.end()                                                 
#define rALL(v) v.rbegin(),v.rend()                                              
#define FOR(i, j, k) for(ll i=j;i<k;i++)                                         
#define DUMP(i, v)for(ll i=0;i<v.size();i++)cerr<<v[i]<<" "                      
                                                              

/**************************************                                          
** A main function starts from here  **                                          
***************************************/                                         
int main(){                                                                      
  long long  N, B1, B2;                                                          
  char s;                                                                        
  cin >> N >> B1 >> s >> B2;                                                     
  cout <<setprecision(15)<<floor(N * (B1*100+B2) /100.0);                                         
  return 0;                                                                      
}  

Compiler output:
a.cc: In function 'int main()':
a.cc:18:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
   18 |   cin >> N >> B1 >> s >> B2;
      |   ^~~
      |   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:19:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   19 |   cout <<setprecision(15)<<floor(N * (B1*100+B2) /100.0);
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:19:10: error: 'setprecision' was not declared in this scope; did you mean 'std::setprecision'?
   19 |   cout <<setprecision(15)<<floor(N * (B1*100+B2) /100.0);
      |          ^~~~~~~~~~~~
      |          std::setprecision
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:143:
/usr/include/c++/14/iomanip:202:3: note: 'std::setprecision' declared here
  202 |   setprecision(int __n)
      |   ^~~~~~~~~~~~
Language: C++

#include "bits/stdc++.h"                                                         
                                                                                 
#define MOD 1000000007                                                           
#define rep(i, n) for(ll i=0; i < (n); i++)                                      
#define rrep(i, n) for(ll i=(n)-1; i >=0; i--)                                   
#define ALL(v) v.begin(),v.end()                                                 
#define rALL(v) v.rbegin(),v.rend()                                              
#define FOR(i, j, k) for(ll i=j;i<k;i++)                                         
#define DUMP(i, v)for(ll i=0;i<v.size();i++)cerr<<v[i]<<" "                      
                                                              

/**************************************                                          
** A main function starts from here  **                                          
***************************************/                                         
int main(){                                                                      
  long long  N, B1, B2;                                                          
  char s;                                                                        
  cin >> N >> B1 >> s >> B2;                                                     
  cout << floor(N * (B1*100+B2) /100.0);                                         
  return 0;                                                                      
}  

Compiler output:
a.cc: In function 'int main()':
a.cc:18:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
   18 |   cin >> N >> B1 >> s >> B2;
      |   ^~~
      |   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:19:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   19 |   cout << floor(N * (B1*100+B2) /100.0);
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

//
// Created by admin on 2020/6/7.
//
#include<bits/stdc++.h>
using namespace std;
unsigned  long long a,re,b1;
long double b;
int main()
{
    cin>>a>>b;
    b1=b*100+0.5
    re=a*b1/100;
    cout<<re<<endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:17: error: expected ';' before 're'
   11 |     b1=b*100+0.5
      |                 ^
      |                 ;
   12 |     re=a*b1/100;
      |     ~~
Language: C++

//
// Created by admin on 2020/6/7.
//
#include<bits/stdc++.h>
using namespace std;
long long a,re,b1;
long double b;
int main()
{
    cin>>a>>b;
    b1=b*100;
    re=min(a*b,a*b1/100);
    cout<<re<<endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: no matching function for call to 'min(long double, long long int)'
   12 |     re=min(a*b,a*b1/100);
      |        ~~~^~~~~~~~~~~~~~
In file included from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:4:
/usr/include/c++/14/bits/stl_algobase.h:233:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::min(const _Tp&, const _Tp&)'
  233 |     min(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:233:5: note:   template argument deduction/substitution failed:
a.cc:12:11: note:   deduced conflicting types for parameter 'const _Tp' ('long double' and 'long long int')
   12 |     re=min(a*b,a*b1/100);
      |        ~~~^~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:281:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare)'
  281 |     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:281:5: note:   candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/14/algorithm:61:
/usr/include/c++/14/bits/stl_algo.h:5686:5: note: candidate: 'template<class _Tp> constexpr _Tp std::min(initializer_list<_Tp>)'
 5686 |     min(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5686:5: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/14/bits/stl_algo.h:5696:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::min(initializer_list<_Tp>, _Compare)'
 5696 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5696:5: note:   template argument deduction/substitution failed:
a.cc:12:11: note:   mismatched types 'std::initializer_list<_Tp>' and 'long double'
   12 |     re=min(a*b,a*b1/100);
      |        ~~~^~~~~~~~~~~~~~
Language: C++

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

int main(){
  
  int64_t a;
  float b;
  cin>>a>>b
  int64_t mul = a*b;
  cout<<mul;

Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: expected ';' before 'int64_t'
    8 |   cin>>a>>b
      |            ^
      |            ;
    9 |   int64_t mul = a*b;
      |   ~~~~~~~   
a.cc:10:9: error: 'mul' was not declared in this scope; did you mean 'fmul'?
   10 |   cout<<mul;
      |         ^~~
      |         fmul
a.cc:10:13: error: expected '}' at end of input
   10 |   cout<<mul;
      |             ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<iostream>
#include<vector>
#include<algorithm>
using namespace std ;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'long' specified with 'float'
    8 |   long float b ;
      |   ^~~~
a.cc:11:12: error: expected ';' before 'b'
   11 |   b = b * a
      |            ^
      |            ;
   12 |   b = b / 100
      |   ~
Language: C++

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

	cout<<c;
}else{
	int d = a*(b-0.1);
	cout<<d;
}
	return 0;
}
}

Compiler output:
a.cc:16:1: error: expected declaration before '}' token
   16 | }
      | ^
Language: C++

#include <iostream>
#include<bits/stdc++.h>
using namespace std;
#define fast  ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0)
#define int long long


int32_t main(){
	fast;
	double n;
	int a;
	cin>>a>>n;
	n = (n*100)
	int p = (a*n)/100;
	if(p>100000000000000000) cout<<-1<<endl;
	else cout<<p<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int32_t main()':
a.cc:13:20: error: expected ';' before 'long'
   13 |         n = (n*100)
      |                    ^
      |                    ;
a.cc:15:12: error: 'p' was not declared in this scope
   15 |         if(p>100000000000000000) cout<<-1<<endl;
      |            ^
Language: C++

#include <bits/stdc++.h>

using namespace std;

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

    ll a; ld b;
    cin >> a >> b;

    ll c = (b+0.001)*100;

    cout << a*c/100LL;

    return 0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:11:5: error: 'll' was not declared in this scope
   11 |     ll a; ld b;
      |     ^~
a.cc:11:11: error: 'ld' was not declared in this scope
   11 |     ll a; ld b;
      |           ^~
a.cc:12:12: error: 'a' was not declared in this scope
   12 |     cin >> a >> b;
      |            ^
a.cc:12:17: error: 'b' was not declared in this scope
   12 |     cin >> a >> b;
      |                 ^
a.cc:14:7: error: expected ';' before 'c'
   14 |     ll c = (b+0.001)*100;
      |       ^~
      |       ;
a.cc:16:15: error: 'c' was not declared in this scope
   16 |     cout << a*c/100LL;
      |               ^
Language: C++

#include <iostream> 
using namespace std; 
int main(){
	ll a  ;
  	double b ; 
  	cin >> a >> b ; 
    string res = to_string(a * b ) ; 
  	for(char i : res ) 
      if(i == '.') break ; 
  	  else cout << i ;
}

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

#include<iostream>
#include<algorithm>
#include<ctime>
#include<vector>
#include<string>
#include<cmath>
#include<map>
#include<iomanip>
#include<numeric>
#include<queue>
#include<functional>
#include<tuple>
#include<math.h>
#include<bitset>
#include<stack>
#include<set>
#define rip(i,n) for(int i=0;i<n;i++)
#define ll long long
#define ld long double
#define pi 3.1415926535897932384626433832795028841971693993
#define MOD 998244353
#define sec setprecision
using namespace std;
ll gcd(ll a, ll b)
{
	if (a % b == 0)	return(b);
	else return(gcd(b, a % b));
}
ll lcm(ll a, ll b)
{
	return a * b / gcd(a, b);
}
ll pow(ll x, ll n) {
	if (n == 0)
		return 1;
	else if (x == 1)return(1);
	else if (n % 2 == 0)
		return pow(x * x, (n / 2));
	else
		return x * pow(x, n - 1);
}
int ketasuu(ll h) {
	if (h < 0)return(-(ketasuu(-h)));
	else if (h < 10)return(1);
	else return(1 + ketasuu(h / 10));
}
const int MAX = 510000;
long long fac[MAX], finv[MAX], inv[MAX];
void cominit() {
	fac[0] = fac[1] = 1;
	finv[0] = finv[1] = 1;
	inv[1] = 1;
	for (ll i = 2; i < MAX; i++) {
		fac[i] = fac[i - 1] * i % MOD;
		inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD;
		finv[i] = finv[i - 1] * inv[i] % MOD;
	}
}

// 二項係数計算
long long com(int n, int k) {
	if (n < k) return 0;
	if (n < 0 || k < 0) return 0;
	return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;
}

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


Compiler output:
a.cc: In function 'int main()':
a.cc:72:52: error: expected ')' before ';' token
   72 |         a*=(100*(b[0]-'0')+10*(b[1]-'0')+(b[2]-'0');
      |            ~                                       ^
      |                                                    )
Language: C++

#include<iostream>
#include<algorithm>
#include<ctime>
#include<vector>
#include<string>
#include<cmath>
#include<map>
#include<iomanip>
#include<numeric>
#include<queue>
#include<functional>
#include<tuple>
#include<math.h>
#include<bitset>
#include<stack>
#include<set>
#define rip(i,n) for(int i=0;i<n;i++)
#define ll long long
#define ld long double
#define pi 3.1415926535897932384626433832795028841971693993
#define MOD 998244353
#define sec setprecision
using namespace std;
ll gcd(ll a, ll b)
{
	if (a % b == 0)	return(b);
	else return(gcd(b, a % b));
}
ll lcm(ll a, ll b)
{
	return a * b / gcd(a, b);
}
ll pow(ll x, ll n) {
	if (n == 0)
		return 1;
	else if (x == 1)return(1);
	else if (n % 2 == 0)
		return pow(x * x, (n / 2));
	else
		return x * pow(x, n - 1);
}
int ketasuu(ll h) {
	if (h < 0)return(-(ketasuu(-h)));
	else if (h < 10)return(1);
	else return(1 + ketasuu(h / 10));
}
const int MAX = 510000;
long long fac[MAX], finv[MAX], inv[MAX];
void cominit() {
	fac[0] = fac[1] = 1;
	finv[0] = finv[1] = 1;
	inv[1] = 1;
	for (ll i = 2; i < MAX; i++) {
		fac[i] = fac[i - 1] * i % MOD;
		inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD;
		finv[i] = finv[i - 1] * inv[i] % MOD;
	}
}

// 二項係数計算
long long com(int n, int k) {
	if (n < k) return 0;
	if (n < 0 || k < 0) return 0;
	return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;
}

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


Compiler output:
a.cc: In function 'int main()':
a.cc:72:13: error: expected initializer before '*=' token
   72 |         ll a*=(100*(b[0]-'0')+10*(b[1]-'0')+(b[2]-'0');
      |             ^~