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

#include <iostream>
#include <string>
#include<cstdio>
#include<cstring>
#include<cmath>
#include <algorithm>
using namespace std;
#define ll __int64
int max(int a,int b){
	if(a>b) return a;
	return b;
}
int min(int a,int b){
	if(a>b) return b;
	return a;
}
int main()
{
	ll a,b;
	char s[5];
	scanf("%I64d",&a);
	cin>>s;
	b=100*(s[0]^'0')+10*(s[2]^'0')+(s[3]^'0');
	printf("%I64d\n",a*b/100);
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: '__int64' was not declared in this scope; did you mean '__ynf64'?
    8 | #define ll __int64
      |            ^~~~~~~
a.cc:19:9: note: in expansion of macro 'll'
   19 |         ll a,b;
      |         ^~
a.cc:21:24: error: 'a' was not declared in this scope
   21 |         scanf("%I64d",&a);
      |                        ^
a.cc:23:9: error: 'b' was not declared in this scope
   23 |         b=100*(s[0]^'0')+10*(s[2]^'0')+(s[3]^'0');
      |         ^
Language: C++

#include <iostream>
#include <string>
#include<cstdio>
#include<cstring>
#include<cmath>
#include <algorithm>
using namespace std;
#define ll __int64
int max(int a,int b){
	if(a>b) return a;
	return b;
}
int min(int a,int b){
	if(a>b) return b;
	return a;
}
int main()
{
	ll a,b;
	char s[5];
	scanf("%I64d",&a);
	cin>>s;
	b=100*(s[0]-'0')+10*(s[2]-'0')+(s[3]-'0');
	printf("%I64d\n",a*b/100);
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: '__int64' was not declared in this scope; did you mean '__ynf64'?
    8 | #define ll __int64
      |            ^~~~~~~
a.cc:19:9: note: in expansion of macro 'll'
   19 |         ll a,b;
      |         ^~
a.cc:21:24: error: 'a' was not declared in this scope
   21 |         scanf("%I64d",&a);
      |                        ^
a.cc:23:9: error: 'b' was not declared in this scope
   23 |         b=100*(s[0]-'0')+10*(s[2]-'0')+(s[3]-'0');
      |         ^
Language: C++

#include <cstdio>
#include <cstring>
#define ll long long
using namespace std;
const int N = 1e3 + 10;

signed main() {
	// ios::sync_with_stdio(false);
	ll a, b, c;
	scanf("%lld %lld.%lld", &a, &b, &c);
	b = b * 100 + c;
	ll x = a * b;
	string ans;
	while (x) ans += x % 10 + '0', x /= 10;
	if (ans.size() <= 2) printf("0\n");
	else {
		for (int i = ans.size() - 1; i > 1; i--)
			printf("%c", ans[i]);
		printf("\n");
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:9: error: 'string' was not declared in this scope
   13 |         string ans;
      |         ^~~~~~
a.cc:3:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
    2 | #include <cstring>
  +++ |+#include <string>
    3 | #define ll long long
a.cc:14:19: error: 'ans' was not declared in this scope
   14 |         while (x) ans += x % 10 + '0', x /= 10;
      |                   ^~~
a.cc:15:13: error: 'ans' was not declared in this scope
   15 |         if (ans.size() <= 2) printf("0\n");
      |             ^~~
Language: C

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

int main()
{
	long long x,l;
	long double y;
	cin>>x>>y;
	l=floor(x*y);
	cout<<l;
	return 0;
}

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

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



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

#include <bits/stdc++.h>
using namespace std;
int main()
{
    unsigned double a, b;
    cin >> a >> b;
    if (a == 0 || b == 0)
        cout << 0;
    unsigned double k = a * b;
    string s = to_string(k);
    for (int i = 0; i < (int)s.length(); i++)
    {
        if (s[i] == '.')
            break;
        cout << s[i];
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'unsigned' specified with 'double'
    5 |     unsigned double a, b;
      |     ^~~~~~~~
a.cc:5:5: error: 'unsigned' specified with 'double'
a.cc:9:5: error: 'unsigned' specified with 'double'
    9 |     unsigned double k = a * b;
      |     ^~~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
 float a,b;
  cin>>a>>b;
  if(a==0 || b==0) cout<<0;
  float k = a*b;
  string g = to_string(k);
  for(int i=0;i<(int)g.length();i++){
  	if(s[i]=='.') break;
    cout<<s[i];
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: 's' was not declared in this scope
   10 |         if(s[i]=='.') break;
      |            ^
a.cc:11:11: error: 's' was not declared in this scope
   11 |     cout<<s[i];
      |           ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
 float a,b;
  cin>>a>>b;
  if(a==0 || b==0) cout<<0;
  float k = a*b;
  g = to_string(k);
  for(int i=0;i<(int)g.length();i++){
  	if(s[i]=='.') break;
    cout<<s[i];
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'g' was not declared in this scope
    8 |   g = to_string(k);
      |   ^
a.cc:10:12: error: 's' was not declared in this scope
   10 |         if(s[i]=='.') break;
      |            ^
a.cc:11:11: error: 's' was not declared in this scope
   11 |     cout<<s[i];
      |           ^
Language: C++

#include <bits/stdc++.h>
 
int main() {
    unsigned long long a, b;
    char s[6];
 
    scanf("%lld%s", &a, s);
    b = (s[0]-'0')*100 + (s[2]-'0')*10 + (s[3]-'0'); 
 
    printf("%llu\n", a*b/100);
 
    return 0;


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

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


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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: conflicting declaration 'long long int b'
    7 |   long long b=b*100+0.5;
      |             ^
a.cc:5:15: note: previous declaration as 'long double b'
    5 |   long double b;
      |               ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll =long long;
#define all(v) v.begin(),v.end()
 
int main() {
  ll A;
  cin>>A;
  string B;
  cin>>B;
  string C=B[0]+B[2]+B[3];
  ll D=stoll(C);
  cout<<A*D/100<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:21: error: conversion from 'int' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
   11 |   string C=B[0]+B[2]+B[3];
Language: C++

#include <bits/stdc++.h>
#include <boost/multiprecision/cpp_dec_float.hpp>
#include <boost/multiprecision/cpp_int.hpp>
using namespace std;

namespace mp = boost::multiprecision;
using Bint = mp::cpp_int;
using Bfloat = mp::number<mp::cpp_dec_float<1024>>; // 仮数部1024bit

#define lint long long
#define all(it) it.begin(), it.end()
#define FOR(i, n) for(int i = 0; i < n; i++)
#define FORU(i, a, b, s) for(int i = a; i < b; i += s)
#define FORD(i, a, b, s) for(int i = a; i > b; i -= s)
#define endl "\n"
lint INF = 2e18;
lint MOD = 1e9 + 7;

lint i, j, k, t;

int main() {
    Bint a;
    Bfloat b;
    cin >> a >> b;
    cout << a * b << endl;
}


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

#include <bits/stdc++.h>
#include <boost/multiprecision/cpp_dec_float.hpp>
#include <boost/multiprecision/cpp_int.hpp>
using namespace std;

namespace mp = boost::multiprecision;
using Bint = mp::cpp_int;
using Bfloat = mp::number<mp::cpp_dec_float<1024>>; // 仮数部1024bit

#define lint long long
#define all(it) it.begin(), it.end()
#define FOR(i, n) for(int i = 0; i < n; i++)
#define FORU(i, a, b, s) for(int i = a; i < b; i += s)
#define FORD(i, a, b, s) for(int i = a; i > b; i -= s)
#define endl "\n"
lint INF = 2e18;
lint MOD = 1e9 + 7;

lint i, j, k, t;

int main() {
    Bint a;
    Bfloat b;

    int x;
    string y;

    cin >> x >> y;
    a = x;
    b = Bfloat(y);

    cout << a * b << endl;
}


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

#include <bits/stdc++.h>
#include <boost/multiprecision/cpp_dec_float.hpp>
#include <boost/multiprecision/cpp_int.hpp>
using namespace std;

namespace mp = boost::multiprecision;
using Bint = mp::cpp_int;
using Bfloat = mp::number<mp::cpp_dec_float<1024>>; // 仮数部1024bit

#define lint long long
#define all(it) it.begin(), it.end()
#define FOR(i, n) for(int i = 0; i < n; i++)
#define FORU(i, a, b, s) for(int i = a; i < b; i += s)
#define FORD(i, a, b, s) for(int i = a; i > b; i -= s)
#define endl "\n"
lint INF = 2e18;
lint MOD = 1e9 + 7;

lint i, j, k, t;

int main() {
    string x, y;
    cin >> x >> y;
    Bfloat a, b;
    a = Bfloat(x);
    b = Bfloat(y);
    Bint ans = a * b;

    cout << ans << endl;
}

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

#include <bits/stdc++.h>
#include <boost/multiprecision/cpp_dec_float.hpp>
#include <boost/multiprecision/cpp_int.hpp>
using namespace std;

namespace mp = boost::multiprecision;
using Bint = mp::cpp_int;
using Bfloat = mp::number<mp::cpp_dec_float<1024>>; // 仮数部1024bit

#define lint long long
#define all(it) it.begin(), it.end()
#define FOR(i, n) for(int i = 0; i < n; i++)
#define FORU(i, a, b, s) for(int i = a; i < b; i += s)
#define FORD(i, a, b, s) for(int i = a; i > b; i -= s)
#define endl "\n"
lint INF = 2e18;
lint MOD = 1e9 + 7;

lint i, j, k, t;

int main() {
    string x,y;
    cin >> x >> y;
    Bfloat a,b;
    a = Bfloat(x);
    b = Bfloat(y);
    int ans = a*b;

    cout << ans << endl;
}

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

#include <bits/stdc++.h>
#include <boost/multiprecision/cpp_dec_float.hpp>
#include <boost/multiprecision/cpp_int.hpp>
using namespace std;

namespace mp = boost::multiprecision;
using bint = mp::cpp_int;
using bfloat = mp::number<mp::cpp_dec_float<1024>>; // 仮数部1024bit

#define lint long long
#define all(it) it.begin(), it.end()
#define FOR(i, n) for(int i = 0; i < n; i++)
#define FORU(i, a, b, s) for(int i = a; i < b; i += s)
#define FORD(i, a, b, s) for(int i = a; i > b; i -= s)
#define endl "\n"
lint INF = 2e18;
lint MOD = 1e9 + 7;

lint i, j, k, t;

int main() {
    bfloat a, b;
    cin >> a >> b;
    int ans = a * b;
    cout << ans << endl;
}

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

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

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


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

#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using ll = long long;
using P = pair<int,int>;
using namespace std;
int main(){
    ll a;
    double b;
    cin>>a>>b;
    ll c=b*100+0.5;
    cout<<a*c/100;
}

Compiler output:
a.cc:4:11: error: 'pair' does not name a type
    4 | using P = pair<int,int>;
      |           ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:23: error: expected '}' at end of input
   10 |     cout << c << endl;
      |                       ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<bits/stdc++.h>
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); cout.precision(30);
#define ll long long
#define ld long double
#define pi 3.14159265359
using namespace std;

int main()
{
    IOS;
    ld a,b;
    cin>>a>>b;
    b*=1000
    a*=b/100;
    cout<<a;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:12: error: expected ';' before 'a'
   13 |     b*=1000
      |            ^
      |            ;
   14 |     a*=b/100;
      |     ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0; i<n; i++)
#define rep2(i,a,n) for(int i=(a); i<(n); i++)
#define all(vec) vec.begin(),vec.end()
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using vll = vector<ll>;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:15:19: error: expected primary-expression before '/' token
   15 |   ll ans = a * c* / 100 ;
      |                   ^
Language: C++

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

#define FOR(i,N) for(int i=0;i<N;i++)

int main(){
    long long H,W,Q,M,X,K,N,x,cnt=0,min=-1,max=0,sum=0;
    double long A,B;
    cin >> A >> B;
    cout << long long(A*B);

}


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

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

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

#include<iostream>
using namespace std;
#define ull unsigned long long
#define lld long long double
int main(){
ull a;
lld b;
cin >> a >> b;
cout << a * b;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:18: error: 'long long' specified with 'double'
    4 | #define lld long long double
      |                  ^~~~
a.cc:7:1: note: in expansion of macro 'lld'
    7 | lld b;
      | ^~~
Language: C++

#include<iostream>
#define ull unsigned long long
#define lld long long double
int main(){
ull a;
lld b;
cin >> a >> b;
cout << a * b;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:18: error: 'long long' specified with 'double'
    3 | #define lld long long double
      |                  ^~~~
a.cc:6:1: note: in expansion of macro 'lld'
    6 | lld b;
      | ^~~
a.cc:7:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 | 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:8:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 | cout << a * b;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<iostream>
#define ull unsigned long long
#define ulld unsigned long long double
int main(){
ll a;
ulld b;
cin >> a >> b;
cout << a * b;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:1: error: 'll' was not declared in this scope; did you mean 'ull'?
    5 | ll a;
      | ^~
      | ull
a.cc:3:14: error: 'unsigned' specified with 'double'
    3 | #define ulld unsigned long long double
      |              ^~~~~~~~
a.cc:6:1: note: in expansion of macro 'ulld'
    6 | ulld b;
      | ^~~~
a.cc:7:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 | cin >> a >> b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:8: error: 'a' was not declared in this scope
    7 | cin >> a >> b;
      |        ^
a.cc:8:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 | cout << a * b;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

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

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

#include<iostream>
using namespace std;
int main(){
long long a;
  string b;
  cin >> a >> b;
  long c=100*(b[

Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: expected primary-expression at end of input
    7 |   long c=100*(b[
      |                 ^
a.cc:7:17: error: expected ']' at end of input
    7 |   long c=100*(b[
      |                 ^
      |                 ]
a.cc:7:17: error: expected ')' at end of input
    7 |   long c=100*(b[
      |              ~  ^
      |                 )
a.cc:7:17: error: expected '}' at end of input
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

#include<iostream.
using namespace std;
int main(){
  int y;
  double x,;
  cin >> x,y ;
  int a=x*y;
  cout << a << endl;
}

Compiler output:
a.cc:1:19: error: missing terminating > character
    1 | #include<iostream.
      |                   ^
a.cc:1:9: fatal error: iostream.: No such file or directory
    1 | #include<iostream.
      |         ^
compilation terminated.
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:7: error: conflicting declaration 'int a'
    8 |   int a=b;
      |       ^
a.cc:4:13: note: previous declaration as 'long long int a'
    4 |   long long a,steve;
      |             ^
Language: C++

#include<iostream>
using namespace std;
int main(){
long double x;
  cin >> x;
  int a=x
    cout << a << endl;
}    


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

#include<iostream>
using namespace std;
int main(){
double x;
  cin >> x;
  int a=x
    cout << a << endl;
}    

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

#include<iostream.
using namespace std;
int main(){
  double x,y;
  cin >> x;
  int a=x*y;
  cout << a << endl;
}

Compiler output:
a.cc:1:19: error: missing terminating > character
    1 | #include<iostream.
      |                   ^
a.cc:1:9: fatal error: iostream.: No such file or directory
    1 | #include<iostream.
      |         ^
compilation terminated.
Language: C++

 #include<iostream>
using namespace std;
int main(){
 int a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,1,2,3,4,5,6,7,8,9;
  baka}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:58: error: expected unqualified-id before numeric constant
    4 |  int a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,1,2,3,4,5,6,7,8,9;
      |                                                          ^
a.cc:5:3: error: 'baka' was not declared in this scope
    5 |   baka}
      |   ^~~~
Language: C++

#include<iostream.
using namespace std;
int main(){
  double x;
  cin >> x;
  int a=x;
  cout << a << endl;
}

Compiler output:
a.cc:1:19: error: missing terminating > character
    1 | #include<iostream.
      |                   ^
a.cc:1:9: fatal error: iostream.: No such file or directory
    1 | #include<iostream.
      |         ^
compilation terminated.
Language: C++

a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,1,2,3,4,5,6,7,8,9

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,1,2,3,4,5,6,7,8,9
      | ^
Language: C++

#include<iostream>
using namespace std;
int main(){
  int a;
double b;
  cin >> a >> b;
  if(a*b%1 == 0){
  cout << a*b << endl;
  }else{
  cout << a*b-a*b%1 << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: invalid operands of types 'double' and 'int' to binary 'operator%'
    7 |   if(a*b%1 == 0){
      |      ~~~^~
      |       |  |
      |       |  int
      |       double
a.cc:10:18: error: invalid operands of types 'double' and 'int' to binary 'operator%'
   10 |   cout << a*b-a*b%1 << endl;
      |               ~~~^~
      |                |  |
      |                |  int
      |                double
Language: C++

#include<iostream>
using namespace std;
int main(){
  int a;
double b;
  cin >> a >> b;
  if(a*b% == 0){
  cout << a*b << endl;
  }else{
  cout << a*b-a*b% << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected primary-expression before '==' token
    7 |   if(a*b% == 0){
      |           ^~
a.cc:10:20: error: expected primary-expression before '<<' token
   10 |   cout << a*b-a*b% << endl;
      |                    ^~
Language: C++

#include<iostream>
using namespace std;
int main(){
  int a;
double b;
  cin >> a >> b;
  if(a*b%==0){
  cout << a*b << endl;
  }else{
  cout << a*b-a*b% << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected primary-expression before '=' token
    7 |   if(a*b%==0){
      |           ^
a.cc:10:20: error: expected primary-expression before '<<' token
   10 |   cout << a*b-a*b% << endl;
      |                    ^~
Language: C++

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

Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main{
      |     ^~~~
a.cc:4:3: error: expected primary-expression before 'long'
    4 |   long int a;
      |   ^~~~
a.cc:4:3: error: expected '}' before 'long'
a.cc:3:9: note: to match this '{'
    3 | int main{
      |         ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> a >> b;
      |   ^~~
a.cc:7:3: error: 'cout' does not name a type
    7 |   cout << (long int)a*b;
      |   ^~~~
a.cc:8:1: error: expected declaration before '}' token
    8 | }
      | ^
Language: C++

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


#define fast_IO ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl '\n'
using lli = long long int;
using ll = long long ;
using ld=long double;
using d= double;

bool isPrime(ll n){if(n<2)return false;for(ll i=2;i*i<=n;++i){if(n%i==0){return false;}}return true;}

ll lcm(ll x,ll y){
    return (x*y)/(__gcd(x,y));
}

int sm(ll n){
    int sum=0;
    while(n>0){
        sum+=n%10;
        n/=10;
    }
    return sum;
}

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

signed main(){
    fast_IO;
    int t=1;
    //cin>>t;
    while(t--){
        ld n,m;
        cin>>n>>m;
        ll ans=n*m;
        cout<<((cpp_int)ans);
        
    }   
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:42:17: error: 'cpp_int' was not declared in this scope; did you mean 'u_int'?
   42 |         cout<<((cpp_int)ans);
      |                 ^~~~~~~
      |                 u_int
a.cc:42:25: error: expected ')' before 'ans'
   42 |         cout<<((cpp_int)ans);
      |               ~         ^~~
      |                         )
Language: C++

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

typedef long long ll;
typedef long double lld;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int, int> ii;
typedef vector<ii> vii;
typedef set<int> si;
typedef map<string, int> msi;
typedef pair<ll, ll> pll;
typedef pair<ll, pair<ll, ll>> plll;

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

  typedef long long ll;
  typedef long double lld;
  typedef vector<int> vi;
  typedef vector<ll> vl;
  typedef pair<int, int> ii;
  typedef vector<ii> vii;
  typedef set<int> si;
  typedef map<string, int> msi;
  typedef pair<ll, ll> pll;
  typedef pair<ll, pair<ll, ll>> plll;

  void solve()
  {
    double a, b;
    cin >> a >> b;
    cout << (ll)(a * b + 0.01) << endl;
    return;
  }
  int main()
  {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);

    // int t;
    // cin >> t;
    // for (int i = 0; i < t; i++)
    // {
    //   solve();
    // }
    solve();
  }

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

  // int t;
  // cin >> t;
  // for (int i = 0; i < t; i++)
  // {
  //   solve();
  // }
  solve();
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:32:3: error: a function-definition is not allowed here before '{' token
   32 |   {
      |   ^
a.cc:38:11: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   38 |   int main()
      |           ^~
a.cc:38:11: note: remove parentheses to default-initialize a variable
   38 |   int main()
      |           ^~
      |           --
a.cc:38:11: note: or replace parentheses with braces to value-initialize a variable
a.cc:39:3: error: a function-definition is not allowed here before '{' token
   39 |   {
      |   ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
 
 
int main(){
  ll a;
  double b;
  cin >> a >> b;
  ll ib = b*100+0.5;
  a * ib;
  a /= 100;
  printf("%lld\n", a)
  return 0;
}

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

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


int main(){
  ll a;
  double b;
  cin >> a >> b;
  ll ib *= b*100+0.5;
  a * ib;
  a /= 100;
  printf("%lld\n", a)
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: expected initializer before '*=' token
   10 |   ll ib *= b*100+0.5;
      |         ^~
a.cc:11:7: error: 'ib' was not declared in this scope; did you mean 'b'?
   11 |   a * ib;
      |       ^~
      |       b
a.cc:13:22: error: expected ';' before 'return'
   13 |   printf("%lld\n", a)
      |                      ^
      |                      ;
   14 |   return 0;
      |   ~~~~~~
Language: Java

import java.util.*;
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    BigDecimal aActual = new BigDecimal(sc.next());
    BigDecimal bActual = new BigDecimal(sc.next());
    BigDecimal ansActual = aActual.multiply(bActual);
    System.out.println(ansActual.longValueExact());
  }
}


Compiler output:
Main.java:5: error: cannot find symbol
    BigDecimal aActual = new BigDecimal(sc.next());
    ^
  symbol:   class BigDecimal
  location: class Main
Main.java:5: error: cannot find symbol
    BigDecimal aActual = new BigDecimal(sc.next());
                             ^
  symbol:   class BigDecimal
  location: class Main
Main.java:6: error: cannot find symbol
    BigDecimal bActual = new BigDecimal(sc.next());
    ^
  symbol:   class BigDecimal
  location: class Main
Main.java:6: error: cannot find symbol
    BigDecimal bActual = new BigDecimal(sc.next());
                             ^
  symbol:   class BigDecimal
  location: class Main
Main.java:7: error: cannot find symbol
    BigDecimal ansActual = aActual.multiply(bActual);
    ^
  symbol:   class BigDecimal
  location: class Main
5 errors
Language: C++

#include <bits/stdc++.h>

/*                    ॐ Shree ॐ                     */
/* ॐ ॐ ॐ
ॐ भूर् भुवः स्वः
तत् सवितुर्वरेण्यं
भर्गो देवस्य धीमहि
धियो यो नः प्रचोदयात्
*/
using namespace std;
typedef long long int ll;
int main() {
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	cout.tie(NULL);
#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
#else
// online submission
#endif
	ll a;
	cin>>a;
	string b;
	cin>>b;
	int=(b[0]-'0')*100+(b[2]-'0')*10+(b[3]-'0');
	cout<<(a*m)/100;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:26:12: error: expected unqualified-id before '=' token
   26 |         int=(b[0]-'0')*100+(b[2]-'0')*10+(b[3]-'0');
      |            ^
a.cc:27:18: error: 'm' was not declared in this scope
   27 |         cout<<(a*m)/100;
      |                  ^
Language: C++

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

using ll = long long;
using ull = unsigned long long;
using ld = long double;

#define MOD 1000000007LL

#define rep(i, n) for(ll (i) = 0LL;(i) < (ll)(n);(i)++)
#define rep2(i, s, e) for(ll (i) = (ll)(s);(i) < (ll)(e);(i)++)
#define repi(i, n) for(ll (i) = 0LL;(i) <= (ll)(n);(i)++)
#define repi2(i, s, e) for(ll (i) = (ll)(s);(i) <= (ll)(e);(i)++)
#define per(i, n) for(ll (i) = (ll)(n) - 1LL;(i) >= 0LL;(i)--)
#define per2(i, s, e) for(ll (i) = (ll)(s) - 1LL;(i) >= (ll)(e);(i)--)
#define peri(i, n) for(ll (i) = (ll)(n);(i) >= 0LL;(i)--)
#define peri2(i, s, e) for(ll (i) = (ll)(s);(i) >= (ll)(e);(i)--)
#define iter(i, it) for(auto &(i): (it))

template<typename T, typename U> ostream& operator<<(ostream &s, const pair<T, U> m) {
    cout << "(" << m.first << ", " << m.second << ")";
    return s;
}
template<typename T, typename U> ostream& operator<<(ostream &s, const map<T, U> m) {
    ll c = 0;
    cout << "{ ";
    iter(i, m) cout << i << (c++ == m.size() - 1 ? " " : ", ");
    cout << "}";
    return s;
}
template<typename T> ostream& operator<<(ostream &s, const vector<T> &v) {
    cout << "{ ";
    rep(i, v.size()) cout << v[i] << (i == v.size() - 1 ? " " : ", ");
    cout << "}";
    return s;
}
template<typename T> ostream& operator<<(ostream &s, const list<T> &v) {
    ll c = 0;
    cout << "{ ";
    iter(i, v) cout << i << (c++ == v.size() - 1 ? " " : ", ");
    cout << "}";
    return s;
}

int main(void) {
    ll A, B1, B2;
    cin >> A >> B;
    scanf("%lld %lld.%lld", &A, &B1, &B2);
    cout << A * (B1 * 100 + B2) / 100 << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:47:17: error: 'B' was not declared in this scope; did you mean 'B2'?
   47 |     cin >> A >> B;
      |                 ^
      |                 B2
Language: C++

#include <bits/stdc++.h> 
 
using namespace std;
 
int main (){
 
long long int x;
float y;
 
cin >> x >> y;
 
 cout << (x * floor(y * 100)) / 100;
 
 
    return 0;
}
#include <bits/stdc++.h> 

using namespace std;

int main (){

long long int x;
float y;

cin >> x >> y;

 cout << (x * floor(y * 100)) / 100;


    return 0;
}


Compiler output:
a.cc:21:5: error: redefinition of 'int main()'
   21 | int main (){
      |     ^~~~
a.cc:5:5: note: 'int main()' previously defined here
    5 | int main (){
      |     ^~~~
Language: C++

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

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


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

#include <stdio.h>
#include <algorithm>
#include <cmath>
#include <iostream>
#include <vector>

typedef long long ll;
using namespace std;

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

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

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

int main() {
  long long a;
  double b;
  cin>>a>>b;
  b+=0.01
  cout<<(a*b/1LL)<<endl;
}


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

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

int main() {
  long long a;
  long double b;
  cin>>a>>b;
  b+=0.01LL
  cout<<(a*b/1LL)<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:6: error: unable to find numeric literal operator 'operator""LL'
    8 |   b+=0.01LL
      |      ^~~~~~
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;
import java.util.Arrays;

public class Main {
	public static void main(final String[] args){
    
    final Scanner sc = new Scanner(System.in);
    //final List<Long> list = new ArrayList<>();

    long a = sc.nextLong();
    double b = sc.nextDouble();

    int c = b * 100;

    long ans = a * c / 100;

    System.out.println((long)ans);

    
    






    

    



    
  

    


    


    

    
    
    



    





}
}

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

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define mx (ll)1e18
const double exp = 1e-9;

void solve()
{
    ll a;
    double b;
    cin>>a>>b;
    ll c = (ll)(b*100+esp);
    cout<<(a*c)/100<<endl;
}


int main()
{
    solve();
}


Compiler output:
a.cc:5:14: error: 'const double exp' redeclared as different kind of entity
    5 | const double exp = 1e-9;
      |              ^~~
In file included from /usr/include/features.h:523,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/os_defines.h:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:683,
                 from /usr/include/c++/14/cassert:43,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:33,
                 from a.cc:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:113:1: note: previous declaration 'double exp(double)'
  113 | __MATHCALL_VEC (exp,, (_Mdouble_ __x));
      | ^~~~~~~~~~~~~~
a.cc: In function 'void solve()':
a.cc:12:23: error: 'esp' was not declared in this scope; did you mean 'exp'?
   12 |     ll c = (ll)(b*100+esp);
      |                       ^~~
      |                       exp
Language: Java

import java.util.*;

public class Main {
  
  public static void main(String[] args) {
    
    Scanner scan = new Scanner(System.in);
    float A = scan.nextFloat();
    float B = scan.nextFloat();
    
    float C = A*B;
    int D = (int) Cf;
    
    System.out.println(D);
  }
}


Compiler output:
Main.java:12: error: cannot find symbol
    int D = (int) Cf;
                  ^
  symbol:   variable Cf
  location: class Main
1 error
Language: Java

import java.util.*;

public static Main {
  
  public class void main(String[] args) {
    
    Scanner scan = new Scanner;
    float A = scan.nextFloat();
    float B = scan.nextFloat();
    
    float C = A*B;
    int D = (int) Cf;
    
    System.out.println(D);
  }
}


Compiler output:
Main.java:3: error: class, interface, enum, or record expected
public static Main {
              ^
Main.java:5: error: <identifier> expected
  public class void main(String[] args) {
              ^
Main.java:8: error: unnamed classes are a preview feature and are disabled by default.
    float A = scan.nextFloat();
    ^
  (use --enable-preview to enable unnamed classes)
Main.java:14: error: class, interface, enum, or record expected
    System.out.println(D);
    ^
Main.java:15: error: class, interface, enum, or record expected
  }
  ^
5 errors
Language: Java

import java.util.*;

public class Main {
  
  public static void main(String[] args) {
    
    Scanner scan = new Scanner(System.in);
    float A = scan.nextFloat();
    float B = scan.nextFloat();
    
    float C = Math.floor(A*B);
    
    System.out.println(C);
  }
}


Compiler output:
Main.java:11: error: incompatible types: possible lossy conversion from double to float
    float C = Math.floor(A*B);
                        ^
1 error
Language: Java

import java.util.*;

public static Main {
  
  public class void main(String[] args) {
    
    Scanner scan = new Scanner;
    float A = scan.nextFloat();
    float B = scan.nextFloat();
    
    float C = Math.floor(A*B);
    
    System.out.println(C);
  }
}

Compiler output:
Main.java:3: error: class, interface, enum, or record expected
public static Main {
              ^
Main.java:5: error: <identifier> expected
  public class void main(String[] args) {
              ^
Main.java:8: error: unnamed classes are a preview feature and are disabled by default.
    float A = scan.nextFloat();
    ^
  (use --enable-preview to enable unnamed classes)
Main.java:13: error: class, interface, enum, or record expected
    System.out.println(C);
    ^
Main.java:14: error: class, interface, enum, or record expected
  }
  ^
5 errors
Language: C

#include<stdio.h>
int main()
{
 long long int a,M;
double b;
scanf("%lld",&a);
scanf("%lf",&b);
if((a<=1000000000000000)&&(b<=10))
{
M=a*b;
printf("%lld",M);
}
else
return 0;


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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'unsigned' specified with 'double'
    7 |   unsigned double x = B*100.00;
      |   ^~~~~~~~
Language: C++

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

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

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

	LostMartian

****************************************/
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <fstream>
#include <queue>
#include <deque>
#include <bitset>
#include <iterator>
#include <list>
#include <stack>
#include <map>
#include <unordered_map>
#include <set>
#include <functional>
#include <utility>
#include <climits>
#include <numeric>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <cassert>
using namespace std;
typedef long long ll;
#define rep(i,m,n) for(ll i=m; i<n; i++)
#define repr(i,m,n) for(ll i=m; i>=n; i--)
#define vll vector<ll >
#define vvl vector<vector<ll > >
#define pi pair<ll, ll >
#define pb push_back
#define mk make_pair
#define sz size()
#define fi first
#define se second
#define all(x) x.begin(), x.end()
#define d(x) cout<<"Value of "#x" = "<<x<<"\n";
#define debug(...) fprintf(stderr, __VA_ARGS__), fflush(stderr)
#define LOCAL #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); #endif
#define FAST ios_base::sync_with_stdio(false); cin.tie(NULL);
long long a [100010];
int main()
{
	clock_t z = clock();
	FAST
	//LOCAL
	ll a;
    double b;
    cin >> a >> b;
    ll c = (ll)(b * 100.0 + eps);
    cout << (a * c) / 100 << endl;


	debug("Total Time: %.3f\n", (double)(clock() - z) / CLOCKS_PER_SEC);
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:55:29: error: 'eps' was not declared in this scope
   55 |     ll c = (ll)(b * 100.0 + eps);
      |                             ^~~
Language: C++

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

	LostMartian

****************************************/
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <fstream>
#include <queue>
#include <deque>
#include <bitset>
#include <iterator>
#include <list>
#include <stack>
#include <map>
#include <unordered_map>
#include <set>
#include <functional>
#include <utility>
#include <climits>
#include <numeric>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <cassert>
using namespace std;
typedef long long ll;
#define rep(i,m,n) for(ll i=m; i<n; i++)
#define repr(i,m,n) for(ll i=m; i>=n; i--)
#define vll vector<ll >
#define vvl vector<vector<ll > >
#define pi pair<ll, ll >
#define pb push_back
#define mk make_pair
#define sz size()
#define fi first
#define se second
#define all(x) x.begin(), x.end()
#define d(x) cout<<"Value of "#x" = "<<x<<"\n";
#define debug(...) fprintf(stderr, __VA_ARGS__), fflush(stderr)
#define LOCAL #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); #endif
#define FAST ios_base::sync_with_stdio(false); cin.tie(NULL);
int main()
{
	clock_t z = clock();
	FAST
	//LOCAL
	int n;
	scanf("%d", &n);
	for (int i = 0; i < n; i++) scanf("%lld", &a[i]);
	int zero = 0;
	for (int i = 0; i < n; i++)if (a[i] == 0) zero ++;
	if (zero > 0) {
// a[i] contains 0
		printf("0\n");
		return 0;
	}
	long long prod = 1;
	for (int i = 0; i < n; i++) {
		if (a[i ] <= 1000000000000000000 / prod ) {
// This condition is equivalent to prod*a[i] <=10ˆ18
			prod *= a[i];
		} else {
			printf("-1\n");
			return 0;
		}
	}
	printf("%lld\n", prod );


	debug("Total Time: %.3f\n", (double)(clock() - z) / CLOCKS_PER_SEC);
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:53:52: error: 'a' was not declared in this scope
   53 |         for (int i = 0; i < n; i++) scanf("%lld", &a[i]);
      |                                                    ^
a.cc:55:40: error: 'a' was not declared in this scope
   55 |         for (int i = 0; i < n; i++)if (a[i] == 0) zero ++;
      |                                        ^
a.cc:63:21: error: 'a' was not declared in this scope
   63 |                 if (a[i ] <= 1000000000000000000 / prod ) {
      |                     ^
Language: C++

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

	LostMartian

****************************************/
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <fstream>
#include <queue>
#include <deque>
#include <bitset>
#include <iterator>
#include <list>
#include <stack>
#include <map>
#include <unordered_map>
#include <set>
#include <functional>
#include <utility>
#include <climits>
#include <numeric>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <cassert>
using namespace std;
typedef long long ll;
#define rep(i,m,n) for(ll i=m; i<n; i++)
#define repr(i,m,n) for(ll i=m; i>=n; i--)
#define vll vector<ll >
#define vvl vector<vector<ll > >
#define pi pair<ll, ll >
#define pb push_back
#define mk make_pair
#define sz size()
#define fi first
#define se second
#define all(x) x.begin(), x.end()
#define d(x) cout<<"Value of "#x" = "<<x<<"\n";
#define debug(...) fprintf(stderr, __VA_ARGS__), fflush(stderr)
#define LOCAL #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); #endif
#define FAST ios_base::sync_with_stdio(false); cin.tie(NULL);
int main()
{
	clock_t z = clock();
	FAST
	//LOCAL
	int n;
	scanf("%d", &n);
	for (int i = 0; i < n; i++) scanf("%lld", &a[i]);
	int zero = 0;
	2
	for (int i = 0; i < n; i++)if (a[i] == 0) zero ++;
	if (zero > 0) {
// a[i] contains 0
		printf("0\n");
		return 0;
	}
	long long prod = 1;
	for (int i = 0; i < n; i++) {
		if (a[i ] <= 1000000000000000000 / prod ) {
// This condition is equivalent to prod*a[i] <=10ˆ18
			prod *= a[i];
		} else {
			printf("-1\n");
			return 0;
		}
	}
	printf("%lld\n", prod );


	debug("Total Time: %.3f\n", (double)(clock() - z) / CLOCKS_PER_SEC);
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:53:52: error: 'a' was not declared in this scope
   53 |         for (int i = 0; i < n; i++) scanf("%lld", &a[i]);
      |                                                    ^
a.cc:55:10: error: expected ';' before 'for'
   55 |         2
      |          ^
      |          ;
   56 |         for (int i = 0; i < n; i++)if (a[i] == 0) zero ++;
      |         ~~~
a.cc:56:25: error: 'i' was not declared in this scope
   56 |         for (int i = 0; i < n; i++)if (a[i] == 0) zero ++;
      |                         ^
a.cc:64:21: error: 'a' was not declared in this scope
   64 |                 if (a[i ] <= 1000000000000000000 / prod ) {
      |                     ^
Language: Java

import java.util.*;
import java.util.stream.*;
import java.math.*;
class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    BigDecimal A = BigDecimal.valueOf(sc.next());
    BigDecimal B = BigDecimal.valueOf(sc.next());
    System.out.println(A.multiply(B).setScale(0, RoundingMode.DOWN));
  }
}

Compiler output:
Main.java:7: error: no suitable method found for valueOf(String)
    BigDecimal A = BigDecimal.valueOf(sc.next());
                             ^
    method BigDecimal.valueOf(long) is not applicable
      (argument mismatch; String cannot be converted to long)
    method BigDecimal.valueOf(double) is not applicable
      (argument mismatch; String cannot be converted to double)
Main.java:8: error: no suitable method found for valueOf(String)
    BigDecimal B = BigDecimal.valueOf(sc.next());
                             ^
    method BigDecimal.valueOf(long) is not applicable
      (argument mismatch; String cannot be converted to long)
    method BigDecimal.valueOf(double) is not applicable
      (argument mismatch; String cannot be converted to double)
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
2 errors
Language: C++

#include <bits/stdc++.h> //全てのヘッダファイルをインクルード
 
//ループ
#define rep(i, n) for(int i = 0; i < (n); i++) //普通のループ
#define repr(i, n) for(int i = n; i >= 0; i--) //逆ループ
 
//型名省略
typedef long long ll;
//値
static const ll MX = 100005;
static const ll MX_ll = 1e18;
const double PI = acos(-1); //π
 
using namespace std;
 
//ソート
#define SIZE_OF_ARRAY(array) (sizeof(array)/sizeof(array[0]))
 
//#include "./lib/generic/search.h"
 
//ポップカウントの計算
int pcnt(int x){ 
    return __builtin_popcount(x);  //2進数の1の数を数えす
}

//文字列入力した小数値を小数点なくして返す
int changeDoubleToInt(string decimal){ 
    decimal.erase(1, 1); //小数点削除
    return n_decimal = atoi(decimal.c_str()) //c_strでchar*に変換後、atoiでintに変換
}

int main(){
    ll a;
    cin >> a;
    string b;
    cin >> b;
    ll nb = (ll)changeDoubleToInt(b);
    a *= nb;
    a /= 100;
    printf("%lld\n", a);
    return 0;
}

Compiler output:
a.cc: In function 'int changeDoubleToInt(std::string)':
a.cc:29:12: error: 'n_decimal' was not declared in this scope; did you mean 'decimal'?
   29 |     return n_decimal = atoi(decimal.c_str()) //c_strでchar*に変換後、atoiでintに変換
      |            ^~~~~~~~~
      |            decimal
a.cc:29:45: error: expected ';' before '}' token
   29 |     return n_decimal = atoi(decimal.c_str()) //c_strでchar*に変換後、atoiでintに変換
      |                                             ^
      |                                             ;
   30 | }
      | ~