criyle/codenet-compile-errors huggingface dataset:
Language: Java

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Scanner;

pubic class Main{
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		BigInteger myBI = new BigInteger(sc.next());
		double a = sc.nextDouble();
		BigDecimal bd = new BigDecimal(myBI);
		BigInteger doubleWithStringValue = bd.multiply(BigDecimal.valueOf(a)).toBigInteger();
		long result=doubleWithStringValue.longValue();
		System.out.println(result);
	}
}


Compiler output:
Main.java:8: error: class, interface, enum, or record expected
pubic class Main{
^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.*;
import java.util.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Collections;
public class bansai2 {
	public static void main(final String[] args){
    
    Scanner sc = new Scanner(System.in);
    long a = sc.nextLong();
    long n = sc.nextLong();

    System.out.println(Math.floor(a*n));
    
    
    
  

    
    
    


    


    
    


    
	}
}

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

#include <bits/stdc++.h>
#define fi first
#define se second
#define rep(i,n) for (int i=0; i<(n); ++i)
#define rrep(i,n) for (int i=1; i<=(n); ++i)
#define drep(i,n) for (int i=(n)-1; i>=0; --i)
#define srep(i,s,t) for (int i=s; i<t; ++i)
#define pu push_back
#define po pop_back
#define pi (acos(-1))
#define pii pair<int,int>
#define pll pair<ll,ll>
#define vec vector
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<ll> vl;
const int INF = 1001001001;
template<typename T1,typename T2> inline void chmin(T1 &a,T2 b){if(a>b) a=b;}
template<typename T1,typename T2> inline void chmax(T1 &a,T2 b){if(a<b) a=b;}
//gcd & lcm
ll gcd (ll a, ll b) {return b ? gcd(b, a%b) : a;}
ll lcm (ll a, ll b) {return a/gcd(a,b)*b;}

int main(void) {
  ios::sync_with_stdio(false);
  cin.tie(0);
  //FROM HERE//
  int a;
  double b;
  scanf("%d%lf", &a,&b)
  ll ans = floor(a*b)
  printf("%d\n",ans)
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:32:24: error: expected ';' before 'll'
   32 |   scanf("%d%lf", &a,&b)
      |                        ^
      |                        ;
   33 |   ll ans = floor(a*b)
      |   ~~
Language: Java

import java.io.BufferedReader;
import java.io.*;
import java.util.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Collections;
public class Main {
	public static void main(final String[] args){
    
    Scanner sc = new Scanner(System.in);
    long a = sc.nextLong();
    long n = sc.nextLong();

    Sysstem.out.println(Math.floor(a*n));
    
    
    
  

    
    
    


    


    
    


    
	}
}

Compiler output:
Main.java:15: error: package Sysstem does not exist
    Sysstem.out.println(Math.floor(a*n));
           ^
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  int A;
  double B;
  int N = A * (int)B
    cin >> A >> B;
  cout << N << endl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: expected ',' or ';' before 'cin'
    7 |     cin >> A >> B;
      |     ^~~
Language: C


#include <bits/stdc++.h>

#define ll int64_t
using namespace std;
#include <cstdlib> 
#include <math.h>
#include<cstdio>
#include<cstring>
#define FOR(I, A, B) for (int I = (A); I <= (B); I++)
#define fo(i,n) for(int i=0;i<n;i++)
#define sz(a) int((a).size())
#define pb push_back
#define all(c) (c).begin(),(c).end()
#define dbg(x) cout << #x << " = " << x << endl
#define dbg2(x,y) cout << #x << " = " << x << ", " << #y << " = " << y << endl
#define dbg3(x,y,z) cout << #x << " = " << x << ", " << #y << " = " << y << ", " << #z << " = " << z << endl
#define dbg4(x,y,z,q) cout << #x << " = " << x << ", " << #y << " = " << y << ", " << #z << " = " << z << ", " << #q << " = " << q << endl
#define scan(char_array) scanf("%[^\n]s",&char_array)
#define IOS ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);

int main(){
    IOS

    ll a;
    double b;
    cin>>a>>b;
    ll bb=(b*100);
    ll ans=bb*a;
    ans=ans/100;
    cout<<ans<<endl;

}

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

#include <iostream>
#include <sstream>
#include <iomanip>
#include <vector>
#include <deque>
#include <list>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <bitset>
#include <string>
#include <numeric>
#include <algorithm>
#include <functional>
#include <iterator>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstdlib>
#include <cctype>
#include <complex>
#include <ctime>
#define ll long long
using namespace std;

int main(){
	ll a;
	char x11,x21,c1;
	scanf("%lld%*c%c%*c%c%c",&a,&c1,&x11,&x21);
	int c=c1-'0',x1=x11-'0',x2=x22-'0';
	ll sum=0;
	sum+=a*c;
	sum+=a*x1/10;
	int round1=(a*x1)%10;
	sum+=a*x2/100;
	int round2=(a*x2/10)%10;
	if(round1+round2>=10)
        sum+=1;
    printf("%lld\n",sum);
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:31:36: error: 'x22' was not declared in this scope; did you mean 'x2'?
   31 |         int c=c1-'0',x1=x11-'0',x2=x22-'0';
      |                                    ^~~
      |                                    x2
Language: C++

#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rrep(i, n) for (int i = 1; i < (int)(n); i++) 
#define dunk(n) cout << n << endl
#define all(a) (a).begin(),(a).end()
typedef pair<int,int> P;
typedef long long ll;

int main() {
    ll a;
    cin a;
    double b;
    cin >> b;
    b = 1/b;
    double c = a/b;
    dunk((ll)c);
    return 0;
}

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

    #include <iostream>
    #include <vector>
	const double EPS=0.000000001
    using namespace std;
    int main(void){
        double tmp,A,B;
      	long long ans;
        
        cin >>  A >> B;  
     
        tmp = A*B　+EPS;
     	ans = tmp;
        cout << ans << endl;
        return 0;
    }

Compiler output:
a.cc:11:17: error: extended character 　 is not valid in an identifier
   11 |         tmp = A*B　+EPS;
      |                 ^
a.cc:4:5: error: expected ',' or ';' before 'using'
    4 |     using namespace std;
      |     ^~~~~
a.cc: In function 'int main()':
a.cc:9:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 |         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:11:17: error: 'B\U00003000' was not declared in this scope
   11 |         tmp = A*B　+EPS;
      |                 ^~~
a.cc:13:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |         cout << ans << 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:13:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 |         cout << ans << endl;
      |                        ^~~~
      |                        std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>
#include <math.h>
int main()
{
    double a , b ;
    int ans ;
    std::cin >> a >> b ;
    ans = a * b
  std::cout << ans << std::endl;
}

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

#include<iostream>
#include<string>
#include<vector>
#include<cmath>
#include<algorithm>

using namespace std;

int main() {

	uint64_t A;
	long float B;

	cin >> A >> B;
	
	
	cout << uint64_t(A*int(B*100))/100 << endl;

	//cout << LDBL_MAX;
	return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: 'uint64_t' was not declared in this scope
   11 |         uint64_t A;
      |         ^~~~~~~~
a.cc:6:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
    5 | #include<algorithm>
  +++ |+#include <cstdint>
    6 | 
a.cc:12:9: error: 'long' specified with 'float'
   12 |         long float B;
      |         ^~~~
a.cc:14:16: error: 'A' was not declared in this scope
   14 |         cin >> A >> B;
      |                ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:8: error: expected unqualified-id before '=' token
   11 |     ll = ans / 1;
      |        ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	unsigned long long int a;
	double b;
	cin>>a>>b;
	unsigned long long int li = (unsigned long long int)(b*100);
	unsigned long long int i = (unsigned long long int)(a*li);
	if(i%100!=0)
	{
		i = i - i%100;
		i/=100;
	}
	else
	i/=100
	cout<<i;
}

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

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

int main(){
	//freopen("input.txt","r",stdin);
	//freopen("output.txt","w", stdout);
	ios::sync_with_stdio(false);
	cin.tie(0);  
	double a,b;
	double sum+=a*b;
	cout << (int)sum << endl;
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:19: error: expected initializer before '+=' token
   10 |         double sum+=a*b;
      |                   ^~
a.cc:11:22: error: 'sum' was not declared in this scope
   11 |         cout << (int)sum << endl;
      |                      ^~~
Language: C++

import math

s = raw_input()

arr = s.split(" ");

print(math.floor(int(arr[0])*float(arr[1])))

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'
a.cc:7:6: error: expected constructor, destructor, or type conversion before '(' token
    7 | print(math.floor(int(arr[0])*float(arr[1])))
      |      ^
Language: C

#include<iostream>
#include<vector>
#include<string>
#include<algorithm>
#include <cmath>
using namespace std;
typedef long long ll;
int main(){
    ll a;
    long double b;
    ll c;
    ll d;
    ll tmp;
    cin>>a>>b;
    tmp=b*100;
    //cout<<tmp<<endl;
    c=tmp/100;
    //cout<<"c : "<<c<<endl;
    d=tmp-c*100;
    //cout<<"d : "<<d<<endl;
    
    ll x=a*c;
    ll y=a*d/100;
    //cout<<x<<endl;
    //cout<<y<<endl;
    cout<<x+y<<endl;


    return 0;
}

Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
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<int, int>;

int main(){
    ll a;
    string b_str;
    cin >> a >> b_str;
    int b100;
    b100 = 100*atoi(b_str[0]) + 10*(atoi(b_str[2])) + atoi(b_str[3]);
    ll ans = (a*b100);
    ans /= 100;
    cout << ll(ans) << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:20: error: invalid conversion from '__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type' {aka 'char'} to 'const char*' [-fpermissive]
   12 |     b100 = 100*atoi(b_str[0]) + 10*(atoi(b_str[2])) + atoi(b_str[3]);
      |                ~~~~^~~~~~~~~~
      |                    |
      |                    __gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type {aka char}
In file included from /usr/include/c++/14/cstdlib:79,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:42,
                 from a.cc:1:
/usr/include/stdlib.h:105:30: note:   initializing argument 1 of 'int atoi(const char*)'
  105 | extern int atoi (const char *__nptr)
      |                  ~~~~~~~~~~~~^~~~~~
a.cc:12:41: error: invalid conversion from '__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type' {aka 'char'} to 'const char*' [-fpermissive]
   12 |     b100 = 100*atoi(b_str[0]) + 10*(atoi(b_str[2])) + atoi(b_str[3]);
      |                                     ~~~~^~~~~~~~~~
      |                                         |
      |                                         __gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type {aka char}
/usr/include/stdlib.h:105:30: note:   initializing argument 1 of 'int atoi(const char*)'
  105 | extern int atoi (const char *__nptr)
      |                  ~~~~~~~~~~~~^~~~~~
a.cc:12:59: error: invalid conversion from '__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type' {aka 'char'} to 'const char*' [-fpermissive]
   12 |     b100 = 100*atoi(b_str[0]) + 10*(atoi(b_str[2])) + atoi(b_str[3]);
      |                                                       ~~~~^~~~~~~~~~
      |                                                           |
      |                                                           __gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type {aka char}
/usr/include/stdlib.h:105:30: note:   initializing argument 1 of 'int atoi(const char*)'
  105 | extern int atoi (const char *__nptr)
      |                  ~~~~~~~~~~~~^~~~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
    int A = 168;
	double B =5.15;
    cin >> A >> B;
    cout << A * B << endl;
     cout << fixed << setprecision(0);
  	cout << A * B << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: 'setprecision' was not declared in this scope
    9 |      cout << fixed << setprecision(0);
      |                       ^~~~~~~~~~~~
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;
Language: C++

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

int main() {
  cout << fixed << setprecision(2)
  int64_t a;
  double b;
  cin >> a >> b;
  b *= 100;
  int64_t bb = b;
  int64_t c;
  c = a * bb;
  c /= 100;
  cout << c << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:35: error: expected ';' before 'int64_t'
    5 |   cout << fixed << setprecision(2)
      |                                   ^
      |                                   ;
    6 |   int64_t a;
      |   ~~~~~~~                          
a.cc:8:10: error: 'a' was not declared in this scope
    8 |   cin >> a >> b;
      |          ^
Language: C++

#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repi(i, a, b) for (int i = int(a); i < int(b); ++i)
typedef long long ll;
long long mod = 1e9 + 7;
const int iINF = 0x3f3f3f3f;
const long long INF = 1LL << 60;
using namespace std;

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

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

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

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

#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rrep(i, n) for (int i = 1; i < (int)(n); i++) 
#define dunk(n) cout << n << endl
#define all(a) (a).begin(),(a).end()
typedef pair<int,int> P;
typedef long long ll;

int main() {
    ll a;
    cin a;
    double b;
    b = 1/b;
    cin >> b;
    double c = a/b;
    dunk((ll)c);
    return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(v) v.begin(), v.end()
#define ll int64_t
#define _GLIBCXX_DEBUG
const int dx[4] = {1, 0, -1, 0};
const int dy[4] = {0, 1, 0, -1};
int main(){
  ll a;
  double b;
  cin >> a >> b;
  c=int(b*100);
  cout << a*c/100 << endl;
}


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

#include<iostream>
#include<vector>
#include<algorithm>
#include<set>
#include<queue>
#include<map>
#include<math.h>
#include<string>
#include <cctype>
#include <cstdlib>
#include<bitset>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define reps(i, s, n) for (int i = s; i < (int)(n); i++)
#define out(x) cout << x << endl
#define INF 1ll<<60;
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }

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

int main(){
    unsigned long long a; cin >> a;
    long double b; cin >> b;
    b = b*100;
    cout << fixed << setprecision(16);
    cout << a*(unsigned long long)b/100) << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:27:22: error: 'setprecision' was not declared in this scope
   27 |     cout << fixed << setprecision(16);
      |                      ^~~~~~~~~~~~
a.cc:12:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
   11 | #include<bitset>
  +++ |+#include <iomanip>
   12 | #define rep(i, n) for (int i = 0; i < (int)(n); i++)
a.cc:28:40: error: expected ';' before ')' token
   28 |     cout << a*(unsigned long long)b/100) << endl;
      |                                        ^
      |                                        ;
Language: C++

    #include <iostream>
    #include <vector>
	const double EPS =　0.000000001
    using namespace std;
    int main(void){
        double tmp,A,B;
      	long long ans;
        
        cin >>  A >> B;  
     
        tmp = A*B　+EPS;
     	ans = tmp;
        cout << ans << endl;
        return 0;
    }

Compiler output:
a.cc:3:27: error: extended character 　 is not valid in an identifier
    3 |         const double EPS =　0.000000001
      |                           ^
a.cc:11:17: error: extended character 　 is not valid in an identifier
   11 |         tmp = A*B　+EPS;
      |                 ^
a.cc:3:27: error: '\U000030000' was not declared in this scope
    3 |         const double EPS =　0.000000001
      |                           ^~~
a.cc: In function 'int main()':
a.cc:9:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 |         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:11:17: error: 'B\U00003000' was not declared in this scope
   11 |         tmp = A*B　+EPS;
      |                 ^~~
a.cc:13:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |         cout << ans << 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:13:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 |         cout << ans << endl;
      |                        ^~~~
      |                        std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>
using namespace std;

int main() {
  int64_t A;
  double B;
  cin >> A >> B;
  auto C = A * (B / 1000000 * 1000000) + A * (B % 1000000);
  cout << (int64_t)C << endl;
}





Compiler output:
a.cc: In function 'int main()':
a.cc:8:49: error: invalid operands of types 'double' and 'int' to binary 'operator%'
    8 |   auto C = A * (B / 1000000 * 1000000) + A * (B % 1000000);
      |                                               ~ ^ ~~~~~~~
      |                                               |   |
      |                                               |   int
      |                                               double
Language: C

#include <stdio.h>
#include <math.h>

int main(void) {
	int a; float b;float c;int d;
	scanf("%d",&a);
	scanf("%f",&b);
	c=(float)a*b;
	d=(int)c;
  　char* ret =d
	printf("%s",ret);
}

Compiler output:
main.c: In function 'main':
main.c:10:3: error: stray '\343' in program
   10 |   <U+3000>char* ret =d
      |   ^~~~~~~~
main.c:10:16: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   10 |   　char* ret =d
      |                ^
main.c:11:9: error: expected ',' or ';' before 'printf'
   11 |         printf("%s",ret);
      |         ^~~~~~
Language: C++

import math

s = input()

arr = s.split(" ");

print(math.floor(int(arr[0])*float(arr[1])))

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'
a.cc:7:6: error: expected constructor, destructor, or type conversion before '(' token
    7 | print(math.floor(int(arr[0])*float(arr[1])))
      |      ^
Language: C++

#define _GLIBCXX_DEBUG
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define ALL(v) v.begin(), v.end()
typedef long long ll;

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

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

int main() {
  ll a;
  double b;
  cin>>a>>b;
  
  ll a1=a%100000000;
  ll a2=a/100000000;
  
  double c1=(double)a1*b;  
  double c2=(double)a2*b;
  
  
  cout<<x<<endl;
  
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:24:9: error: 'x' was not declared in this scope
   24 |   cout<<x<<endl;
      |         ^
Language: C++

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

int main() {
  double a,b;
  cin >> a >> b;
  double c = a*b;
  
  long long d=0LL;
  
  for(long long i=0LL; i<=10000000000000000; i++){
    if(i<=c $$ c<i+1){
      d = i;
      break;
    }
  }
  
  cout << d << endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:12: error: expected ')' before '$$'
   13 |     if(i<=c $$ c<i+1){
      |       ~    ^~~
      |            )
Language: C++

//#include <bits/stdc++.h>
#include "stdc++.h"
using namespace std;
typedef long long ll;
 
int ctoi(const char c) {
    switch (c) {
    case '0': return 0;
    case '1': return 1;
    case '2': return 2;
    case '3': return 3;
    case '4': return 4;
    case '5': return 5;
    case '6': return 6;
    case '7': return 7;
    case '8': return 8;
    case '9': return 9;
    default: return -1;
    }
}

ll A;
string B;
 
int main(void)
{
	cin >> A >> B;
 
    long double ansa, ansb, ansc;
    ansa = A * ctoi(B[0]);
    ansb = A * ctoi(B[2]) * 0.1;
    ansc = A * ctoi(B[3]) * 0.01;

    ll ans = floorl(ansa + ansb + ansc);

    cout << ans;
}

Compiler output:
a.cc:2:10: fatal error: stdc++.h: No such file or directory
    2 | #include "stdc++.h"
      |          ^~~~~~~~~~
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<int, int>;

int main() {
    double a, b;
    cin >> a >> b;
    ll c = a * b;
    fprintf("%lld", c);
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:13: error: cannot convert 'const char*' to 'FILE*'
   11 |     fprintf("%lld", c);
      |             ^~~~~~
      |             |
      |             const char*
In file included from /usr/include/c++/14/cstdio:42,
                 from /usr/include/c++/14/ext/string_conversions.h:45,
                 from /usr/include/c++/14/bits/basic_string.h:4154,
                 from /usr/include/c++/14/string:54,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/stdio.h:357:38: note:   initializing argument 1 of 'int fprintf(FILE*, const char*, ...)'
  357 | extern int fprintf (FILE *__restrict __stream,
      |                     ~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C++

#include <iostream>
using namespace std;
#include <boost/multiprecision/cpp_dec_float.hpp>
#include <boost/multiprecision/cpp_int.hpp>
namespace mp = boost::multiprecision;
using Bint = mp::cpp_int;
using Real = mp::number<mp::cpp_dec_float<1024>>;

int main() {
    Bint a;
    Real b;
    cin >> a;
    cin >> b;
    Bint c = a*b;
    cout << c << endl;
    return 0;
}

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

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

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

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

// 5/10 リアルタイム参加
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
using Graph = vector<vector<int>>;

int main() {
    ll A;
    double B;
    // cin >> A >> B;
    cin >> A;
    cin >> B;

    if (A == 0 || B == 0.0) {
        cout << 0 << endl;
        return 0;
    }

    // ll A, B;
    // double b;
    // cin >> A >> b;
    // B = (ll)(b * 100.0);
    // cout << A * B / 100 << endl;

    double ansd = (double)A * B;
    // ll ansl = (ll)floor(ansd);
    ll ans = (ll)ansd;

    // cout << (ll)floor((double)A * B) << endl;
    cout << ansl << endl;
}

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

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: 'src' was not declared in this scope
    8 |     c = (int)src;
      |              ^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
using P = pair<ll, ll>;
#define rep(i, n)  for (int i = 0; i <  (int)(n); i++)
#define rep1(i, n) for (int i = 1; i <= (int)(n); i++)
#define all(x) (x).begin(), (x).end()
const ll INF = ll(1e18)+1;

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

    long double a,b;
    cin >> a >> b;
    
    unsigned ll result = ll(a*b);

    cout << result;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:17: error: expected initializer before 'result'
   17 |     unsigned ll result = ll(a*b);
      |                 ^~~~~~
a.cc:19:13: error: 'result' was not declared in this scope
   19 |     cout << result;
      |             ^~~~~~
Language: C++

#define _USE_MATH_DEFINES
#include <math.h>
#include <iostream>
#include <iomanip>
#include <cstdlib>
#include <algorithm>
#include <numeric>
#include <stdio.h>
#include <vector>
#include <map>

using namespace std;
typedef long long ll;

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

int main() {
    // 入力
    ll A;
    double B;
    cin >> A >> B;
    ll B = B*100;
    ll out = A*B/100;
    cout << out << endl;
    return 0;
}


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

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

int64_t a;
int64_t res;
int c;
double b;
int main(){
    cin >> a >> b;
    c = 100 * b;
    res = a * c;
    res = res \ 100;
    cout << res << endl;
}

Compiler output:
a.cc:12:15: error: stray '\' in program
   12 |     res = res \ 100;
      |               ^
a.cc: In function 'int main()':
a.cc:12:14: error: expected ';' before numeric constant
   12 |     res = res \ 100;
      |              ^  ~~~
      |              ;
Language: C

#include<stdio.h>
main()
{
    double A,B,m;
    scanf("%d %lf", &A, &B);
    
    double m = A*B;
    int b = m;
    printf("%d\n", b);

    return 0;
}

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main()
      | ^~~~
main.c: In function 'main':
main.c:7:12: error: redeclaration of 'm' with no linkage
    7 |     double m = A*B;
      |            ^
main.c:4:16: note: previous declaration of 'm' with type 'double'
    4 |     double A,B,m;
      |                ^
Language: Java

import java.util.*;

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


Compiler output:
Main.java:8: error: incompatible types: possible lossy conversion from float to int
    int c=a*b;
           ^
1 error
Language: C++

#include <iostream>
#include<math.h>
using namespace std;

int main() {
    uint64_t A, 
  	double B;
    cin >> A >> B;
    cout << floor(A * B);
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'uint64_t' was not declared in this scope
    6 |     uint64_t A,
      |     ^~~~~~~~
a.cc:3:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
    2 | #include<math.h>
  +++ |+#include <cstdint>
    3 | using namespace std;
a.cc:8:12: error: 'A' was not declared in this scope
    8 |     cin >> A >> B;
      |            ^
a.cc:8:17: error: 'B' was not declared in this scope
    8 |     cin >> A >> B;
      |                 ^
Language: C

#include <bits/stdc++.h>

using namespace std;

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


    long long a;
    long double b;
    cin>>a>>b;
    cout<<a*b;

    return 0;
}


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

#include<iostream>
#include<vector>
#include<cmath>
#include<string>
#include<algorithm>
#include<map>
#include<utility>
#include<cstdio>
#include<bits/stdc++.h>

using namespace std;
using ll = long long;
const long long INF = 1LL<<60;

typedef pair<ll,ll> Pair;

int main(){

ll A,B;
double B;
  
cin >> A >> B;

cout << A*B << endl;
  
return 0;

}   


Compiler output:
a.cc: In function 'int main()':
a.cc:20:8: error: conflicting declaration 'double B'
   20 | double B;
      |        ^
a.cc:19:6: note: previous declaration as 'll B'
   19 | ll A,B;
      |      ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: 'c' was not declared in this scope
    7 |          c=a*b;
      |          ^
Language: Java

import java.math.BigInteger;
import java.util.*;
public class A168 {
public static void main(String[]args) {
	Scanner sc = new Scanner (System.in);
	long a= sc . nextLong();
	double b = sc.nextDouble();
	System.out.println((long)Math.floor(a*b));
}
}


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

#include <stdio.h>
#include <math.h>

int main(void) {
	int a; float b;float c;int d;
	scanf("%d",&a);
	scanf("%f",&b);
	c=(float)a*b;
	d=(int)c;
	printf("%d",*d);
}

Compiler output:
main.c: In function 'main':
main.c:10:21: error: invalid type argument of unary '*' (have 'int')
   10 |         printf("%d",*d);
      |                     ^~
Language: Java

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

//    	File file = new File("src/in.txt");

        //コード
//    	Scanner sc = new Scanner(file);
    	Scanner sc = new Scanner(System.in);

    	double A = sc.nextDouble();
    	double B = sc.nextDouble();

    	long times2 = (long) (A*B*100);
    	long times = (times2 - times2%100)/100;
    	System.out.println(times);
    }
}

Compiler output:
Main.java:2: error: cannot find symbol
    public static void main(String[] args) throws FileNotFoundException {
                                                  ^
  symbol:   class FileNotFoundException
  location: class Main
Main.java:8: error: cannot find symbol
    	Scanner sc = new Scanner(System.in);
    	^
  symbol:   class Scanner
  location: class Main
Main.java:8: error: cannot find symbol
    	Scanner sc = new Scanner(System.in);
    	                 ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: C++

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

int main() {
    long long a, e, ans;
    double b;
    cin >> a >> b;
    e=100*b;
    ans = a*e;
    printf("%lld\n", ans)
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:26: error: expected ';' before 'return'
   14 |     printf("%lld\n", ans)
      |                          ^
      |                          ;
   15 |     return 0;
      |     ~~~~~~
Language: C++

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

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

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

import java.util.*;
import java.lang.*;
import java.io.*;
 
/* Name of the class has to be "Main" only if the class is public. */
class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
	    BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
	    String s[]=br.readLine().split(" ");
      	int a=Integer.parseInt(s[0]);
		float b=Float.parseFloat(s[1]);
      	System.out.println("%.0f",a*b);
    }
}


Compiler output:
Main.java:14: error: no suitable method found for println(String,float)
      	System.out.println("%.0f",a*b);
      	          ^
    method PrintStream.println() is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(boolean) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(int) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(long) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(float) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(double) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char[]) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(String) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(Object) is not applicable
      (actual and formal argument lists differ in length)
1 error
Language: C++

#include<string>
#include<iostream>
#include <algorithm>
#include<vector>
#include<functional>
#include <cstdlib>
#include <iomanip>
#include <cmath>
#include <numeric>
#include <math.h>
#define ll long long 
#define PI 3.14159265358979323846
#define rep(i,n) for(ll i=0;i<(ll)n;i++)
using namespace std;



int main() {
    ll A, ans, B1;
    ll k1, k2;
    double B;
    cin >> A >> B;
    B1 = B * 100;
    ans = A * B1;
    k1 = ans % 10;
    k2 = (ans / 10) % 10;
    ans = (ans - k1 -k2 * 10)) / 100;
    cout << ans << endl;
    return 0;
 }


Compiler output:
a.cc: In function 'int main()':
a.cc:27:30: error: expected ';' before ')' token
   27 |     ans = (ans - k1 -k2 * 10)) / 100;
      |                              ^
      |                              ;
Language: Java

import java.util.*;

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


Compiler output:
Main.java:8: error: incompatible types: possible lossy conversion from float to int
    int c=(int)a*b;
                ^
1 error
Language: C

#include<stdio.h>
int main(void)
{
  double a,b,c;
  int d=0;
  
  scanf("%lf%lf",&a,&b);
  c=a*b;
  d=c;
  
  printf("%d",d);
  
  if(scanf("%d/%d", &numerator, &denominator) < 2) {
    fprintf(stderr, "error: ill-formed fraction.\n");
    exit(1);
}
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:22: error: 'numerator' undeclared (first use in this function)
   13 |   if(scanf("%d/%d", &numerator, &denominator) < 2) {
      |                      ^~~~~~~~~
main.c:13:22: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:34: error: 'denominator' undeclared (first use in this function)
   13 |   if(scanf("%d/%d", &numerator, &denominator) < 2) {
      |                                  ^~~~~~~~~~~
main.c:15:5: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
   15 |     exit(1);
      |     ^~~~
main.c:2:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
    1 | #include<stdio.h>
  +++ |+#include <stdlib.h>
    2 | int main(void)
main.c:15:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   15 |     exit(1);
      |     ^~~~
main.c:15:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
Language: C++

#include<iostream>
#include<vector>
#include<cmath>
#include<string>
#include<algorithm>
#include<map>
#include<utility>
#include<cstdio>
#include<bits/stdc++.h>

using namespace std;
using ll = long long;
const long long INF = 1LL<<60;

typedef pair<ll,ll> Pair;

int main(){

ll A
double B;
cin >> A >> B;

cout << A*B << endl;
  
return 0;

}   


Compiler output:
a.cc: In function 'int main()':
a.cc:20:1: error: expected initializer before 'double'
   20 | double B;
      | ^~~~~~
a.cc:21:8: error: 'A' was not declared in this scope
   21 | cin >> A >> B;
      |        ^
a.cc:21:13: error: 'B' was not declared in this scope
   21 | cin >> A >> B;
      |             ^
Language: C++

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

int main(){
  int N;
  float M;
  float A;
  
  cin >> N >> M ;
  A=int(floor(A*B))
  cout << A << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:17: error: 'B' was not declared in this scope
   11 |   A=int(floor(A*B))
      |                 ^
Language: C

#include<stdio.h>
#include<math.h>
#include<string.h>
#include<>
 
int main(){
  float A,B;
  char t[100000000]
    int i=0;
  while(scanf("%f %f",&A,&B)==0);
  float C=A*B;
  
    sprintf(t,"%f",C);

  while(t[i]!='\0'){
    if(t[i]=='.'){
      break;
    }
    i++;
  }
  
  
  
  printf("%g\n",floor(C));
  
  
  return 0;
}

Compiler output:
main.c:4:9: error: empty filename in #include
    4 | #include<>
      |         ^~
main.c: In function 'main':
main.c:8:20: error: expected ';' before 'int'
    8 |   char t[100000000]
      |                    ^
      |                    ;
    9 |     int i=0;
      |     ~~~             
main.c:13:13: error: 't' undeclared (first use in this function)
   13 |     sprintf(t,"%f",C);
      |             ^
main.c:13:13: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

//c++ テンプレ
#include<bits/stdc++.h>
using namespace std;

typedef long long llint;
typedef long double ld;

#define inf 1e18
constexpr long long INFLL = 1e18;
#define mod 1000000007
priority_queue<llint,vector<llint>,greater<llint> > que;
priority_queue<llint> Que;
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }

void solve(){
    llint a;
    double b;
    cin >> a >> b;
    double x=a*b;
    llint z=floor(x)
    cout << z << endl;
}

int main(){
  solve();
  return 0;
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:21:5: error: expected ',' or ';' before 'cout'
   21 |     cout << z << endl;
      |     ^~~~
Language: C

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

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

//usr/bin/env picoc $0 - $@;exit
#include <stdio.h>
int main(){
    long a;
  	float b;
    scanf("%d %f",&a,&b);
  	long ans = long(a*b);
    //printf("%d %f\n", a, b);
    printf("%d",ans);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:20: error: expected expression before 'long'
    7 |         long ans = long(a*b);
      |                    ^~~~
Language: Java

import java.util.*;

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


Compiler output:
Main.java:8: error: '.class' expected
    int c=int(a*b);
             ^
Main.java:8: error: not a statement
    int c=int(a*b);
               ^
Main.java:8: error: ';' expected
    int c=int(a*b);
                 ^
3 errors
Language: C++



ll add(ll x, ll y) {ll res = x + y; return (res >= MOD ? res - MOD : res);}
ll mul(ll x, ll y) {ll res = x * y; return (res >= MOD ? res % MOD : res);}
ll sub(ll x, ll y) {ll res = x - y; return (res < 0 ? res + MOD : res);}

ll power(ll x, ll y) {if (y < 0) return 1; ll res = 1; x %= MOD; while (y) {if (y & 1)res = mul(res, x); y >>= 1; x = mul(x, x);} return res;}

int main(){
ios::sync_with_stdio(false);cin.tie(0);
ll a;
float b;
cin>>a>>b;
lf mul=(lf)a*b;
ll res = floor(mul);
cout<<res;
}


Compiler output:
a.cc:3:1: error: 'll' does not name a type
    3 | ll add(ll x, ll y) {ll res = x + y; return (res >= MOD ? res - MOD : res);}
      | ^~
a.cc:4:1: error: 'll' does not name a type
    4 | ll mul(ll x, ll y) {ll res = x * y; return (res >= MOD ? res % MOD : res);}
      | ^~
a.cc:5:1: error: 'll' does not name a type
    5 | ll sub(ll x, ll y) {ll res = x - y; return (res < 0 ? res + MOD : res);}
      | ^~
a.cc:7:1: error: 'll' does not name a type
    7 | ll power(ll x, ll y) {if (y < 0) return 1; ll res = 1; x %= MOD; while (y) {if (y & 1)res = mul(res, x); y >>= 1; x = mul(x, x);} return res;}
      | ^~
a.cc: In function 'int main()':
a.cc:10:1: error: 'ios' has not been declared
   10 | ios::sync_with_stdio(false);cin.tie(0);
      | ^~~
a.cc:10:29: error: 'cin' was not declared in this scope
   10 | ios::sync_with_stdio(false);cin.tie(0);
      |                             ^~~
a.cc:11:1: error: 'll' was not declared in this scope
   11 | ll a;
      | ^~
a.cc:13:6: error: 'a' was not declared in this scope
   13 | cin>>a>>b;
      |      ^
a.cc:14:1: error: 'lf' was not declared in this scope
   14 | lf mul=(lf)a*b;
      | ^~
a.cc:15:3: error: expected ';' before 'res'
   15 | ll res = floor(mul);
      |   ^~~~
      |   ;
a.cc:16:1: error: 'cout' was not declared in this scope
   16 | cout<<res;
      | ^~~~
a.cc:16:7: error: 'res' was not declared in this scope
   16 | cout<<res;
      |       ^~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:5: error: expected ',' or ';' before 'll'
   12 |     ll ans = a*n;
      |     ^~
a.cc:13:5: error: 'ans' was not declared in this scope; did you mean 'abs'?
   13 |     ans = ans/100;
      |     ^~~
      |     abs
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
using P = pair<ll, ll>;
#define rep(i, n)  for (int i = 0; i <  (int)(n); i++)
#define rep1(i, n) for (int i = 1; i <= (int)(n); i++)
#define all(x) (x).begin(), (x).end()
const ll INF = ll(1e18)+1;

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

    unsigned long double a,b;
    cin >> a >> b;
    
    unsigned long double bshousu,bseisu;
    bshousu = modf(b,&bseisu);
    // cout << y << "\n" << d << "\n";

    unsigned long double abseisu,abshousu;
    abseisu = a * bseisu;
    abshousu = a * bshousu;
    
    unsigned long double abshoususeisu,abshousushousu;
    abshousushousu = modf(abshousu,&abshoususeisu);

    unsigned long long result = abseisu + abshoususeisu;

    cout << result;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:5: error: 'unsigned' specified with 'long double'
   14 |     unsigned long double a,b;
      |     ^~~~~~~~
a.cc:14:5: error: 'unsigned' specified with 'long double'
a.cc:17:5: error: 'unsigned' specified with 'long double'
   17 |     unsigned long double bshousu,bseisu;
      |     ^~~~~~~~
a.cc:17:5: error: 'unsigned' specified with 'long double'
a.cc:21:5: error: 'unsigned' specified with 'long double'
   21 |     unsigned long double abseisu,abshousu;
      |     ^~~~~~~~
a.cc:21:5: error: 'unsigned' specified with 'long double'
a.cc:25:5: error: 'unsigned' specified with 'long double'
   25 |     unsigned long double abshoususeisu,abshousushousu;
      |     ^~~~~~~~
a.cc:25:5: error: 'unsigned' specified with 'long double'
Language: C++

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

int main()
{
    int A;
    double B;
    cin>>A>>B;

    cout<<(int)(A*B)<<endl;
    _getch();
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:5: error: '_getch' was not declared in this scope; did you mean 'getc'?
   11 |     _getch();
      |     ^~~~~~
      |     getc
Language: C

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

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

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

int main(){
  int N;
  float M;

  
  cin >> N >> M ;
  A=floor(A*B)
  cout << A << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:3: error: 'A' was not declared in this scope
   11 |   A=floor(A*B)
      |   ^
a.cc:11:13: error: 'B' was not declared in this scope
   11 |   A=floor(A*B)
      |             ^