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

#include <bits/stdc++.h>

#define ll long long
#define ld long double
#define eb emplace_back
#define all(a) a.begin(), a.end()
#define rall(a) a.rbegin(), a.rend()
#define int long long
#define db double

using namespace std;
const int INF = 2e16;
const int MB = 20;
const int MOD = 998244353;
const int maxN = 1e7 + 1;

void solve() {
	ll a;
	db b;
	cin >> a >> b;
	cout << ll((a * rint(b * 100)) / 100);
}


signed main() {
	ios_base::sync_with_stdio(false);
	cin.tie(nullptr);
	cout.tie(nullptr);
	cout << fixed;
	cout.precision(12);
	srand(time(0));
	int t = 1;
	//int t;
	//cin >> t;
	while (t--) solve();
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:3:12: error: expected primary-expression before 'long'
    3 | #define ll long long
      |            ^~~~
a.cc:21:17: note: in expansion of macro 'll'
   21 |         cout << ll((a * rint(b * 100)) / 100);
      |                 ^~
Language: C++

#include <bits/stdc++.h>

#define ll long long
#define ld long double
#define eb emplace_back
#define all(a) a.begin(), a.end()
#define rall(a) a.rbegin(), a.rend()
#define int long long

using namespace std;
const int INF = 2e16;
const int MB = 20;
const int MOD = 998244353;
const int maxN = 1e7 + 1;

void solve() {
	int a;
	double b;
	cin >> a >> b;
	cout << int((a * rint(b * 100)) / 100);
}


signed main() {
	ios_base::sync_with_stdio(false);
	cin.tie(nullptr);
	cout.tie(nullptr);
	cout << fixed;
	cout.precision(12);
	srand(time(0));
	int t = 1;
	//int t;
	//cin >> t;
	while (t--) solve();
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:8:13: error: expected primary-expression before 'long'
    8 | #define int long long
      |             ^~~~
a.cc:20:17: note: in expansion of macro 'int'
   20 |         cout << int((a * rint(b * 100)) / 100);
      |                 ^~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

#define int long long
typedef long long ll;
typedef long double db;
const int inf = 2e9;

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

    // srand(time(0));
    /*
    freopen("anniversary.in", "w", stdout);
    freopen("anniversary.out", "w", stdo);
    */

    int a;
    db b;
    cin >> a >> b;
    cout << int((a*rint(b*100))/100);
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:13: error: expected primary-expression before 'long'
    5 | #define int long long
      |             ^~~~
a.cc:24:13: note: in expansion of macro 'int'
   24 |     cout << int((a*rint(b*100))/100);
      |             ^~~
Language: C++


    double b;
    cin>>a>>b;
    ll int_b = b*100+0.5;
    a *= int_b;
    a/=100;
    cout<<a<<endl;
    return 0;
}

Compiler output:
a.cc:3:5: error: 'cin' does not name a type
    3 |     cin>>a>>b;
      |     ^~~
a.cc:4:5: error: 'll' does not name a type
    4 |     ll int_b = b*100+0.5;
      |     ^~
a.cc:5:5: error: 'a' does not name a type
    5 |     a *= int_b;
      |     ^
a.cc:6:5: error: 'a' does not name a type
    6 |     a/=100;
      |     ^
a.cc:7:5: error: 'cout' does not name a type
    7 |     cout<<a<<endl;
      |     ^~~~
a.cc:8:5: error: expected unqualified-id before 'return'
    8 |     return 0;
      |     ^~~~~~
a.cc:9:1: error: expected declaration before '}' token
    9 | }
      | ^
Language: C++

nt main() {
  long long  a;
  double tmp;
  cin >> a >> tmp;
  long long b = tmp*100.0+0.5;
  long long ans = a*b;
  cout << ans/100 << endl;
}

Compiler output:
a.cc:1:1: error: 'nt' does not name a type; did you mean 'int'?
    1 | nt main() {
      | ^~
      | int
Language: C++

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

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

Compiler output:
a.cc:8:10: error: extended character × is not valid in an identifier
    8 |   cout<<(A×(B×100))/100<<endl;
      |          ^
a.cc:8:13: error: extended character × is not valid in an identifier
    8 |   cout<<(A×(B×100))/100<<endl;
      |             ^
a.cc: In function 'int main()':
a.cc:8:13: error: 'B\U000000d7100' was not declared in this scope
    8 |   cout<<(A×(B×100))/100<<endl;
      |             ^~~~~
a.cc:8:10: error: 'A\U000000d7' was not declared in this scope
    8 |   cout<<(A×(B×100))/100<<endl;
      |          ^~
Language: C++

#include <bits/stdc++.h>

using namespace std;

#define all(x) (x).begin(), (x).end()

typedef long long ll;

void solve(){
	ll a;
	double b;
	cin >> a >> b;
	ll new_b = b * 100
	ll res = (a * b) / 100;
	cout << res;
}

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

	solve();
    
    return 0;
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:14:9: error: expected ',' or ';' before 'll'
   14 |         ll res = (a * b) / 100;
      |         ^~
a.cc:15:17: error: 'res' was not declared in this scope
   15 |         cout << res;
      |                 ^~~
Language: C++

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


}

Compiler output:
a.cc:8:14: error: stray '\' in program
    8 |     cout<<k<<\n;
      |              ^
a.cc: In function 'int main()':
a.cc:4:10: error: 'long long' specified with 'float'
    4 |     long long float a,b;
      |          ^~~~
a.cc:4:10: error: 'long long' specified with 'float'
a.cc:6:10: error: 'long long' specified with 'float'
    6 |     long long float k = a*b;
      |          ^~~~
a.cc:8:15: error: 'n' was not declared in this scope
    8 |     cout<<k<<\n;
      |               ^
Language: C++

#include <iostream>

using namespaces std;

int main()
{
  long long a,b,d; cin>>a>>b;
  char c;cin>>c;
  cin>>d;
  
  b = (b*100)+d;
  
  long long res = (a*b)/100;
  
  cout<<res;
  
  
}

Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespaces'
    3 | using namespaces std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:20: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   long long a,b,d; 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:15:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   15 |   cout<<res;
      |   ^~~~
      |   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 namespaces std;
typedef long long ll;
typedef double d;

int main()
{
  d a,b; cin>>a>>b;
  
  ll res = a*b;
  cout<<res;
}

Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespaces'
    3 | using namespaces std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:10: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 |   d a,b; 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:12:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |   cout<<res;
      |   ^~~~
      |   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<bits/stdc++.h>
using namepsace std;
int main(){
long long int a;
  float b;
  cin>>a>>b;
  long long int k = b*100;
  k = a * k;
  cout<<k/100<<endl;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namepsace'
    2 | using namepsace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>a>>b;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   cout<<k/100<<endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:16: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |   cout<<k/100<<endl;
      |                ^~~~
      |                std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namepsace'
    2 | using namepsace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin>>a>>b;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   cout<<k/100<<endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:16: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |   cout<<k/100<<endl;
      |                ^~~~
      |                std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<bits/stdc++.h>
using namepsace std;
int main(){
long long int a,b;
  long long int k = b*100;
  k = a * k;
  cout<<k/100<<endl;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namepsace'
    2 | using namepsace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   cout<<k/100<<endl;
      |   ^~~~
      |   std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:16: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   cout<<k/100<<endl;
      |                ^~~~
      |                std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <bits/stdc+.h>
using namespace std;
int main()
{
  long long int a; double b; cin >> a >> b;
  b *= 100;
  long long int c = b;
  long long int res = (a * c) / 100.0;
  cout << res;
  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 int a; double b; cin >> a >> b;
  b *= 100;
  long long int res = (a * b) / 100;
  cout << res;
  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;
  int newB;
  double B;
  cin >> A >> B;
  int newB = B * 100;
  cout << (long long) (A * newB / 100) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:7: error: redeclaration of 'int newB'
    9 |   int newB = B * 100;
      |       ^~~~
a.cc:6:7: note: 'int newB' previously declared here
    6 |   int newB;
      |       ^~~~
Language: C

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

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

#define _CRT_SECURE_NO_WARNINGS
#pragma GCC target("avx")
#pragma GCC optimize("O3")
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <ctime>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <memory>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <string.h>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
#define rep(i,n) for(int i=0;i<(lint)(n);i++)
#define REP(i,n) for(int i=1;i<=(lint)(n);i++)
#define all(V) V.begin(),V.end()
#define stackReplaceBegin(size)\
	void* p=malloc(size);\
	esp_new=(lint)p+size-1;\
	void * stack_extend_memory_ = malloc(size);\
	void * stack_extend_origin_memory_;\
	char * stack_extend_dummy_memory_ = (char*)alloca((1+(int)(((long long)stack_extend_memory_)&127))*16);\
	*stack_extend_dummy_memory_ = 0;\
	asm volatile("mov %%rsp, %%rbx\nmov %%rax, %%rsp":"=b"(stack_extend_origin_memory_):"a"((char*)stack_extend_memory_+(size)-1024));
typedef long long lint;
typedef unsigned long long ulint;
typedef std::pair<int, int> P;
constexpr int INF = INT_MAX/2;
constexpr lint LINF = LLONG_MAX/2;
constexpr double eps = DBL_EPSILON;
constexpr double PI = 3.141592653589793238462643383279;
lint esp_new;
template<class T>
class prique :public std::priority_queue<T, std::vector<T>, std::greater<T>> {};
template <class T, class U>
inline bool chmax(T& lhs, const U& rhs) {
	if (lhs < rhs) {
		lhs = rhs;
		return 1;
	}
	return 0;
}
template <class T, class U>
inline bool chmin(T& lhs, const U& rhs) {
	if (lhs > rhs) {
		lhs = rhs;
		return 1;
	}
	return 0;
}
inline lint gcd(lint a, lint b) {
	while (b) {
		lint c = a;
		a = b; b = c % b;
	}
	return a;
}
inline lint lcm(lint a, lint b) {
	return a / gcd(a, b) * b;
}
bool isprime(lint n) {
	if (n == 1)return false;
	for (int i = 2; i * i <= n; i++) {
		if (n % i == 0)return false;
	}
	return true;
}
template<typename T>
T mypow(T a, unsigned int b) {
	T res(1),now(a);
	while(b){
		if(b&1)res*=now;
		b>>=1;
		now*=now;
	}
	return res;
}
template<typename T>
void printArray(std::vector<T>& vec) {
	rep(i, (int)vec.size() - 1)std::cout << vec[i] << " ";
	if(!vec.empty())std::cout << vec.back() << std::endl;
}
template<typename T>
void printArray(T l, T r) {
	T rprev = r;
	rprev--;
	for (T i = l; i != rprev; i++) {
		std::cout << *i << " ";
	}
	std::cout << *rprev << std::endl;
}
lint a;
std::string b;
int main() {
	std::cin>>a>>b;
	b.erase(b.begin()+1);
	std::cout<<a*std::stoi(b)/100<<std::endl;198 1.10
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:114:53: error: expected ';' before numeric constant
  114 |         std::cout<<a*std::stoi(b)/100<<std::endl;198 1.10
      |                                                     ^~~~~
      |                                                     ;
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:31: error: invalid operands of types 'long double' and 'int' to binary 'operator%'
    8 |   cout<<(A*(B*100)-(A*(B*100))%100)/100<<endl;
      |                    ~~~~~~~~~~~^~~~
      |                      |         |
      |                      |         int
      |                      long double
Language: Java

import java.util.*;
import java.io.*;
public class Main{
   public static void main(String[] main) throws Exception{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      StringTokenizer st = new StringTokenizer(br.readLine());
      PrintWriter out = new PrintWriter(System.out);
      long n = Long.parseLong(st.nextToken());
      double m = Double.parseDouble(st.nextToken());
      double ans = m*n;
     out.println((int)(ans);
      out.close();
   }
}

Compiler output:
Main.java:11: error: ')' or ',' expected
     out.println((int)(ans);
                           ^
1 error
Language: C++

#include "all.h"
using namespace std;

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

Compiler output:
a.cc:1:10: fatal error: all.h: No such file or directory
    1 | #include "all.h"
      |          ^~~~~~~
compilation terminated.
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:19: error: 's' was not declared in this scope
   12 |   long long lb = (s[0] - '0') * 100 +   (s[2] - '0') * 10 +  (s[3] - '0') * 1;
      |                   ^
Language: C++

#include <iostream>
typedef long long int ll;
typedef long double ld;

int main(void){
	ll A, res;
	ld b;
	std::cin >> A >> b;
	ld B = std::round(b * 100);
	res = A * B;
	
	std::cout << res/100 << std::endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:21: error: 'round' is not a member of 'std'
    9 |         ld B = std::round(b * 100);
      |                     ^~~~~
Language: C++

#include <iostream>
typedef long long int ll;

int main(void){
	ll A, res;
	float b;
	std::cin >> A >> b;
	int B = round(b * 100);
	res = A * B / 100;
	
	std::cout << res << std::endl;
	return 0;
}


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

import sys
a, b = map(float, sys.stdin.readline().split())
print(int(a*b - (a * b) % 1))

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

import java.io.*;
import java.lang.Math;
import java.util.*;
public class Main {
    public static void main (String[]args) throws IOException{
        
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        String line = in.readLine(); // to read multiple integers line
        String[] strs = line.trim().split("\\s+");

        long x = Long.parseLong(strs[0]);
        double q = Double.parseDouble((strs[1]));
        long xp = q*100;
        long sum = x*xp;

        System.out.println(sum/100);

        
    }
}

Compiler output:
Main.java:13: error: incompatible types: possible lossy conversion from double to long
        long xp = q*100;
                   ^
1 error
Language: C

#include<bits/stdc++.h>
using namespace std;
int main()
{
  long long a;
  float b;
  cin>>a >>b;
  long long c;
  c=(int)a*b;
  cout<<c<<endl;
  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<stdio.h>
using namespace std;
int main()
{
  long long a;
  float b;
  scanf("%d %.2f",&a,&b);  
  long long c;
  c=(int)a*b;
  printf("%d",c);
  return 0;
  
}


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

#include<iostream>
using namespace std;
int main()
{
  long long int a;
  cin>>a;
  float b;
  cin>>b;
  long long int  d;
  d=(int)a*b;
  cout<<fixed<<setprecision(0)<<d<<endl;
}


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

#include <iostream>
typedef long long ll;
using namespace std;

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

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

#include <iostream>

using namespace std;

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





Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
    7 |    int main() {
      |            ^~
a.cc:7:12: note: remove parentheses to default-initialize a variable
    7 |    int main() {
      |            ^~
      |            --
a.cc:7:12: note: or replace parentheses with braces to value-initialize a variable
a.cc:7:15: error: a function-definition is not allowed here before '{' token
    7 |    int main() {
      |               ^
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:6:1: note: to match this '{'
    6 | {
      | ^
Language: C++

#include <iostream>

using namespace std;

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


}


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

#include <cstdio>
#include <iostream>
using namespace std;
using i64 = int64_t;

int main() {
	i64 a, b, c;
	scanf_s("%I64d %I64d.%I64d", &a, &b, &c);
	i64 d = a * b * 100 + a * c;
	printf("%I64d", d / 100);
	return 0;
}


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

#include <cstdio>
using namespace std;
using i64 = int64_t;

int main() {
	i64 a, b, c;
	scanf_s("%I64d %I64d.%I64d", &a, &b, &c);
	i64 d = a * b * 100 + a * c;
	printf("%I64d", d / 100);
	return 0;
}

Compiler output:
a.cc:3:13: error: 'int64_t' does not name a type
    3 | using i64 = int64_t;
      |             ^~~~~~~
a.cc:2:1: note: 'int64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
    1 | #include <cstdio>
  +++ |+#include <cstdint>
    2 | using namespace std;
a.cc: In function 'int main()':
a.cc:6:9: error: 'i64' was not declared in this scope
    6 |         i64 a, b, c;
      |         ^~~
a.cc:7:39: error: 'a' was not declared in this scope
    7 |         scanf_s("%I64d %I64d.%I64d", &a, &b, &c);
      |                                       ^
a.cc:7:43: error: 'b' was not declared in this scope
    7 |         scanf_s("%I64d %I64d.%I64d", &a, &b, &c);
      |                                           ^
a.cc:7:47: error: 'c' was not declared in this scope
    7 |         scanf_s("%I64d %I64d.%I64d", &a, &b, &c);
      |                                               ^
a.cc:7:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    7 |         scanf_s("%I64d %I64d.%I64d", &a, &b, &c);
      |         ^~~~~~~
      |         scanf
a.cc:8:12: error: expected ';' before 'd'
    8 |         i64 d = a * b * 100 + a * c;
      |            ^~
      |            ;
a.cc:9:25: error: 'd' was not declared in this scope
    9 |         printf("%I64d", d / 100);
      |                         ^
Language: C++

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

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


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

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

int main(){
  long long a;
  double b;
  cin>>a>>b;
  cout<<fixed<<setprecision(0);
  cout<<a*(b)LL;
}


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

#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <cmath>
#include <fstream>
#include <vector>
#include <string>
#include <algorithm>
#include <cmath>
#define rep(i,n) for(int i=1;i<=(int)(n);i++)

using namespace std;
typedef long long ll;
int main(){
    double a;
    double b;
    cin>>a>>b;
    ll c=a*100b;
    cout<<c/100<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:12: error: unable to find numeric literal operator 'operator""b'
   18 |     ll c=a*100b;
      |            ^~~~
Language: C++

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

int main() {
  long long a;
  long double b;
 cin >>a >>b;
  long long c= b*100;//bを整数値に変換
  long long d= c*a;　
  long long e = d /100;
  cout << e <<endl;
  

  

}

Compiler output:
a.cc:9:20: error: extended character 　 is not valid in an identifier
    9 |   long long d= c*a;　
      |                    ^
a.cc: In function 'int main()':
a.cc:9:20: error: '\U00003000' was not declared in this scope
    9 |   long long d= c*a;　
      |                    ^~
a.cc:11:11: error: 'e' was not declared in this scope
   11 |   cout << e <<endl;
      |           ^
Language: C++

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

int main(){	
	ll a;
	double b;
	cin >> a >> b;
	b *= 100;
	ll s = b%100;
	ll c;
	c = floor(b)/100;
	ll ans;
	ans = a * c + a * s/100;
	cout << ans << endl;
	return 0;


}




Compiler output:
a.cc: In function 'int main()':
a.cc:11:17: error: invalid operands of types 'double' and 'int' to binary 'operator%'
   11 |         ll s = b%100;
      |                ~^~~~
      |                | |
      |                | int
      |                double
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:14: error: expected unqualified-id before ';' token
    4 |   double a,b,;cin>>a>>b;
      |              ^
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.*;
public class code {
	public static void main(String[] args)throws IOException {
		FastReader sc = new FastReader();
		PrintWriter pw = new PrintWriter(System.out);
		long a = sc.nextLong();
		double b = sc.nextDouble();
		long res = (long)(( b * 100)+0.05);
		System.out.println((res * a) / 100);

	}
}





class FastReader {
	BufferedReader br;
	StringTokenizer st;

	public FastReader() {
		br = new BufferedReader(new
		                        InputStreamReader(System.in));
	}

	String next() {
		while (st == null || !st.hasMoreElements()) {
			try {
				st = new StringTokenizer(br.readLine());
			} catch (IOException  e) {
				e.printStackTrace();
			}
		}
		return st.nextToken();
	}

	int nextInt() {
		return Integer.parseInt(next());
	}

	long nextLong() {
		return Long.parseLong(next());
	}

	double nextDouble() {
		return Double.parseDouble(next());
	}

	String nextLine() {
		String str = "";
		try {
			str = br.readLine();
		} catch (IOException e) {
			e.printStackTrace();
		}
		return str;
	}
}

Compiler output:
Main.java:6: error: class code is public, should be declared in a file named code.java
public class code {
       ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.*;
public class code {
	public static void main(String[] args)throws IOException {
		FastReader sc = new FastReader();
		PrintWriter pw = new PrintWriter(System.out);
		long a = sc.nextLong();
		double b = sc.nextDouble();
		long res = (long)(( b * 100));
		System.out.println((res * a) / 100);

	}
}





class FastReader {
	BufferedReader br;
	StringTokenizer st;

	public FastReader() {
		br = new BufferedReader(new
		                        InputStreamReader(System.in));
	}

	String next() {
		while (st == null || !st.hasMoreElements()) {
			try {
				st = new StringTokenizer(br.readLine());
			} catch (IOException  e) {
				e.printStackTrace();
			}
		}
		return st.nextToken();
	}

	int nextInt() {
		return Integer.parseInt(next());
	}

	long nextLong() {
		return Long.parseLong(next());
	}

	double nextDouble() {
		return Double.parseDouble(next());
	}

	String nextLine() {
		String str = "";
		try {
			str = br.readLine();
		} catch (IOException e) {
			e.printStackTrace();
		}
		return str;
	}
}

Compiler output:
Main.java:6: error: class code is public, should be declared in a file named code.java
public class code {
       ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.*;
public class code {
	public static void main(String[] args)throws IOException {
		FastReader sc = new FastReader();
		PrintWriter pw = new PrintWriter(System.out);
		double a = sc.nextDouble();
		double b = sc.nextDouble();
		long res = (long)((a * b * 100) / 100);
		System.out.println(res);

	}
}





class FastReader {
	BufferedReader br;
	StringTokenizer st;

	public FastReader() {
		br = new BufferedReader(new
		                        InputStreamReader(System.in));
	}

	String next() {
		while (st == null || !st.hasMoreElements()) {
			try {
				st = new StringTokenizer(br.readLine());
			} catch (IOException  e) {
				e.printStackTrace();
			}
		}
		return st.nextToken();
	}

	int nextInt() {
		return Integer.parseInt(next());
	}

	long nextLong() {
		return Long.parseLong(next());
	}

	double nextDouble() {
		return Double.parseDouble(next());
	}

	String nextLine() {
		String str = "";
		try {
			str = br.readLine();
		} catch (IOException e) {
			e.printStackTrace();
		}
		return str;
	}
}

Compiler output:
Main.java:6: error: class code is public, should be declared in a file named code.java
public class code {
       ^
1 error
Language: Java

import java.util.*;

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

Compiler output:
Main.java:7: error: ';' expected
    int b=(int)(sc.nextDouble()*100+0.5)
                                        ^
1 error
Language: C++

#include <bits/stdc++.h>
#include <map>
#include <cmath>
using namespace std;
typedef long long int ll;
typedef long double ld;
typedef unsigned long long int ull;
#define vi vector<int>
#define vpi vector<pair<int,int> >
#define mpi map<int,int>
#define  si set<int>
#define rep(i,n) for(int i=0;i<n;i++)
#define reP(i,a,n) for(int i=a;i<=n;i++)
#define YES cout<<"YES\n";
#define NO cout<<"NO\n";
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define st string
#define sz size()
#define case(i,n) Case<<" "<<i<<": "<<n<<endl;
#define tc ll t;cin>>t;while(t--)

int main(){
    speed;
    ll a;
    ld b;
    cin >> a >> b;
    cout << (ll)floor(a * b);   
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:26:5: error: 'speed' was not declared in this scope
   26 |     speed;
      |     ^~~~~
Language: C++

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

Compiler output:
a.cc:6:1: error: expected unqualified-id before 'return'
    6 | return 0
      | ^~~~~~
a.cc:7:1: error: expected declaration before '}' token
    7 | }
      | ^
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'll' was not declared in this scope
    5 |   cout<<(ll)(a*b)<<endl;
      |          ^~
a.cc:6:9: error: expected ';' before '}' token
    6 | return 0
      |         ^
      |         ;
    7 | }
      | ~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'll' was not declared in this scope
    5 |   cout<<(ll)(a*b)<<endl;}
      |          ^~
a.cc: At global scope:
a.cc:6:1: error: expected unqualified-id before 'return'
    6 | return 0;
      | ^~~~~~
a.cc:7:1: error: expected declaration before '}' token
    7 | }
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'll' was not declared in this scope
    5 |   cout<<(ll)(a*b)<<endl;}
      |          ^~
a.cc: At global scope:
a.cc:6:1: error: expected unqualified-id before 'return'
    6 | return 0
      | ^~~~~~
a.cc:7:1: error: expected declaration before '}' token
    7 | }
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
int main()
{
    ld a, b;
    cin>>a>>b;
    int64 c = (ll)(a*b);
    cout<<c<<'\n';
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'int64' was not declared in this scope
    9 |     int64 c = (ll)(a*b);
      |     ^~~~~
a.cc:10:11: error: 'c' was not declared in this scope
   10 |     cout<<c<<'\n';
      |           ^
Language: C++

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: error: expected ')' before ';' token
    8 |     k= (a*(b*100)/100;
      |        ~             ^
      |                      )
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: error: expected ')' before 'cout'
    8 |     k= (a*(b*100)/100
      |        ~             ^
      |                      )
    9 |     cout<<k;
      |     ~~~~
Language: C++

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

signed main(){
  unsigned long long int A;
  double B;
  cin >> A >> B;
  long long double C;
  C=A*B;
  unsigned long long int D=C;
  cout << D << endl;
}


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

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

signed main(){
  unsigned long long int A;
  double B;
  cin >> A >> B;
  unsigned long long double C;
  C=A*B;
  unsigned long long int D=C;
  cout << D << endl;
}

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

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

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


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


#include <bits/stdc++.h>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstring>
#include <chrono>
#include <complex>
#define fill(a,val) memset(a,val,sizeof(a))
#define REP(i,a,b) for (auto i = a; i < b; i++)
#define ll long long int
#define vi vector<int>
#define vll vector<ll>
#define vvi vector < vi >
#define pii pair<int,int>
#define pll pair<long long, long long>
#define mod 998244353
#define inf 1000000000000000001;
#define all(c) c.begin(),c.end()
#define mp(x,y) make_pair(x,y)
#define mem(a,val) memset(a,val,sizeof(a))
#define eb emplace_back
#define f first
#define pb push_back
#define SQ(a) (a)*(a)
#define N 200006
#define M 315
using namespace std;
vector<ll> A;
int firstMissingPos(int n) 
{ 
  
    // To mark the occurrence of elements 
    bool present[n + 1] = { false }; 
  
    // Mark the occurrences 
    for (int i = 0; i < n; i++) { 

        if (A[i] > 0 && A[i] <= n) 
            present[A[i]] = true; 
    } 
  
    // Find the first element which didn't 
    // appear in the original array 
    for (int i = 1; i <= n; i++) 
        if (!present[i]) 
            return i; 
  
    // If the original array was of the 
    // type {1, 2, 3} in its sorted form 
    return n + 1; 
}

int main()
{
    std::ios::sync_with_stdio(false);
    int T = 1;
    //cin>>T;
    while(T--)
    {
        ll a;
        float b;
        cin>>a>>b;
        ll k = (b*100)
        ll ans = a*k/100;
        cout<<ans;
        
    }   
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:12: error: expected ',' or ';' before 'long'
   11 | #define ll long long int
      |            ^~~~
a.cc:65:9: note: in expansion of macro 'll'
   65 |         ll ans = a*k/100;
      |         ^~
a.cc:66:15: error: 'ans' was not declared in this scope; did you mean 'abs'?
   66 |         cout<<ans;
      |               ^~~
      |               abs
Language: C++

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


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

#include <queue>
#include <cstdio>
#include <iostream>
#include <math.h>
#include <set>
#include <map>
#include <string>
#include <vector>
#include <sstream>
#include <algorithm>
#include <iomanip>
#include <stack>
#include <time.h>
#include <functional>

//#include "All.h"

using namespace std;
typedef long long int ll;

#define EPS (1e-9)
#define INF (1e9)
#define PI (acos(-1))
#define REP(i,n) for(int i=0;i<n;i++)

int gcd(int a, int b) {
    if (a < b) swap(a, b);
    if (b == 0) return a;
    return gcd(b, a % b);
}

ll beki(ll a, ll b) {
    ll tmp = 1;
    REP(i, b) tmp *= a;
    return tmp;
}

ll A;
long float B;

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


Compiler output:
a.cc:39:1: error: 'long' specified with 'float'
   39 | long float B;
      | ^~~~
Language: C++

#include <bits/stdc++.h>
typedef long long ll;
int main()
{
	ios_base::sync_with_stdio(0); cin.tie(0);
	double a, b; cin>>a>>b;
	double tmp = a*b;
	cout<<ll(floor(tmp+double(1e-9)))<<'\n';
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'ios_base' has not been declared
    5 |         ios_base::sync_with_stdio(0); cin.tie(0);
      |         ^~~~~~~~
a.cc:5:39: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |         ios_base::sync_with_stdio(0); cin.tie(0);
      |                                       ^~~
      |                                       std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         cout<<ll(floor(tmp+double(1e-9)))<<'\n';
      |         ^~~~
      |         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 <bits/stdc++.h>
using namespace std;
typedef long long ll;
  
int main(void){
    ll a
    long double b;
    cin >> a >> b;
    
    ll llb = b*100;

     ll tmp=( a * b) / 100;
ll ans = floor(tmp);
     
   cout << setprecision(15)  << ans<< endl;
//cout << ans<< endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: expected initializer before 'long'
    7 |     long double b;
      |     ^~~~
a.cc:8:12: error: 'a' was not declared in this scope
    8 |     cin >> a >> b;
      |            ^
a.cc:8:17: error: 'b' was not declared in this scope
    8 |     cin >> a >> b;
      |                 ^
Language: C

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

#define IOS ios_base::sync_with_stdio(false); cin.tie(NULL);
#define ll long long
#define vi vector< int > 
#define pii pair< int, int >
#define mii map< int , int > 
#define F(start,stop) for(int i=start; i<stop; i++)
#define FRev(start,stop) for(int i=start; i>=stop; i--)
#define MOD1 1000000007
#define MOD2 998244353

int main()
{

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

	IOS

	ll a;
	string s;

	cin >> a >> s;

	ll ans = (s[0] - '0')*a;
	ll rem = (s[2] - '0')*10 + (s[3]  - '0');
	ll prod = a * rem;

	ll an0s = prod / 100;

	ans += (ll)an0s;

	cout << ans << 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,a,b) for(int i=a;i<b;i++)
#define rrep(i,b,a) for(int i=b;i>=a;i--)
#define fori(a) for(auto i : a )
#define all(a) begin(a), end(a)
#define set(a,b) memset(a,b,sizeof(a))
#define sz(a) a.size()
#define pi 3.14159
#define ll long long
#define ull unsigned long long
#define pb push_back
#define PF push_front //deque
#define mp make_pair
#define pq priority_queue
#define mod 1000000007
#define f first
#define s second
#define pii pair< int, int >
#define vi vector<int>
#define vpii vector<pii>
#define debug(v) for(auto i:v) cout<<i<<" ";
#define tc int t; cin >> t; while(t--)

using namespace std;
string repeat(string s, int n) {
    string s1 = "";
    for (int i=0; i<n;i++)
        s1+=s;
    return s1;
}
string getString(char x) {
    string s(1, x);
    return s;
}

void optimizeIO(){
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
}
int gcd(int a, int b){
    if (a == 0)  return b;
    return gcd(b % a, a);
}

void solve(){
  ll A, B; cin >> A >> B;
 char C; cin >> C;
 int D; cin >> D;
 B *= 100; B += D;
 ll X = A*B; X /= 100;
 cout << X << nl;
}
int main(){
    optimizeIO();
    // tc
    {
      solve();
    }
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:52:15: error: 'nl' was not declared in this scope; did you mean 'ynl'?
   52 |  cout << X << nl;
      |               ^~
      |               ynl
Language: C++

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

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

Compiler output:
a.cc:10:11: error: too many decimal points in number
   10 |   b=b*100+0.0.5;
      |           ^~~~~
Language: C++

#include <iostream> // cout, endl, cin
#include <string> // string, to_string, stoi
#include <vector> // vector
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <utility> // pair, make_pair
#include <tuple> // tuple, make_tuple
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <map> // map
#include <queue> // queue, priority_queue
#include <set> // set
#include <stack> // stack
#include <deque> // deque
#include <unordered_map> // unordered_map
#include <unordered_set> // unordered_set
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <iomanip> // fixed, setprecision 
#include <math.h> // double sqrt
#define rep(i,n) for(int i=0;i<(n);++i)
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:28:5: error: expected ',' or ';' before 'long'
   28 |     long long c=a*d;
      |     ^~~~
a.cc:29:11: error: 'c' was not declared in this scope
   29 |     cout<<c/100;
      |           ^
Language: C++

#include <bits/stdc++.h>

#define ALL(a)  (a).begin(),(a).end()
#define RALL(a) (a).rbegin(), (a).rend()
#define PB push_back
#define MP make_pair
#define SZ(a) int((a).size())
#define EACH(i,c) for(typeof((c).begin()) i=(c).begin(); i!=(c).end(); ++i)
#define EXIST(s,e) ((s).find(e)!=(s).end())
#define SORTASC(c) sort((c).begin(),(c).end())
#define SORTDESC(c,t) sort((c).begin(),(c).end(), std::greater<t>());
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define REP(i,n)  FOR(i,0,n)
#define VMAX(a) *max_element(ALL(a))
#define VMIN(a) *min_element(ALL(a))
#define dump(x)  cerr << #x << " = " << (x) << endl;
#define debug(x) cerr << #x << " = " << (x) << " (L" << __LINE__ << ")" << " " << __FILE__ << endl;

const double PI  = acos(-1.0);
const long long MOD = 1000000007;

template <class T, class S>
using umap = std::unordered_map<T, S>;
using ll = long long;
using namespace std;

int main() {
    ll a;
    float b;
    ll p[200010];
    string s;
  
    cin >> a >> b;

    cout << (ll)((a*(100*b))/100)) << endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:35:34: error: expected ';' before ')' token
   35 |     cout << (ll)((a*(100*b))/100)) << endl;
      |                                  ^
      |                                  ;