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

/* HARDWORK IS THE KEY TO SUCCESS.
   RATING IS TEMPORARY , KNOWLEDGE IS PERMANENT.!!!*/
 
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ld long double
#define T ll t = 1; cin>>t; while(t--)
#define ain ll n,k,i; cin>>n; ll a[n]; for(i=0; i<n; i++) cin>>a[i]
#define matin ll m,n; cin >> n >> m; ll a[n + 1][m + 1]; for(ll i=1;i<=n;i++) for(ll j=1;j<=m;j++) cin>>a[i][j];
#define all(x) (x).begin(), (x).end()
#define F first
#define S second
#define I insert
#define pb push_back
 
const ll maxs = 1e5+3;
const ll maxs1 = 1e3+4;
const ll mod = 1e9 + 7;
inline ll add(ll a, ll b) { return (mod + a + b) % mod;}
inline ll sub(ll a, ll b) {return (a - b + mod) % mod;}
inline ll mul(ll a, ll b) {return (1ll * a * b) % mod;}
ll fastpow(ll x, ll y) {
    ll res = 1; x = x % mod; while (y > 0) { if(y & 1) res = (res * x) % mod; y = y >> 1;x = (x * x) % mod;}return res;}
ll inv(ll x) {
    return fastpow(x, mod - 2);
}
 
 
 
int main()
{
    ios_base::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
    ll a,b;
    ain;
    ll pro = 1;
    for(i = 0;i < n;++i)
    {
        pro *= a[i];
        if(pro > 1e18)
        {
            cout << -1;
            return 0;
        }
    }
 
 cout << pro;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:34: error: conflicting declaration 'long long int a [n]'
    9 | #define ain ll n,k,i; cin>>n; ll a[n]; for(i=0; i<n; i++) cin>>a[i]
      |                                  ^
a.cc:37:5: note: in expansion of macro 'ain'
   37 |     ain;
      |     ^~~
a.cc:36:8: note: previous declaration as 'long long int a'
   36 |     ll a,b;
      |        ^
a.cc:9:65: error: invalid types 'long long int[long long int]' for array subscript
    9 | #define ain ll n,k,i; cin>>n; ll a[n]; for(i=0; i<n; i++) cin>>a[i]
      |                                                                 ^
a.cc:37:5: note: in expansion of macro 'ain'
   37 |     ain;
      |     ^~~
a.cc:41:17: error: invalid types 'long long int[long long int]' for array subscript
   41 |         pro *= a[i];
      |                 ^
Language: C++

#include <stdio.h>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> A >> B;
      |   ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include <stdio.h>
  +++ |+#include <iostream>
    2 | using namespace std;
a.cc:8:3: error: 'cout' was not declared in this scope
    8 |   cout << (A*(B*100))/100 << endl;
      |   ^~~~
a.cc:8:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:30: error: 'endl' was not declared in this scope
    8 |   cout << (A*(B*100))/100 << endl;
      |                              ^~~~
a.cc:2:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    1 | #include <stdio.h>
  +++ |+#include <ostream>
    2 | using namespace std;
Language: C++

#include <stdio.h>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'long' specified with 'float'
    6 |   long float B;
      |   ^~~~
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> A >> B;
      |   ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include <stdio.h>
  +++ |+#include <iostream>
    2 | using namespace std;
a.cc:8:3: error: 'cout' was not declared in this scope
    8 |   cout << (A*(B*100))/100 << endl;
      |   ^~~~
a.cc:8:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:30: error: 'endl' was not declared in this scope
    8 |   cout << (A*(B*100))/100 << endl;
      |                              ^~~~
a.cc:2:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    1 | #include <stdio.h>
  +++ |+#include <ostream>
    2 | using namespace std;
Language: C++

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

int main(){
  long long int a,b,c;
  cin >> a;
  string s;
  cin >> s;
  s.erase(1);
  b = to_int(s);
  long long int ans = (a*b)/100;
  cout << ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:7: error: 'to_int' was not declared in this scope; did you mean 'u_int'?
   10 |   b = to_int(s);
      |       ^~~~~~
      |       u_int
Language: C++

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

int main()
{
  long float A,B = 0;
  long int ans = 0;
  
  cin >> A >> B;
  
  ans = A*B;
  cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'long' specified with 'float'
    6 |   long float A,B = 0;
      |   ^~~~
a.cc:6:3: error: 'long' specified with 'float'
Language: C++

#include<iostream>

using namespace std;

int main(){
  long long a;
  double b;
  cin>>a>>b;
  cout<<(long long)(a*(__float128)nextafter(b,1e9))<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:35: error: 'nextafter' was not declared in this scope
    9 |   cout<<(long long)(a*(__float128)nextafter(b,1e9))<<endl;
      |                                   ^~~~~~~~~
Language: C++

#include<isotream>

using namespace std;

int main(){
  double a,b;
  cin>>a>>b;
  cout<<(long long)((__float128)a*b+.5)<<endl;
}


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

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

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

#include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(n);++i)
using ll=long long;
using namespace std;
int main(){
  ll a;
    double b;
cin>>a>>b;
  ll ib=100*b;//一旦bを100倍
  a*=ib;//整数同士で演算
  a/=100;//1/100で元に戻す
  cout<<c<<endl;
}
  

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

#include <algorithm>
#include <array>
#include <cassert>
#include <cctype>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <optional>
#include <queue>
#include <set>
#include <string>
#include <string_view>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using namespace std;

int64_t read_int() {
    int64_t ret = 0, sgn = 1;
    int ch = getchar_unlocked();
    while (isspace(ch)) { ch = getchar_unlocked(); }
    if (ch == '-') { sgn = -1; ch = getchar_unlocked(); }
    for (; isdigit(ch); ch = getchar_unlocked())
        ret = (ret * 10) + (ch - '0');
    ungetc(ch, stdin);
    return sgn * ret;
}

#define REP(i, n) for (int i = 0; i < (int)(n); ++i)
#define FOR(i, a, b) for (int i = (int)(a); i < (int)(b); ++i)
#define ALL(c) (c).begin(), (c).end()

template <typename T> inline void assign_min(T& x, const T& value) noexcept { x = min(x, value); }
template <typename T> inline void assign_max(T& x, const T& value) noexcept { x = max(x, value); }

constexpr char LF = '\n';

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

string read_word() {
    string ret;
    int ch = getchar_unlocked();
    while (isspace(ch)) { ch = getchar_unlocked(); }
    for (; ch != EOF && !isspace(ch); ch = getchar_unlocked())
        ret += ch;
    ungetc(ch, stdin);
    return ret;
}

using int128 = __int128_t;

int main() {
    int128 A = read_int();
    string B = read_word();

    int128 C = 0;
    REP(i, B.size()) {
        if (B[i] == '.') continue;
        C = (C * 10) + (B[i] - '0');
    }
    cout << int64_t(A*C/100) << endl;
}


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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:2:12: error: expected primary-expression before 'long'
    2 | #define ll long long int
      |            ^~~~
a.cc:10:12: note: in expansion of macro 'll'
   10 |     ll BLL=ll(B*100);
      |            ^~
Language: C++

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

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

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

#include<stdio.h>
int main()
{
	long long int a,b,ans;
    double s;
	scanf("%lld %lf",&a,&s);
	b=round(s*100);
	ans=a*b/100;
	printf("%lld",ans);
}

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

#include <bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define PI acos(-1.0)
#define test() int t; cin>>t; while(t--)
#define ll long long int
int mod = 1e9 + 7;
int main()
{
	IOS;
#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
#endif
	ll a;
	double double b;
	cin >> a >> b;
	ll ans = ((a * (b * 100)) / 100);
	cout << ans << endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:9: error: two or more data types in declaration of 'b'
   16 |         double double b;
      |         ^~~~~~
a.cc:17:21: error: 'b' was not declared in this scope
   17 |         cin >> a >> b;
      |                     ^
Language: C

/**************************************
* AUTHOR : SHAKIL MOSHARROF 202014048 *
* NICK : xBCC [2013-2019] C/N:1819    *
* INSTITUTION : MIST CSE 20           *
***************************************/
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<ctype.h>
#include<float.h>
#define PI 3.14
int main() 
{
	long double a,b;
	scanf("%Ld %Ld",&a,&b);
	int result=100.05*b;
	printf("%Ld",(int)a*c/100 );


return 0;
}
/*******************************
* 
*
*
*
*
*
********************************/

Compiler output:
main.c: In function 'main':
main.c:17:29: error: 'c' undeclared (first use in this function)
   17 |         printf("%Ld",(int)a*c/100 );
      |                             ^
main.c:17:29: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include<iostream>
#include<string>
#include<algorithm>
#define LL long long
#define LD long double
#define FIO ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL)
using namespace std;

int main()
{
	FIO;
	LD a, b, x; cin>>a>>b, x=a*b;
	LL i=trunc(x);
	printf("%lld\n", i);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:14: error: 'trunc' was not declared in this scope
   13 |         LL i=trunc(x);
      |              ^~~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
    long long A;1
    cin>>A;
    double B;
    cin>>B;
    long long r;
    r=A*B;
    cout<<r<<endl;
    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:5:18: error: expected ';' before 'cin'
    5 |     long long A;1
      |                  ^
      |                  ;
    6 |     cin>>A;
      |     ~~~
Language: C

#include<iostream>
using namespace std;
int main ()
{
    float b;
    long long a,x;
    cin>>a>>b;
    x=a*b;
    cout<<x<<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<stdio.h>
int main()
{
    int A,A x B;
    float B;
    scanf("%d",&A);
    scanf("%f",&B);
    A x B= A*B;
    printf("%d",A x B);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'x'
    4 |     int A,A x B;
      |             ^
main.c:8:6: error: expected ';' before 'x'
    8 |     A x B= A*B;
      |      ^~
      |      ;
main.c:9:18: error: expected ')' before 'x'
    9 |     printf("%d",A x B);
      |           ~      ^~
      |                  )
Language: C

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

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


Compiler output:
main.c: In function 'main':
main.c:6:12: error: two or more data types in declaration specifiers
    6 |     double double a;
      |            ^~~~~~
Language: Java

import java.util.*;
public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long A = sc.nextLong();
        long B = (long)(sc.nextDouble()*100　+0.9);
        
        long res = A*B/100;
        
        System.out.println(res);
    }

}

Compiler output:
Main.java:7: error: illegal character: '\u3000'
        long B = (long)(sc.nextDouble()*100?+0.9);
                                           ^
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define PI 3.141592653589793
#define MOD 1000000007
#define rep(i, n) for (ll i = 0; i < n; i++)
#define all(v) v.begin(), v.end()
typedef long long ll;
typedef long double ld;




int main(){
    ld A, B;
    cin >> A >> B;
    B *= 100;
    B += 0.05
    cout << ll((A * B) / 100) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:14: error: expected ';' before 'cout'
   17 |     B += 0.05
      |              ^
      |              ;
   18 |     cout << ll((A * B) / 100) << endl;
      |     ~~~~
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;
  double b;
  cin>>a>>b;
  ll ib=b*100+0.1;
  a*=ib;
  a/=100;
  printf("%lld\n", d);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:20: error: 'd' was not declared in this scope
   14 |   printf("%lld\n", d);
      |                    ^
Language: C++

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

int main()
{
long long a;
  double b;
  cin>>a>>b;
  int bb=b*100+0.001
  cout<<(a*bb)/100;
  

}


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

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


int main(){
  ll A;
  bouble b;
   cin >> A;
   cin >> b;
  int B=100*b;
  
  cout << (A*B)/100 << endl;
  
}
  


Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'bouble' was not declared in this scope; did you mean 'double'?
    9 |   bouble b;
      |   ^~~~~~
      |   double
a.cc:11:11: error: 'b' was not declared in this scope
   11 |    cin >> b;
      |           ^
Language: C++

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


int main(){
  ll A;
  bouble b;
   cin >> A >> b;
  int B=100*b;
  
  cout << (A*B)/100 << endl;
  
}
  


Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'bouble' was not declared in this scope; did you mean 'double'?
    9 |   bouble b;
      |   ^~~~~~
      |   double
a.cc:10:16: error: 'b' was not declared in this scope
   10 |    cin >> A >> b;
      |                ^
Language: C++

a,b = map(float,input().split());

print(int(a*b))
	


Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a,b = map(float,input().split());
      | ^
a.cc:3:6: error: expected constructor, destructor, or type conversion before '(' token
    3 | print(int(a*b))
      |      ^
Language: C++

#include <bits/stdc++.h>

using namespace std;

#define ll long long
#define ar array

double a,b;


void solve(){

    cin >> a >> b;

    double t = a*(b*100);

    ll c = floor((t/100);
    cout << c << endl;
}





int main(){

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

    solve();

}

Compiler output:
a.cc: In function 'void solve()':
a.cc:17:25: error: expected ')' before ';' token
   17 |     ll c = floor((t/100);
      |                 ~       ^
      |                         )
Language: C++

#include <iostream>
#include <cmath>
int main(){
  unsigned long A;
  std::cin >> A;
  double B;
  std::cin >> B;
  
  int tail1;
  tail = A % 100;
  int tail2;
  tail2 = std::floor(B);
  int tail_to_add = floor(tail * (B - tail2));
  
  
  
  unsigned long mult;
  
  mult = (A - tail) * B + tail_to_add;
  
  std::cout << mult;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: 'tail' was not declared in this scope; did you mean 'tail1'?
   10 |   tail = A % 100;
      |   ^~~~
      |   tail1
Language: C++

#include <iostream>
int main(){
  unsigned long A;
  std::cin >> A;
  unsigned double B;
  std::cin >> B;
  
  unsigned long mult;
  
  mult = A * B;
  
  std::cout << mult;
  
  return 0;
}

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

#include <iostream>
int main(){
  long unsigned A;
  std::cin >> A;
  double unsigned B;
  std::cin >> B;
  
  long unsigned mult;
  
  mult = A * B;
  
  std::cout << mult;
  
  return 0;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: expected initializer before 'cin'
    7 |   cin >> a >> b;
      |   ^~~
a.cc:8:48: error: 'b' was not declared in this scope
    8 |   cout << static_cast<ll>((a * static_cast<ll>(b * 100)) / 100) << endl;
      |                                                ^
Language: C++

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


long long A, ans;
double B;

int main(){

    cin >>A >> B;

    B = (B+0.5) 1000;

    ans= (long long)A*B;

    cout << ans/1000;

    return  0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:16: error: expected ';' before numeric constant
   15 |     B = (B+0.5) 1000;
      |                ^~~~~
      |                ;
Language: C++

#include <iostream>

using namespace std;

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

	cout << floor(A * B);

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: 'floor' was not declared in this scope
   10 |         cout << floor(A * B);
      |                 ^~~~~
Language: C++

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


long long A, ans;
long double B,seki;

int main(){

    cin >>A >> B;

    seki = (long double)A*B

    cout << (long long)seki;

    return  0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:28: error: expected ';' before 'cout'
   15 |     seki = (long double)A*B
      |                            ^
      |                            ;
   16 | 
   17 |     cout << (long long)seki;
      |     ~~~~
Language: Java

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

Compiler output:
Main.java:1: error: '.' expected
import Scanner;
              ^
1 error
Language: Java

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

Compiler output:
Main.java:1: error: '.' expected
import Scanner;
              ^
Main.java:7: error: reached end of file while parsing
    System.out.println((a*(b*100))/100);
                                        ^
2 errors
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:18: error: expected ';' before 'cout'
    8 |         cin>>a>>b
      |                  ^
      |                  ;
    9 |         cout<<((long long)(b*100+0.000001))*a/100;
      |         ~~~~
Language: C++

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

    ull a,b;
	string s;

    cin>>a>>s;
    b=(s[0]-'0')*100+(s[2]-'0')*10+s[3]-'0';
    cout<<a*b/100<<endl;

   
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:27: error: declaration does not declare anything [-fpermissive]
    3 | #define ull unsigned long long ;
      |                           ^~~~
a.cc:6:5: note: in expansion of macro 'ull'
    6 |     ull a,b;
      |     ^~~
a.cc:6:9: error: 'a' was not declared in this scope
    6 |     ull a,b;
      |         ^
a.cc:6:11: error: 'b' was not declared in this scope
    6 |     ull a,b;
      |           ^
Language: C

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

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 <stdio.h>
#include <math.h>

int main(){
  long double y;
  int x;
  scanf("%d %Lf", &x, &y);
  (long double) y=y*x;
  // printf("%llf\n", y);
  // printf("%llf\n", y);
  printf("%Lf\n", truncl((long double)y));
}

Compiler output:
main.c: In function 'main':
main.c:8:18: error: lvalue required as left operand of assignment
    8 |   (long double) y=y*x;
      |                  ^
Language: C

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

int main(){
  long double x, y;
  scanf("%Lf %Lf", &x &y);
  x*=y;
  printf("%lld\n", trunc(x));
}

Compiler output:
main.c: In function 'main':
main.c:6:23: error: invalid operands to binary & (have 'long double *' and 'long double')
    6 |   scanf("%Lf %Lf", &x &y);
      |                    ~~ ^
      |                    |
      |                    long double *
Language: C

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

int main(){
  long double x, y;
  scanf("%lf %lf", &x &y);
  x*=y;
  printf("%lld\n", trunc(x));
}

Compiler output:
main.c: In function 'main':
main.c:6:23: error: invalid operands to binary & (have 'long double *' and 'long double')
    6 |   scanf("%lf %lf", &x &y);
      |                    ~~ ^
      |                    |
      |                    long double *
Language: C++

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

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

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: expected primary-expression before 'long'
    9 |     ll ans = long double floorl((long double)a * (long double)b);
      |              ^~~~
Language: C++

#define rep(i, n) rep2(i, 0, n)
#define rep2(i, m, n) for (int i = m; i < (n); i++)
typedef long long ll;
using namespace std;

int main(){
    long double b;
    ll a;
    cin >> a >> b;
    
    ll b_ = ll(b*100+0.001);
    
    cout << ll(floor(a*b_/100)) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'cin' was not declared in this scope
    9 |     cin >> a >> b;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #define rep(i, n) rep2(i, 0, n)
a.cc:13:5: error: 'cout' was not declared in this scope
   13 |     cout << ll(floor(a*b_/100)) << endl;
      |     ^~~~
a.cc:13:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:16: error: 'floor' was not declared in this scope
   13 |     cout << ll(floor(a*b_/100)) << endl;
      |                ^~~~~
a.cc:13:36: error: 'endl' was not declared in this scope
   13 |     cout << ll(floor(a*b_/100)) << endl;
      |                                    ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #define rep(i, n) rep2(i, 0, n)
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define all(a)  (a).begin(),(a).end()
typedef long long ll;
const ll mod=1000000007;
#define repi(i,a,b) for(ll i=ll(a);i<ll(b);++i)

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

Compiler output:
a.cc:9:3: error: extended character 　 is not valid in an identifier
    9 |   unsigned　long double a,b;cin >>a >>b;
      |   ^
a.cc: In function 'int main()':
a.cc:9:3: error: 'unsigned\U00003000long' was not declared in this scope
    9 |   unsigned　long double a,b;cin >>a >>b;
      |   ^~~~~~~~~~~~~~
a.cc:9:35: error: 'a' was not declared in this scope
    9 |   unsigned　long double a,b;cin >>a >>b;
      |                                   ^
a.cc:9:39: error: 'b' was not declared in this scope
    9 |   unsigned　long double a,b;cin >>a >>b;
      |                                       ^
Language: C++

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

int main(){

    ll A;
    string B;
    cin >> A >> B;

    int C[3];
    C[0] = B[0] - '0';
    C[1] = B[2] - '0';
    C[2] = B[3] - '0';

    ll D[3];
    D[0] = A * C[0] * 100;
    D[1] = A * C[1] * 10;
    D[2] = A * C[2];

    ll res = (D[0] + D[1] + D[2]) / 100;
    cout << res;
    return 0;
}#include "bits/stdc++.h"
using namespace std;
typedef long long ll;

int main(){

    ll A;
    string B;
    cin >> A >> B;

    int C[3];
    C[0] = B[0] - '0';
    C[1] = B[2] - '0';
    C[2] = B[3] - '0';

    ll D[3];
    D[0] = A * C[0] * 100;
    D[1] = A * C[1] * 10;
    D[2] = A * C[2];

    ll res = (D[0] + D[1] + D[2]) / 100;
    cout << res;
    return 0;
}

Compiler output:
a.cc:24:2: error: stray '#' in program
   24 | }#include "bits/stdc++.h"
      |  ^
a.cc:24:3: error: 'include' does not name a type
   24 | }#include "bits/stdc++.h"
      |   ^~~~~~~
a.cc:28:5: error: redefinition of 'int main()'
   28 | 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(){
    unsigned long long A;
    double double B;
    cin >> A >> B;
    int newB = B * 100;
    
    unsigned long long ans = A * newB;
    ans /= 100;
    cout << ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: two or more data types in declaration of 'B'
    6 |     double double B;
      |     ^~~~~~
a.cc:7:17: error: 'B' was not declared in this scope
    7 |     cin >> A >> B;
      |                 ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: two or more data types in declaration of 'B'
    6 |     double double B;
      |     ^~~~~~
a.cc:7:17: error: 'B' was not declared in this scope
    7 |     cin >> A >> B;
      |                 ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:8: error: conflicting declaration 'll b'
    9 |     ll b=b*100+0.1;
      |        ^
a.cc:7:10: note: previous declaration as 'ld b'
    7 |     ld a,b;
      |          ^
Language: C++

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

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

c=b*100;
cout<<(a*c-(a*c)%100)/100<<endl;
 
  
}

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

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

int main() {
   long int a;
doble float b;
long int c;
    cin>>a>>b;

c=b*100;
cout<<(a*c-(a*c)%100)/100<<endl;
 
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:1: error: 'doble' was not declared in this scope; did you mean 'double'?
    6 | doble float b;
      | ^~~~~
      | double
a.cc:8:13: error: 'b' was not declared in this scope
    8 |     cin>>a>>b;
      |             ^
Language: C++

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

int main() {
   long int a;
doble b;
long int c;
    cin>>a>>b;

c=b*100;
cout<<(a*c-(a*c)%100)/100<<endl;
 
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:1: error: 'doble' was not declared in this scope; did you mean 'double'?
    6 | doble b;
      | ^~~~~
      | double
a.cc:8:13: error: 'b' was not declared in this scope
    8 |     cin>>a>>b;
      |             ^
Language: C++

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

int main() {
   long int a;
doble b;
long int c;
    cin>>a>>b;

c=b*100+;
cout<<(a*c-(a*c)%100)/100<<endl;
 
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:1: error: 'doble' was not declared in this scope; did you mean 'double'?
    6 | doble b;
      | ^~~~~
      | double
a.cc:8:13: error: 'b' was not declared in this scope
    8 |     cin>>a>>b;
      |             ^
a.cc:10:9: error: expected primary-expression before ';' token
   10 | c=b*100+;
      |         ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: invalid operands of types 'float' and 'int' to binary 'operator%'
   10 | cout<<(a*c-(a*c)%100)/100<<endl;
      |            ~~~~~^~~~
      |              |   |
      |              |   int
      |              float
Language: Java

import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long A = sc.nextLong();
    double B = sc.nextDouble();
    long C = A * (B * 100 + 0.5);
    System.out.println(C / 100);
  }
}


Compiler output:
Main.java:8: error: incompatible types: possible lossy conversion from double to long
    long C = A * (B * 100 + 0.5);
               ^
1 error
Language: Java

import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long A = sc.nextLong();
    double B = sc.nextdouble();
    long C = (long)(A * B);
    System.out.println(C);
  }
}


Compiler output:
Main.java:7: error: cannot find symbol
    double B = sc.nextdouble();
                 ^
  symbol:   method nextdouble()
  location: variable sc of type Scanner
1 error
Language: Java

import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    long A = sc.nextLong();
    double B = sc.nextdouble();
    long C = (long)A * B;
    System.out.println(C);
  }
}

Compiler output:
Main.java:7: error: cannot find symbol
    double B = sc.nextdouble();
                 ^
  symbol:   method nextdouble()
  location: variable sc of type Scanner
Main.java:8: error: incompatible types: possible lossy conversion from double to long
    long C = (long)A * B;
                     ^
2 errors
Language: C++

#include <bits/stdc++.h>
#define pb push_back
#define ll long long
#define ret return
using namespace std;
int main() {
	ll a;
	long double b;
	cin>>a>>b;
	long double mid=a*b;
	ll res=mid;
	cout<<res<<endl;
	ret 0;


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

#include <iostream>
#include <string>
#include <math.h>
#include <vector>
#include <algorithm>
#include <iomanip>
#include <set>
#include <queue>
#include <deque>
#include <map>
#include <stack>
#include <cmath>
using namespace std;

#define mod 1000000007
#define ten5 100005
#define ten52 200005
#define ten6 1000005
#define PI 3.141592653589793
#define pb(x) push_back(x)
#define all(x) x.begin(),x.end()
#define mkpr(x1,x2) make_pair(x1,x2)
typedef long long int ll;


//stack<char> stk;
//set<ll> sll;
//map<string,ll> mp,mp1;
//map<pair<ll,ll>,ll>::iterator iter;
//map<ll,ll> mp;
//deque<char> deq;
//vector<ll> vll;
ll num[ten52];
ll path[ten52];

int main(void)
{
    double d,d1,d2;
    long long int m,n,i,j,k=0,h,save;
    string s,s1,s2;
    cin>>m>>d2;
    n=m*(d2*100)/100
    cout<<n;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:42:21: error: expected ';' before 'cout'
   42 |     n=m*(d2*100)/100
      |                     ^
      |                     ;
   43 |     cout<<n;
      |     ~~~~
Language: C++

db a,b;
    cin>>a>>b;
    b*=1000;
    a*=b;
    a/=1000;
    ll m=a;
    cout<<m<<endl;

Compiler output:
a.cc:1:1: error: 'db' does not name a type
    1 | db a,b;
      | ^~
a.cc:2:5: error: 'cin' does not name a type
    2 |     cin>>a>>b;
      |     ^~~
a.cc:3:5: error: 'b' does not name a type
    3 |     b*=1000;
      |     ^
a.cc:4:5: error: 'a' does not name a type
    4 |     a*=b;
      |     ^
a.cc:5:5: error: 'a' does not name a type
    5 |     a/=1000;
      |     ^
a.cc:6:5: error: 'll' does not name a type
    6 |     ll m=a;
      |     ^~
a.cc:7:5: error: 'cout' does not name a type
    7 |     cout<<m<<endl;
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops") 
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp> 
#define int long long
#define fr(i,a,b) for(int i = a ; i <= b ; ++i)
#define rep(i, a, b) for(int i = a; i < (b); ++i)
#define trav(a, x) for(auto& a : x)
#define all(x) begin(x), end(x)
#define rall(x) (x).rbegin(), (x).rend()
#define sz(x) (int)(x).size()
#define pb push_back
#define fst first
#define snd second
using namespace __gnu_pbds;
using ordered_set =
 tree<int, null_type,less<int>,
 rb_tree_tag,tree_order_statistics_node_update>;
//find_by_order(k):returns iterator to kth element starting from 0
//order_of_key(k):returns count of elements strictly smaller than k
typedef long long ll;typedef pair<int, int> pii;
typedef vector<int> vi;typedef long double ld;
template<class T>
using min_heap = priority_queue<T,vector<T>,greater<T>>; 
template<typename T> T gcd(T a, T b){return(b?__gcd(a,b):a);}
template<typename T> T lcm(T a, T b){return(a*(b/gcd(a,b)));}
template<typename T> 
void remdup(vector<T>& v) {
	sort(all(v)); v.erase(unique(all(v)), v.end());
}
template<typename T> void re(vector<T> &v) {trav(i,v) cin >> i;}
void unsyncIO() { ios_base::sync_with_stdio(0); cin.tie(0); }
#ifdef np
#include "C:\Users\navodit\Desktop\mycodes\pr.h"
#else
#define trace(...)
#endif

#define MOD 1000000007  

void solve(){
	int a ;
	ld b ; 
	cin >> a >> b; 
	c = b*100 + .5;
	int ans = (a*c)/100 ;
	cout << ans << endl;
}
signed main() {
	unsyncIO();
	int tt =1 ;
	// cin >> tt;
	rep(i,0,tt) solve();













#ifdef np
	cout <<endl<<endl<< "Time elapsed: " << 1.0 * clock() / CLOCKS_PER_SEC << " s.\n";
#endif
	return 0;
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:47:9: error: 'c' was not declared in this scope
   47 |         c = b*100 + .5;
      |         ^
Language: C++

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

int main() {
	long long	A;
	double	B;

	cin >> A >> B;

	long long	tmp = A * ((long long)(B * 100)) / 100);

	cout << tmp << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:63: error: expected ',' or ';' before ')' token
   14 |         long long       tmp = A * ((long long)(B * 100)) / 100);
      |                                                               ^
Language: C++

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

const double eps = 1e-6;
 
int main(){
  ll a;
  double b;
  cin >> a >> b;
  ll c = b * 100 + eps;
  cout << ll (a * c)/100 << endl;
}

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

#include <bits/stdc++.h>
#include <unordered_map>
#include <unordered_set>
#define initdp(a, b)  for (int i = 0; i <= a; i++)   for (int j = 0; j <= b; j++) dp[i][j] = -1;
#define pb push_back
#define pii pair<int, int>
#define ll long long
#define pll pair<ll, ll>
#define all(arr) arr.begin(), arr.end()
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repd(i, n) for (int i = n - 1; i >= 0; i--)
#define fo(i, l, r) for (int i = l; i <= r; i++)
#define inf 1000000001
#define inf1 1000000000000000001
#define mod 1000000007
#define pie 3.14159265358979323846
#define N 1000005
#define mid(l, r) l + (r - l) / 2
#define vec vector<int>
#define vecl vector<ll>
#define yes cout << "Yes" << endl;
#define no cout << "No" << endl;
#define umapi unordered_map<ll, ll>
#define umapc unordered_map<char, int>
#define endl "\n"
#define pui pair<int, pair<int,int> >
using namespace std;
 
 
void solve(){
    
    ll a;
    cin >>a;

    double b;
    cin >> b;

    


    int64_t ans = a*b;

    if( (b>= 9.9 && b <10) || b = 3.24 || b == 4.65 ) {
        if(ans > 0) {
            ans--;
        }
    }

    cout<<ans;


   
}
 
 
int main()
{
    ios::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
    cout<<fixed<<setprecision(10);
    int t = 1;
    // cin >> t;
    while (t--)
    {
        solve();
    }
}



Compiler output:
a.cc: In function 'void solve()':
a.cc:43:28: error: lvalue required as left operand of assignment
   43 |     if( (b>= 9.9 && b <10) || b = 3.24 || b == 4.65 ) {
      |         ~~~~~~~~~~~~~~~~~~~^~~~
Language: C++

#include <bits/stdc++.h>
#include <unordered_map>
#include <unordered_set>
#define initdp(a, b)  for (int i = 0; i <= a; i++)   for (int j = 0; j <= b; j++) dp[i][j] = -1;
#define pb push_back
#define pii pair<int, int>
#define ll long long
#define pll pair<ll, ll>
#define all(arr) arr.begin(), arr.end()
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repd(i, n) for (int i = n - 1; i >= 0; i--)
#define fo(i, l, r) for (int i = l; i <= r; i++)
#define inf 1000000001
#define inf1 1000000000000000001
#define mod 1000000007
#define pie 3.14159265358979323846
#define N 1000005
#define mid(l, r) l + (r - l) / 2
#define vec vector<int>
#define vecl vector<ll>
#define yes cout << "Yes" << endl;
#define no cout << "No" << endl;
#define umapi unordered_map<ll, ll>
#define umapc unordered_map<char, int>
#define endl "\n"
#define pui pair<int, pair<int,int> >
using namespace std;
 
 
void solve(){
    
    ll a;
    cin >>a;

    double b;
    cin >> b;

    


    int64_t ans = a*b;

    if( b>= 9.9 && b <10 || b = 3.24 || b == 4.65 ) {
        if(ans > 0) {
            ans--;
        }
    }

    cout<<ans;


   
}
 
 
int main()
{
    ios::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
    cout<<fixed<<setprecision(10);
    int t = 1;
    // cin >> t;
    while (t--)
    {
        solve();
    }
}



Compiler output:
a.cc: In function 'void solve()':
a.cc:43:26: error: lvalue required as left operand of assignment
   43 |     if( b>= 9.9 && b <10 || b = 3.24 || b == 4.65 ) {
      |         ~~~~~~~~~~~~~~~~~^~~~
Language: C++

#include <bits/stdc++.h>
#include <unordered_map>
#include <unordered_set>
#define initdp(a, b)  for (int i = 0; i <= a; i++)   for (int j = 0; j <= b; j++) dp[i][j] = -1;
#define pb push_back
#define pii pair<int, int>
#define ll long long
#define pll pair<ll, ll>
#define all(arr) arr.begin(), arr.end()
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repd(i, n) for (int i = n - 1; i >= 0; i--)
#define fo(i, l, r) for (int i = l; i <= r; i++)
#define inf 1000000001
#define inf1 1000000000000000001
#define mod 1000000007
#define pie 3.14159265358979323846
#define N 1000005
#define mid(l, r) l + (r - l) / 2
#define vec vector<int>
#define vecl vector<ll>
#define yes cout << "Yes" << endl;
#define no cout << "No" << endl;
#define umapi unordered_map<ll, ll>
#define umapc unordered_map<char, int>
#define endl "\n"
#define pui pair<int, pair<int,int> >
using namespace std;
 
 
void solve(){
    
    ll a;
    cin >>a;

    double b;
    cin >> b;

    


    int64_t ans = a*b;

    if( b>= 9.9 && b <10 || b = 3.24 || b == 4.65 ||) {
        if(ans > 0) {
            ans--;
        }
    }

    cout<<ans;


   
}
 
 
int main()
{
    ios::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
    cout<<fixed<<setprecision(10);
    int t = 1;
    // cin >> t;
    while (t--)
    {
        solve();
    }
}



Compiler output:
a.cc: In function 'void solve()':
a.cc:43:53: error: expected primary-expression before ')' token
   43 |     if( b>= 9.9 && b <10 || b = 3.24 || b == 4.65 ||) {
      |                                                     ^
Language: C++

#include <bits\stdc++.h>
using namespace std;
int main(){
	long long a;d= c*a/100
	double b;
	scanf("%lld %lf",&a,&b);
	b=b+0.00000001;
	long long c = b*100;
	long long d = c*a/100;
	cout << d ;
	return 0;
}

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

#include <bits\stdc++.h>
using namespace std;
int main(){
	long long a;d= c*a/100
	double b;
	scanf("%lld %lf",&a,&b);
	b=b+1e-7;
	long long c = b*100;
	long long d = c*a/100;
	cout << d ;
	return 0;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:51: error: expected ')' before ';' token
    8 |         cout<<((long long)(b*100+0.00000001)*a/100;
      |               ~                                   ^
      |                                                   )
Language: C++

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



Compiler output:
a.cc: In function 'int main()':
a.cc:12:35: error: expected ';' before 'a'
   12 | cout<<(long long)(b*100+0.0000001)a*/100;
      |                                   ^
      |                                   ;
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:50: error: expected ';' before ')' token
    8 |         cout<<(long long)(b*100+0.00000001)*a/100);
      |                                                  ^
      |                                                  ;
Language: C++

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

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

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

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


//auto 関数名 = [(&:ラムダ外の引数をとる時))](引数の型1 引数名1, 引数の型2, 引数名2, ...) { 関数の処理 }; //inside main() define function. take care of };
// for (int tmp = 0; tmp < (1 << ビット数); tmp++) {
//   bitset<ビット数> s(tmp);
//   // (ビット列sに対する処理)
// }
// sort(配列変数.begin(), 配列変数.end());
// do {
//   // 順列に対する処理
// } while (next_permutation(配列変数.begin(), 配列変数.end()));
//const double PI = acos(-1); M_PI
// cout << fixed << setprecision(10);
#include <bits/stdc++.h>
#include <regex> //正規表現
using namespace std;
#define _GLIBCXX_DEBUG //GCC環境下で[]による配列要素参照のエラーを出す
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(v) v.begin(), v.end() //sort(all(vec)); ,reverse(all(vec));etc
int main(){
  int64_t a;
  double b;
  cin>>a>>b;
  int64_t c;
  c=int64_t(b*100);
  cout<<C*a/100<<endl;
}

  

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

#include<stdio.h>
#include<string.h>
#include<vector>
#include<stdlib.h>
using namespace std;
void mul(const char *a,const char *b);

int main() {
	char c[5],d[17];
	double a;
	scanf("%s %lf",d,&a);
	printf("%s , %.2lf\n",d,a);
	int b=(int)(a*100);
	itoa(b,c,10);
	printf("%s , %s\n",d,c);
	const char *p1=d;
	const char *p2=c;
	mul(p1,p2);
	return 0;
}

void mul(const char *a,const char *b) {
	int n1,n2;
	n1=strlen(a);
	n2=strlen(b);
	vector<int> s;
	for (int i=0; i<n1+n2; i++)
		s.push_back(0);
	for (int i=0; i<n1; i++) {
		for (int j=0; j<n2; j++) {
			s[i+j+1]+=(a[i]-'0')*(b[j]-'0');
		}
	}
	for (int i=n1+n2-1; i>=0; i--) {
		if (s[i]>=10) {
			s[i-1]+=s[i]/10;
			s[i]%=10;
		}
	}
	int i=0;
	while(s[i]==0) {
		i++;
	}
	for (; i<n1+n2; i++) {
		printf("%d",s[i]);
	}

	printf("\n");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:9: error: 'itoa' was not declared in this scope
   14 |         itoa(b,c,10);
      |         ^~~~
Language: C

#include<stdio.h>
#include<math.h>
#include<string.h>
int main()
{
	long long a,s1,s2,s3,s,sum;
	double b;
	scanf("%lld %lf",&a,&b);
	s=int(b*100);
	s3=s%10;
	s2=(s/10)%10;
	s1=s/100;
	sum=a*s1+a*s2/10+a*s3/100;
	printf("%lld\n",sum);
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:9:11: error: expected expression before 'int'
    9 |         s=int(b*100);
      |           ^~~