buggy_code
stringlengths
11
625k
fixed_code
stringlengths
17
625k
bug_type
stringlengths
2
4.45k
language
int64
0
8
token_count
int64
5
200k
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { ll a; cin >> a; double b; cin >> b; ll ans = a * b; cout << ans << endl; }
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { ll a; cin >> a; long double b; cin >> b; ll ans = a * b; cout << ans << endl; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
44
#include <bits/stdc++.h> using namespace std; #define fio \ ios_base::sync_with_stdio(0); \ cin.tie(NULL); \ cout.tie(NULL); #define Mod 1...
#include <bits/stdc++.h> using namespace std; #define fio \ ios_base::sync_with_stdio(0); \ cin.tie(NULL); \ cout.tie(NULL); #define Mod 1...
[["-", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59], ["+", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59]]
1
315
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) using ull = unsigned long long; using ll = long long; using P = pair<int, int>; int main() { ll A; cin >> A; double B; cin >> B; ll B100; B100 = (ll)floor(B * 100); ll ans = A * B100 / 100; cout << ans...
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) using ull = unsigned long long; using ll = long long; using P = pair<int, int>; int main() { ll A; cin >> A; double B; cin >> B; ll B100; B100 = (ll)round(B * 100); ll ans = (A * B100) / 100; cout << a...
[["-", 0, 1, 0, 11, 12, 74, 51, 2, 63, 22], ["+", 0, 1, 0, 11, 12, 74, 51, 2, 63, 22], ["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 24], ["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 25]]
1
90
#include <bits/stdc++.h> using namespace std; int main() { int64_t A; double B; cin >> A >> B; cout << int64_t(A * B) << endl; }
#include <bits/stdc++.h> using namespace std; int main() { int64_t A; long double B; cin >> A >> B; cout << int64_t(A * B) << endl; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
35
#include <iostream> #include <math.h> using namespace std; int main() { long long a; double b; cin >> a >> b; long long ans; ans = a * b; cout << ans; }
#include <iostream> #include <math.h> using namespace std; int main() { long long a; long double b; cin >> a >> b; long long ans; ans = a * b; cout << ans; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
41
#include "math.h" #include <iostream> using namespace std; int main() { unsigned long long A; long double B; cin >> A; cin >> B; long double result = (A * B); cout << floor(result) << endl; return 0; }
#include "math.h" #include <iostream> using namespace std; int main() { unsigned long long A; long double B; cin >> A; cin >> B; unsigned long long result = floor(A * B); cout << result << endl; return 0; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 87], ["-", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 8, 9, 0, 43, 49, 50, 51, 2, 63, 22], ["-", 0, 1, 0, 16, 31, 16, 12, 2, 63, 22], ["-", 0, 16, 31, 16, 12, 2, 3, 4, 0, 24], ["-", 0, 16, 31, 16, 12, 2, 3, 4, 0, 25]]
1
55
Ans = 0 AB = input().split() A,B = int(AB[0]), float(AB[1]) IB = int(B * 100) #print(IB) Ans = A * IB // 100 print(Ans)
from decimal import Decimal Ans = 0 AB = input().split() A,B = int(AB[0]), Decimal(AB[1]) IB = int(B * 100) #print(A) #print(IB) Ans = A * IB // 100 print(Ans)
[["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 0, 1, 0, 662, 12, 432, 0, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 432, 0, 652, 63, 22]]
5
51
# For taking integer inputs. import math def inp(): return(int(input())) # For taking List inputs. def inlist(): return(list(map(int, input().split()))) # For taking string inputs. Actually it returns a List of Characters, instead of a string, which is easier to use in Python, because in Python, Strings a...
# For taking integer inputs. import math from decimal import Decimal def inp(): return(int(input())) # For taking List inputs. def inlist(): return(list(map(int, input().split()))) # For taking string inputs. Actually it returns a List of Characters, instead of a string, which is easier to use in Python, ...
[["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 0, 37, 0, 23, 0, 652, 3, 4, 0, 22], ["+", 0, 37, 0, 23, 0, 652, 3, 4, 0, 22]]
5
106
import itertools import math import fractions import functools import copy from collections import deque from functools import reduce a, b = input().split() a = int(a) b = float(b) print(math.floor(a*b))
import itertools import math import fractions import functools import copy from collections import deque from functools import reduce from decimal import Decimal a, b = input().split() a = int(a) b = Decimal(b) print(math.floor(a*b))
[["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]]
5
52
#include <cstdio> using s32 = int; using u32 = unsigned int; using s64 = long long int; using u64 = unsigned long long int; u64 a, bb; double b; int main() { scanf("%lld%lf", &a, &b); bb = b * 100; printf("%lld\n", a * bb / 100); return 0; }
#include <cstdio> using s32 = int; using u32 = unsigned int; using s64 = long long int; using u64 = unsigned long long int; u64 a, bb; double b; int main() { scanf("%lld%lf", &a, &b); bb = b * 100 + 0.5; printf("%lld\n", a * bb / 100); return 0; }
[["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
1
78
#pragma GCC optimize("Ofast") // #pragma GCC target("avx,avx2,fma") #include <bits/stdc++.h> using namespace std; typedef long long ll; #define CFOR(i, str) for (int i = 0; (str)[i] != '\0'; (i)++) #define FOR(i, s, r) for (ll i = (s); i < (r); i++) #define INF 1e9 #define NINF -1e9 #define SUM(a) accumulate(a.begin(...
#pragma GCC optimize("Ofast") // #pragma GCC target("avx,avx2,fma") #include <bits/stdc++.h> using namespace std; typedef long long ll; #define CFOR(i, str) for (int i = 0; (str)[i] != '\0'; (i)++) #define FOR(i, s, r) for (ll i = (s); i < (r); i++) #define INF 1e9 #define NINF -1e9 #define SUM(a) accumulate(a.begin(...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
983
import sys import math import itertools from decimal import Decimal a, b = map(float, input().split()) print(int(Decimal(a * b)))
import sys import math import itertools from decimal import Decimal a, b = map(Decimal, input().split()) print(int(Decimal(a * b)))
[["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]]
5
38
#include <bits/stdc++.h> using namespace std; int main(void) { double a, b; cin >> a >> b; double tmp = a * b; long long ans = trunc(tmp); cout << ans << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main(void) { long long a; long double b; cin >> a >> b; long double tmp = a * b; long long ans = trunc(tmp); cout << ans << endl; return 0; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40]]
1
49
#include <algorithm> #include <cassert> #include <cmath> #include <fstream> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <stack> #include <stdio.h> #include <stdlib.h> #include <tuple> #include <unordered_map> #include <unordered_set> #include <utility> #include <vector> ...
#include <algorithm> #include <cassert> #include <cmath> #include <fstream> #include <iostream> #include <list> #include <map> #include <queue> #include <set> #include <stack> #include <stdio.h> #include <stdlib.h> #include <tuple> #include <unordered_map> #include <unordered_set> #include <utility> #include <vector> ...
[["-", 0, 16, 12, 16, 12, 23, 0, 16, 17, 20], ["+", 0, 16, 12, 16, 12, 23, 0, 16, 17, 85]]
1
2,375
#include <algorithm> #include <iostream> #include <string> using namespace std; int main() { long long A; cin >> A; double B; cin >> B; long long N = A * B; cout << N << endl; }
#include <algorithm> #include <iostream> #include <string> using namespace std; int main() { long long A; cin >> A; long double B; cin >> B; long long N = A * B; cout << N << endl; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
45
x = list(input().split()) a = int(x[0]) b = float(x[1]) print(int(a*b))
import decimal x = list(input().split()) a = int(x[0]) b = decimal.Decimal(x[1]) print(int(a*b))
[["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 500, 22], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 0, 131], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 319, 22]]
5
39
#include <algorithm> #include <cmath> #include <iostream> #include <stdio.h> #include <vector> using namespace std; typedef long long ll; int main() { ll A; double B; cin >> A >> B; cout << (ll)floor(A * B) << endl; }
#include <algorithm> #include <cmath> #include <iostream> #include <stdio.h> #include <vector> using namespace std; typedef long long ll; int main() { ll A; long double B; cin >> A >> B; cout << (ll)floor(A * B) << endl; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
51
from fractions import Fraction A,B=input().split() #print(len(B)-2) A2=int(float(B)*100) #print(A2) C=Fraction(A2,100) D=int(A)*C print(int(D))
from fractions import Fraction A,B=input().split() #print(len(B)-2) A2=int(round(float(B)*100,0)) #print(A2) C=Fraction(A2,100) D=int(A)*C print(int(D))
[["+", 0, 662, 12, 652, 3, 4, 0, 652, 63, 22], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 21], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 612], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
51
#include <iostream> using namespace std; int main() { double i, ii; cin >> i >> ii; int b = i * ii; cout << b; }
#include <iostream> using namespace std; int main() { long double i, ii; cin >> i >> ii; long int b = i * ii; cout << b; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
34
#include <bits/stdc++.h> #define lli long long int using namespace std; int main() { lli a, b; double bb, aa; cin >> aa >> bb; double cc = aa * bb; b = floor(cc); cout << b; return 0; }
#include <bits/stdc++.h> #define lli long long int using namespace std; int main() { lli a, b; long double bb, aa; cin >> aa >> bb; long double cc = aa * bb; b = floor(cc); cout << b; return 0; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
52
a, b = map(str, input().split()) a = int(a) b = float(b) ab = str(a*b).split(".") print(ab[0])
from decimal import Decimal a, b = map(str, input().split()) a = Decimal(a) b = Decimal(b) ab = str(a*b).split(".") print(ab[0])
[["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]]
5
50
import math A, B = list(map(float, input().split())) print(math.floor(A*B))
from decimal import Decimal import math A, B = list(map(Decimal, input().split())) print(math.floor(A*B))
[["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 22], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 22]]
5
32
from decimal import Decimal n,k = input().split() n =int(n) k =Decimal(k) a = math.floor(n*k) print(a)
from decimal import * import math n,k = input().split() n =Decimal(n) k =Decimal(k) a = math.floor(n*k) print(a)
[["-", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["+", 36, 36, 0, 656, 0, 686, 0, 690, 0, 48], ["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]]
5
41
#define _USE_MATH_DEFINES #include <bits/stdc++.h> using namespace std; typedef long long ll; const int INF = 1e9; const ll MOD = 1e9 + 7; const ll LINF = 1e18; #define y0 y3487465 #define y1 y8687969 #define j0 j1347829 #define j1 j234892 #define next asdnext #define prev asdprev #define MP make_pair // pairのコンストラクタ ...
#define _USE_MATH_DEFINES #include <bits/stdc++.h> using namespace std; typedef long long ll; const int INF = 1e9; const ll MOD = 1e9 + 7; const ll LINF = 1e18; #define y0 y3487465 #define y1 y8687969 #define j0 j1347829 #define j1 j234892 #define next asdnext #define prev asdprev #define MP make_pair // pairのコンストラクタ ...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
163
import math i = list(map(float, input().split())) A = int(i[0]) B = i[1] # print(int(A * B)) print(math.floor(A * B))
import math import decimal i = list(map(decimal.Decimal, input().split())) A = int(i[0]) B = i[1] print(math.floor(A * B))
[["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 22], ["+", 3, 4, 0, 652, 3, 4, 0, 319, 500, 22], ["+", 3, 4, 0, 652, 3, 4, 0, 319, 0, 131], ["+", 3, 4, 0, 652, 3, 4, 0, 319, 319, 22]]
5
46
#include <bits/stdc++.h> using namespace std; int main() { long long a; cin >> a; double b; cin >> b; double ans; long long ANS; ans = a * b; ANS = ans; cout << ANS << endl; }
#include <bits/stdc++.h> using namespace std; int main() { long long a; cin >> a; long double b; cin >> b; long double ans; long long ANS; ans = a * b; ANS = ans; cout << ANS << endl; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
50
import sys a, b = map(float, input().split()) b *= 100 a = int(a) b = int(b) if list(str(int(a * b)))[:-2]: [sys.stdout.write(i) for i in list(str(int(a * b)))[:-2]] print("") else: print(0)
import sys from decimal import Decimal a, b = map(Decimal, input().split()) b *= 100 a = int(a) b = int(b) if list(str(int(a * b)))[:-2]: [sys.stdout.write(i) for i in list(str(int(a * b)))[:-2]] print("") else: print(0)
[["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]]
5
93
#include <iostream> using namespace std; int main() { long long ans; double a, b; cin >> a >> b; ans = (long long)a * b; cout << ans << endl; return 0; }
#include <iostream> using namespace std; int main() { long long ans; long double a, b; cin >> a >> b; ans = (long long)a * b; cout << ans << endl; return 0; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
46
import math from decimal import * getcontext().prec = 28 x,y = map(str,input().split()) X = Decimal(int(x)) Y = Decimal(float(y)) z = math.floor(X*Y) print(int(z))
import math from decimal import * getcontext().prec = 40 x,y = map(str,input().split()) X = Decimal(int(x)) Y = Decimal(y) z = math.floor(X*Y) print(int(z))
[["-", 36, 36, 0, 656, 0, 1, 0, 662, 12, 612], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 12, 612], ["-", 0, 662, 12, 652, 3, 4, 0, 652, 63, 22], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
64
import sys import math input = sys.stdin.readline def main(): A, B = input().split() # print(int(A)*float(B)) print(int(math.floor(int(A)*float(B)))) if __name__ == '__main__': main()
import sys import math from decimal import Decimal input = sys.stdin.readline def main(): A, B = input().split() # print(int(A)*Decimal(B)) print(int(math.floor(int(A)*Decimal(B)))) if __name__ == '__main__': main()
[["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 0, 652, 3, 4, 0, 657, 12, 652, 63, 22], ["+", 0, 652, 3, 4, 0, 657, 12, 652, 63, 22]]
5
58
a,b=list(input().split()) a=int(a) b=int(float(b)*100) c=int(int(a*b)//100) print(c)
a,b=list(input().split()) a=int(a) b=int(float(b)*100+0.1) c=int(int(a*b)//100) print(c)
[["+", 0, 662, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 531]]
5
48
#include <iomanip> #include <iostream> #include <math.h> #include <string> using namespace std; int main() { unsigned long long A, C; double B; cin >> A >> B; C = floor(A * B); cout << C << endl; return 0; }
#include <iomanip> #include <iostream> #include <math.h> #include <string> using namespace std; int main() { unsigned long long A, C; long double B; cin >> A >> B; C = floor(A * B); cout << C << endl; return 0; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
52
#include <cmath> #include <iostream> using namespace std; int main() { int a; int b; cin >> a >> b; long double rs = 0; rs = floor(a * b); cout << (long long)(rs); return 0; }
#include <cmath> #include <iostream> using namespace std; int main() { long double a; long double b; cin >> a >> b; long double rs = 0; rs = floor(a * b); cout << (long long)(rs); return 0; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40]]
1
54
a, b = map(float, input().split()) a = int(a) b*=100 b = int(round(b)) print(a,b) ans = a*b ans = ans//100 print(ans) # import math # print(0.11*100) # i = 0.01 # while i <= 1.00: # print(round(i*100)) # i+=0.01
a, b = map(float, input().split()) a = int(a) b*=100 b = int(round(b)) # print(a,b) ans = a*b ans = ans//100 print(ans) # import math # print(0.11*100) # i = 0.01 # while i <= 1.00: # print(round(i*100)) # i+=0.01
[["-", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 24], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 21], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 25]]
5
60
#include <algorithm> #include <climits> #include <cmath> #include <iomanip> #include <iostream> #include <map> #include <set> #include <unordered_map> #include <unordered_set> #include <vector> #define endl "\n" #define debug(x) cout << #x << " : " << x << endl; #define FASTIO ios_base::sync_with_stdio(false), cin.tie(...
#include <algorithm> #include <climits> #include <cmath> #include <iomanip> #include <iostream> #include <map> #include <set> #include <unordered_map> #include <unordered_set> #include <vector> #define endl "\n" #define debug(x) cout << #x << " : " << x << endl; #define FASTIO ios_base::sync_with_stdio(false), cin.tie(...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
76
#include <bits/stdc++.h> using namespace std; #define F first #define S second #define R cin >> #define Z class #define ll long long #define ln cout << '\n' #define in(a) insert(a) #define pb(a) push_back(a) #define pd(a) printf("%.10f\n", a) #define mem(a) memset(a, 0, sizeof(a)) #define all(c) (c).begin(), (c).end() ...
#include <bits/stdc++.h> using namespace std; #define F first #define S second #define R cin >> #define Z class #define ll long long #define ln cout << '\n' #define in(a) insert(a) #define pb(a) push_back(a) #define pd(a) printf("%.10f\n", a) #define mem(a) memset(a, 0, sizeof(a)) #define all(c) (c).begin(), (c).end() ...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21]]
1
355
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; const int INF = 100000000; const int MAX_N = 100; typedef pair<int, int> P; typedef long long ll; int main() { ll A; double B; cin >> A >> B; /* int tmp = (int) B / 1; printf("%d\n", tmp); double tmp1 = B - tmp;...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; const int INF = 100000000; const int MAX_N = 100; typedef pair<int, int> P; typedef long long ll; int main() { long double A; long double B; cin >> A >> B; /* int tmp = (int) B / 1; printf("%d\n", tmp); double t...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40]]
1
82
#include <bits/stdc++.h> #define f(i, a, b) for (ll i = a; i < b; i++) #define af(i, a, b) for (ll i = a; i >= b; i--) #define rep(i, a, b, k) for (ll i = a; i < b; i += k) #define arep(i, a, b, k) for (ll i = a; i >= b; i -= k) #define ones(x) (ll) __builtin_popcount(x) #define fs first #define sc second #define pb p...
#include <bits/stdc++.h> #define f(i, a, b) for (ll i = a; i < b; i++) #define af(i, a, b) for (ll i = a; i >= b; i--) #define rep(i, a, b, k) for (ll i = a; i < b; i += k) #define arep(i, a, b, k) for (ll i = a; i >= b; i -= k) #define ones(x) (ll) __builtin_popcount(x) #define fs first #define sc second #define pb p...
[["-", 0, 43, 49, 50, 51, 74, 39, 77, 39, 40], ["+", 49, 50, 51, 74, 39, 77, 39, 86, 0, 96], ["-", 0, 1, 0, 16, 31, 16, 12, 2, 63, 22], ["-", 0, 16, 31, 16, 12, 2, 3, 4, 0, 24], ["-", 0, 16, 31, 16, 12, 2, 3, 4, 0, 25]]
1
198
#include <bits/stdc++.h> using namespace std; #define ALL(x) x.begin(), x.end() #define PI 3.14159265358979323846264338327950L int main() { double a; cin >> a; double b; cin >> b; double t = a * b; long long ans = floor(t); cout << ans << endl; }
#include <bits/stdc++.h> using namespace std; #define ALL(x) x.begin(), x.end() #define PI 3.14159265358979323846264338327950L int main() { long long a; cin >> a; long double b; cin >> b; long double t = a * b; long long ans = floor(t); cout << ans << endl; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
57
#include <bits/stdc++.h> using namespace std; #define ll long long int void boost() { ios_base::sync_with_stdio(false); cin.tie(NULL); } int main() { boost(); ll a; double c; cin >> a >> c; ll ans = a * c; cout << ans << endl; }
#include <bits/stdc++.h> using namespace std; #define ll long long int void boost() { ios_base::sync_with_stdio(false); cin.tie(NULL); } int main() { boost(); ll a; long double c; cin >> a >> c; ll ans = a * c; cout << ans << endl; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
64
#include <bits/stdc++.h> using namespace std; int main() { long long a; double b; cin >> a >> b; long long c; c = floor(a * b); cout << c << endl; }
#include <bits/stdc++.h> using namespace std; int main() { long long a; long double b; cin >> a >> b; long long c; c = floor(a * b); cout << c << endl; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
44
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); long long int A; double B; cin >> A >> B; double ans = A * B; long long int rounded_ans = trunc(ans); cout << rounded_ans << "\n"; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); long double A; long double B; cin >> A >> B; long double ans = A * B; long long int rounded_ans = trunc(ans); cout << rounded_ans << "\n"; return 0; }
[["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
75
import math ab = input().split() a = int(ab[0]) b = float(ab[1]) print(math.floor(a * b))
import math from decimal import * ab = input().split() a = int(ab[0]) b = Decimal(ab[1]) print(math.floor(a * b))
[["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 0, 690, 0, 48], ["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]]
5
40
import math A, B = map(str, input().split()) A = int(A) B = float(B) ans = A * B print(int(ans))
from decimal import * A, B = map(str, input().split()) A = Decimal(A) B = Decimal(B) ans = A * B print(int(ans))
[["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["-", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["+", 36, 36, 0, 656, 0, 686, 0, 690, 0, 48], ["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]]
5
42
a,b=map(float,input().split()) c=a*b c=int(c) print(c)
from decimal import Decimal a,b=map(Decimal,input().split()) c=a*b c=int(c) print(c)
[["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]]
5
31
#include <bits/stdc++.h> #define fi first #define se second #define ll long long #define mod 1000000007 #define endl "\n" #define fast \ ios::sync_with_stdio(false); \ cin.tie(0); ...
#include <bits/stdc++.h> #define fi first #define se second #define ll long long #define mod 1000000007 #define endl "\n" #define fast \ ios::sync_with_stdio(false); \ cin.tie(0); ...
[["+", 0, 52, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 52, 8, 9, 0, 1, 0, 16, 17, 151], ["+", 0, 52, 8, 9, 0, 1, 0, 16, 12, 22]]
1
414
/** * code generated by JHelper * More info: https://github.com/AlexeyDmitriev/JHelper * @author NikuKyabe */ #include "bits/stdc++.h" using namespace std; #define MOD 1000000007 //#define MOD 998244353 const double EPS = 1e-9; #define INF (1LL << 60) #define D double #define fs first #define sc second #define int...
/** * code generated by JHelper * More info: https://github.com/AlexeyDmitriev/JHelper * @author NikuKyabe */ #include "bits/stdc++.h" using namespace std; #define MOD 1000000007 //#define MOD 998244353 const double EPS = 1e-9; #define INF (1LL << 60) #define D double #define fs first #define sc second #define int...
[["+", 8, 9, 0, 43, 49, 50, 51, 2, 63, 22], ["+", 0, 43, 49, 50, 51, 2, 3, 4, 0, 24], ["+", 0, 43, 49, 50, 51, 2, 3, 4, 0, 25]]
1
249
from decimal import Decimal, ROUND_DOWN N, K = map(float, input().split()) print(Decimal(N*K).quantize(Decimal('0'), rounding=ROUND_DOWN))
from decimal import Decimal, ROUND_DOWN N, K = map(Decimal, input().split()) print(Decimal(N*K).quantize(Decimal('0'), rounding=ROUND_DOWN))
[["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]]
5
45
#include <iostream> #include <string> #include <vector> using namespace std; int main() { long long a, ans; double b; cin >> a >> b; ans = a * b; cout << ans << endl; }
#include <iostream> #include <string> #include <vector> using namespace std; int main() { long long a, ans; long double b; cin >> a >> b; ans = a * b; cout << ans << endl; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
43
#include <math.h> #include <stdio.h> int main(void) { long long int a; double b; long long int p; scanf("%lld %lf", &a, &b); p = (int)floorl(a * b); printf("%lld", p); }
#include <math.h> #include <stdio.h> int main(void) { long long int a; long double b; long long int p; scanf("%lld %llf", &a, &b); p = (long long int)floorl(a * b); printf("%lld", p); }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 11, 12, 74, 39, 77, 39, 86, 0, 96]]
0
58
#include <bits/stdc++.h> using namespace std; int main() { double A; double B; cin >> A >> B; long result = (long)floor(A * B); cout << result << endl; return 0; }
#include <bits/stdc++.h> using namespace std; int main() { long A; long double B; cin >> A >> B; long result = (long)floor(A * B); cout << result << endl; return 0; }
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
46
#include <bits/stdc++.h> using namespace std; #define ll long long #define mod 1000000007 int main() { int t = 1; // cin >> t; while (t--) { ll a; double b; cin >> a >> b; cout << (ll)(a * b); } return 0; }
#include <bits/stdc++.h> using namespace std; #define ll long long #define mod 1000000007 int main() { int t = 1; // cin >> t; while (t--) { ll a; long double b; cin >> a >> b; cout << (ll)(a * b); } return 0; }
[["+", 0, 52, 8, 9, 0, 43, 39, 86, 0, 96]]
1
57
/* atcoder */ #include "bits/stdc++.h" using namespace std; /* typedef */ /* long系 */ typedef long long ll; // long long typedef long double ld; // long double /* vector系 */ typedef vector<int> vi; // intのvector typedef vector<double> vd; // doubleのvector typedef vector<ll> vll; ...
/* atcoder */ #include "bits/stdc++.h" using namespace std; /* typedef */ /* long系 */ typedef long long ll; // long long typedef long double ld; // long double /* vector系 */ typedef vector<int> vi; // intのvector typedef vector<double> vd; // doubleのvector typedef vector<ll> vll; ...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78]]
1
332
#define _USE_MATH_DEFINES #include <algorithm> #include <bits/stdc++.h> #include <climits> #include <cmath> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <limits> #include <map> #include <numeric> #include <set> #include <stdlib.h> #include <string> #include <vector> using name...
#define _USE_MATH_DEFINES #include <algorithm> #include <bits/stdc++.h> #include <climits> #include <cmath> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <limits> #include <map> #include <numeric> #include <set> #include <stdlib.h> #include <string> #include <vector> using name...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
71
#include <iostream> #include <vector> using namespace std; int main() { int a; double b; cin >> a >> b; double c = a * b; cout << (int)c << endl; return 0; }
#include <iostream> #include <vector> using namespace std; int main() { long long int a; long double b; cin >> a >> b; long double c = a * b; cout << (long int)c << endl; return 0; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 31, 16, 12, 74, 39, 77, 39, 86, 0, 96]]
1
45
import sys import math import collections from collections import deque from functools import reduce import heapq #n = int(input()) a, b = map(str, sys.stdin.readline().split()) #n = input() #a = list(map(int, sys.stdin.readline().split())) x = int(a) y = float(b) print(math.floor(x*y))
import sys import math import collections import decimal from collections import deque from functools import reduce import heapq #n = int(input()) a, b = map(str, sys.stdin.readline().split()) #n = input() #a = list(map(int, sys.stdin.readline().split())) x = int(a) y = decimal.Decimal(b) print(math.floor(x*y...
[["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 500, 22], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 0, 131], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 319, 22]]
5
62
#include <stdio.h> int main() { long double a; long double b; scanf("%lf %lf", &a, &b); long long int c = a * b; printf("%lld\n", c); }
#include <stdio.h> int main() { long double a; long double b; scanf("%Lf %Lf", &a, &b); long long int c = a * b; printf("%lld\n", c); }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
48
import decimal ab = input().split() a,b = int(ab[0]),decimal(ab[1]) answer = int(a*b) print(answer)
from decimal import Decimal ab = input().split() a,b = int(ab[0]),Decimal(ab[1]) answer = int(a*b) print(answer)
[["-", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 0, 1, 0, 662, 12, 432, 0, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 432, 0, 652, 63, 22]]
5
42
from decimal import * a,b = map(float,input().split()) print(int(Decimal(a)*Decimal(b)))
from decimal import Decimal a,b = map(str,input().split()) print(int(Decimal(a)*Decimal(b)))
[["-", 36, 36, 0, 656, 0, 686, 0, 690, 0, 48], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]]
5
35
from decimal import * A, B = map(float, input().split()) print(Decimal(A)*Decimal(B)//1)
from decimal import * A, B = map(str, input().split()) print(Decimal(A)*Decimal(B)//1)
[["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]]
5
34
/* Dont BLUNDER */ #include <bits/stdc++.h> using namespace std; /*#include <ext/pb_ds/assoc_container.hpp> // Common file #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds;*/ //#define d long double #define int long long #define pii pair<int, int> #define pb push_back #define endl '\n' #define inf (int)...
/* Dont BLUNDER */ #include <bits/stdc++.h> using namespace std; /*#include <ext/pb_ds/assoc_container.hpp> // Common file #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds;*/ //#define d long double #define int long long #define pii pair<int, int> #define pb push_back #define endl '\n' #define inf (int)...
[["-", 8, 9, 0, 1, 0, 16, 12, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 16, 12, 74, 0, 24], ["+", 0, 1, 0, 16, 12, 74, 39, 77, 39, 40], ["+", 8, 9, 0, 1, 0, 16, 12, 74, 0, 25]]
1
328
#pragma GCC optimize("Ofast") #pragma GCC optimize("unroll-loops") #pragma GCC push_options #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx") #include <bits/stdc++.h> #include <immintrin.h> #include <xmmintrin.h> using namespace ::std; __attribute__((constructor)) void init() { cin.tie(0); ios::sync...
#pragma GCC optimize("Ofast") #pragma GCC optimize("unroll-loops") #pragma GCC push_options #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx") #include <bits/stdc++.h> #include <immintrin.h> #include <xmmintrin.h> using namespace ::std; __attribute__((constructor)) void init() { cin.tie(0); ios::sync...
[["+", 31, 16, 12, 2, 3, 4, 0, 2, 63, 22], ["+", 12, 2, 3, 4, 0, 2, 3, 4, 0, 24], ["+", 12, 2, 3, 4, 0, 2, 3, 4, 0, 25]]
1
4,406
from decimal import Decimal s = input() a, b = s.split() a = int(a) b = float(b) print(int(a*b))
from decimal import Decimal s = input() a, b = s.split() a = int(a) b = Decimal(b) print(int(a * b))
[["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]]
5
39
#include <stdio.h> int main(void) { double a, b; long long int ans; scanf("%lf%lf", &a, &b); ans = a * b; printf("%lld", ans); return 0; }
#include <stdio.h> int main(void) { long double a, b; long long int ans; scanf("%Lf%Lf", &a, &b); ans = a * b; printf("%lld", ans); return 0; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
0
50
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; using P = pair<int, int>; int main() { double a, b; cin >> a >> b; double ans = a * b; int x; x = ans; cout << x << endl; }
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; using P = pair<int, int>; int main() { long double a, b; cin >> a >> b; long double ans = a * b; long int x; x = ans; cout << x << endl; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
67
import math import decimal list1 = input().split() N = float(list1[0]) M = float(list1[1]) a = N*M val_pi_d = decimal.Decimal(a) val_floor_d = val_pi_d.quantize(decimal.Decimal('0'), rounding=decimal.ROUND_FLOOR) print(int(val_floor_d))
import math import decimal list1 = input().split() N = decimal.Decimal(list1[0]) M = decimal.Decimal(list1[1]) a = N*M val_pi_d = decimal.Decimal(a) val_floor_d = val_pi_d.quantize(decimal.Decimal('0'), rounding=decimal.ROUND_FLOOR) print(int(val_floor_d))
[["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 500, 22], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 0, 131], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 319, 22]]
5
72
#include <bits/stdc++.h> using namespace std; using ll = long long; template <class T, class U> using Pa = pair<T, U>; template <class T> using vec = vector<T>; template <class T> using vvec = vector<vec<T>>; int main() { cin.tie(0); ios::sync_with_stdio(false); double A, B; cin >> A >> B; ll ans = floor(A *...
#include <bits/stdc++.h> using namespace std; using ll = long long; template <class T, class U> using Pa = pair<T, U>; template <class T> using vec = vector<T>; template <class T> using vvec = vector<vec<T>>; int main() { cin.tie(0); ios::sync_with_stdio(false); long double A, B; cin >> A >> B; ll ans = floo...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
108
#include <bits/stdc++.h> using namespace std; int main() { long long int A; double B; cin >> A >> B; cout << (long double)(trunc(A * B)); // code return 0; }
#include <bits/stdc++.h> using namespace std; int main() { long double A; long double B; cin >> A >> B; cout << (long long int)(trunc(A * B)); // code return 0; }
[["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 16, 12, 74, 39, 77, 39, 86, 39, 40], ["+", 0, 16, 12, 74, 39, 77, 39, 86, 0, 96], ["+", 0, 16, 12, 74, 39, 77, 39, 86, 39, 40]]
1
45
A, B = map(float, input().split()) A = int(A) B *= 100 B = int(B) print(int(A * B // 100))
from decimal import Decimal A, B = map(Decimal, input().split()) A = int(A) B *= 100 B = int(B) print(int(A * B // 100))
[["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]]
5
42
#include <bits/stdc++.h> using namespace std; #define mem(a) memset(a, 0, sizeof(a)) #define dbg(x) cout << #x << " = " << x << endl #define ll long long //不要再爆long long了!!!!!!!!不要再爆long long了!!!!!!! int main() { double b; ll a; cin >> a >> b; ll c = a * b; printf("%lld", c); return 0; }
#include <bits/stdc++.h> using namespace std; #define mem(a) memset(a, 0, sizeof(a)) #define dbg(x) cout << #x << " = " << x << endl #define ll long long //不要再爆long long了!!!!!!!!不要再爆long long了!!!!!!! int main() { long double b; ll a; cin >> a >> b; ll c = a * b; printf("%lld", c); return 0; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
59
// BISMILLAHIR RAHMANIR RAHIM #include <bits/stdc++.h> #define mem(a, b) (memset(a, b, sizeof(a))) #define pb push_back #define mk make_pair #define ff first #define ss second #define PI acos(-1) #define INF 2147483647 #define MOD 1000000007 #define MAX 200005 using namespace std; typedef long long ll; typedef vector<...
// BISMILLAHIR RAHMANIR RAHIM #include <bits/stdc++.h> #define mem(a, b) (memset(a, b, sizeof(a))) #define pb push_back #define mk make_pair #define ff first #define ss second #define PI acos(-1) #define INF 2147483647 #define MOD 1000000007 #define MAX 200005 using namespace std; typedef long long ll; typedef vector<...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78]]
1
263
#include <bits/stdc++.h> using namespace std; typedef unsigned long long l; int main() { double A, B; cin >> A >> B; double ans = A * B; l a = ans; cout << a << endl; return 0; }
#include <bits/stdc++.h> using namespace std; typedef long long l; int main() { long double A, B; cin >> A >> B; long double ans = A * B; l a = ans; cout << a << endl; return 0; }
[["-", 36, 36, 0, 30, 0, 134, 39, 86, 0, 87], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
50
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; typedef pair<ll, ll> l_l; typedef pair<int, int> i_i; typedef vector<ll> vl; typedef vector<int> vi; typedef vector<char> vec; typedef vector<bool> veb; typedef vector<string> ves; typedef vector<vector<ll>> vvl; typedef vector<...
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; typedef pair<ll, ll> l_l; typedef pair<int, int> i_i; typedef vector<ll> vl; typedef vector<int> vi; typedef vector<char> vec; typedef vector<bool> veb; typedef vector<string> ves; typedef vector<vector<ll>> vvl; typedef vector<...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]]
1
389
from decimal import Decimal import math A, B = input().split() A = Decimal(A) B = Decimal(B) ans = A*B print(math.floor(ans/100))
from decimal import Decimal import math A, B = input().split() A = Decimal(A) B = Decimal(B) ans = A*B print(math.floor(ans))
[["-", 3, 4, 0, 652, 3, 4, 0, 657, 17, 85], ["-", 3, 4, 0, 652, 3, 4, 0, 657, 12, 612]]
5
45
#include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using ll = long long; using uint = unsigned int; using graph = std::vector<std::vector<ll>>; using wGraph = std::vector<std::vector<std::pair<l...
#include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using ll = long long; using uint = unsigned int; using graph = std::vector<std::vector<ll>>; using wGraph = std::vector<std::vector<std::pair<l...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]]
1
1,053
a, b = input().split() a = int(a) b = float(b) print(int((a*b)//1))
from decimal import Decimal a, b = input().split() a=int(a) b=Decimal(b) print(int((a*b)//1))
[["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]]
5
36
#include <bits/stdc++.h> using namespace std; #define IOS \ ios::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0); #define endl "\...
#include <bits/stdc++.h> using namespace std; #define IOS \ ios::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0); #define endl "\...
[["+", 8, 9, 0, 43, 49, 50, 51, 2, 63, 22], ["-", 0, 43, 49, 50, 51, 74, 39, 77, 39, 40], ["-", 8, 9, 0, 43, 49, 50, 51, 74, 0, 25], ["+", 0, 43, 49, 50, 51, 2, 3, 4, 0, 25]]
1
83
#include <bits/stdc++.h> using namespace std; inline __int128 read() { __int128 x = 0, f = 1; char ch = getchar(); while (ch < '0' || ch > '9') { if (ch == '-') f = -1; ch = getchar(); } while (ch >= '0' && ch <= '9') { x = x * 10 + ch - '0'; ch = getchar(); } return x * f; } inline...
#include <bits/stdc++.h> using namespace std; inline __int128 read() { __int128 x = 0, f = 1; char ch = getchar(); while (ch < '0' || ch > '9') { if (ch == '-') f = -1; ch = getchar(); } while (ch >= '0' && ch <= '9') { x = x * 10 + ch - '0'; ch = getchar(); } return x * f; } inline...
[["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 1, 0, 16, 12, 74, 51, 2, 63, 22]]
1
189
a,b=map(str,input().split()) a=int(a) c,d=map(int,b.split(".")) print(a*c+int(a*d/100))
a,b=map(str,input().split()) a=int(a) c,d=map(int,b.split(".")) print(a*c+int(a*d//100))
[["-", 0, 657, 12, 652, 3, 4, 0, 657, 17, 85], ["+", 0, 657, 12, 652, 3, 4, 0, 657, 17, 676]]
5
54
#include <iostream> using namespace std; int main() { int a; long double b; cin >> a >> b; int c = a * b; cout << c; }
#include <iostream> using namespace std; int main() { long long int a; long double b; cin >> a >> b; long long int c = a * b; cout << c; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
36
line = input() nums = line.split(" ") a = int(nums[0]) b = int(nums[1].replace(".", "")) print(str(a*b)[:-2])
line = input() nums = line.split(" ") a = int(nums[0]) b = int(nums[1].replace(".", "")) print(str(a*b)[:-2] or 0)
[["+", 0, 1, 0, 652, 3, 4, 0, 679, 17, 354], ["+", 0, 1, 0, 652, 3, 4, 0, 679, 12, 612]]
5
57
def resolve(): a, b = input().split() a = int(a) b100 = int(b.replace('.', '')) ans = str(a * b100) print(ans) if len(ans) > 2: ans = ans[:-2] else: ans = 0 ans = int(ans) print(ans) resolve()
def resolve(): a, b = input().split() a = int(a) b100 = int(b.replace('.', '')) ans = str(a * b100) if len(ans) > 2: ans = ans[:-2] else: ans = 0 ans = int(ans) print(ans) resolve()
[["-", 0, 14, 8, 196, 0, 1, 0, 652, 63, 22], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 24], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 22], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 25]]
5
84
// #pragma GCC optimize("unroll-loops", "omit-frame-pointer", "inline") // #pragma GCC option("arch=native", "tune=native", "no-zero-upper") // #pragma GCC // target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,tune=native") // #pragma GCC optimize("Ofast") // #pragma GCC optimize("tree-vectorize","openmp","predic...
// #pragma GCC optimize("unroll-loops", "omit-frame-pointer", "inline") // #pragma GCC option("arch=native", "tune=native", "no-zero-upper") // #pragma GCC // target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,tune=native") // #pragma GCC optimize("Ofast") // #pragma GCC optimize("tree-vectorize","openmp","predic...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
506
#include <bits/stdc++.h> using namespace std; #define int long long #define TEST \ int t = 1; \ while (t--) \ solve()...
#include <bits/stdc++.h> using namespace std; #define int long long #define TEST \ int t = 1; \ while (t--) \ solve()...
[["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22]]
1
78
#include <bits/stdc++.h> using namespace std; int main() { long long a; long double b; cin >> a >> b; cout << int(a * b); return 0; }
#include <bits/stdc++.h> using namespace std; int main() { long long a; long double b; cin >> a >> b; cout << long(a * b); return 0; }
[["-", 8, 9, 0, 1, 0, 16, 12, 2, 63, 40], ["+", 8, 9, 0, 1, 0, 16, 12, 2, 63, 22]]
1
38
import math a = list(map(str,input().split())) a[0]=int(a[0]) a[1]=float(a[1]) ans=a[0]*a[1] print(math.floor(ans))
import math from decimal import Decimal a = list(map(str,input().split())) a[0]=int(a[0]) a[1]=Decimal(a[1]) ans=a[0]*a[1] print(math.floor(ans))
[["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]]
5
63
#include <bits/stdc++.h> using namespace std; int main() { long long A; double B; cin >> A >> B; double K; K = A * B; long long N; N = K / 1; cout << N << endl; }
#include <bits/stdc++.h> using namespace std; int main() { long long A; long double B; cin >> A >> B; long double K; K = A * B; long long N; N = K / 1; cout << N << endl; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
50
import math a,b = input().strip().split() a,b = int(a),float(b) print(math.floor(a*b))
import math from decimal import Decimal a,b = input().strip().split() a,b = int(a),Decimal(b) print(math.floor(a*b))
[["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22], ["-", 0, 1, 0, 662, 12, 432, 0, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 432, 0, 652, 63, 22]]
5
41
A,B=input().split() A=int(A) B=float(B) print(int(A*B))
A,B=input().split() import decimal A=int(A) B=decimal.Decimal(B) print(int(A*B))
[["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 500, 22], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 0, 131], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 319, 22]]
5
32
// Deep Godhani // DAIICT #include <bits/stdc++.h> using namespace std; #define N 100000000000 #define PI acos(-1) #define INF LONG_LONG_MAX #define NINF LONG_LONG_MIN #define ll long long int #define ld long double #define precision(x, d) cout << fixed << setprecision(d) << x #define FAST ...
// Deep Godhani // DAIICT #include <bits/stdc++.h> using namespace std; #define N 100000000000 #define PI acos(-1) #define INF LONG_LONG_MAX #define NINF LONG_LONG_MIN #define ll long long int #define ld long double #define precision(x, d) cout << fixed << setprecision(d) << x #define FAST ...
[["+", 0, 1, 0, 16, 31, 16, 12, 74, 0, 24], ["+", 0, 16, 31, 16, 12, 74, 39, 77, 39, 78], ["+", 0, 1, 0, 16, 31, 16, 12, 74, 0, 25]]
1
122
#include <algorithm> #include <cctype> #include <cmath> #include <deque> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <utility> #include <vector> using namespace std; using ll = long long; using P = pair<int, int>; #define rep(i, n)...
#include <algorithm> #include <cctype> #include <cmath> #include <deque> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <string> #include <utility> #include <vector> using namespace std; using ll = long long; using P = pair<int, int>; #define rep(i, n)...
[["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]]
1
108
#include <bits/stdc++.h> using namespace std; using ld = long double; int main() { ld A, B; cin >> A >> B; ld ans = A * B; cout << (int)ans << endl; }
#include <bits/stdc++.h> using namespace std; using ld = long double; int main() { ld A, B; cin >> A >> B; ld ans = A * B; cout << (long long)ans << endl; }
[["-", 0, 16, 31, 16, 12, 74, 39, 77, 39, 40], ["+", 31, 16, 12, 74, 39, 77, 39, 86, 0, 96]]
1
45
#include <bits/stdc++.h> using namespace std; typedef pair<int, int> pi; #define PI 3.14159265359 long long mod = 1000000007; // int count=INT_MAX; struct hash_pair { template <class T1, class T2> size_t operator()(const pair<T1, T2> &p) const { auto hash1 = hash<T1>{}(p.first); auto hash2 = hash<T2>{}(p.se...
#include <bits/stdc++.h> using namespace std; typedef pair<int, int> pi; #define PI 3.14159265359 long long mod = 1000000007; // int count=INT_MAX; struct hash_pair { template <class T1, class T2> size_t operator()(const pair<T1, T2> &p) const { auto hash1 = hash<T1>{}(p.first); auto hash2 = hash<T2>{}(p.se...
[["+", 0, 7, 8, 9, 0, 43, 39, 86, 0, 96]]
1
169
#include <iostream> using namespace std; int main() { long long a; double b; cin >> a >> b; cout << (long long)(a * b) << endl; return 0; }
#include <iostream> using namespace std; int main() { long long a; long double b; cin >> a >> b; cout << (long long)(a * b) << endl; return 0; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
42
#include <bits/stdc++.h> #define llu unsigned long long #define ll long long #define INF 0x3f3f3f3f #define fast \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); ...
#include <bits/stdc++.h> #define llu unsigned long long #define ll long long #define INF 0x3f3f3f3f #define fast \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); ...
[["+", 0, 52, 8, 9, 0, 43, 39, 86, 0, 96]]
1
285
#include <bits/stdc++.h> #define ll long long int #include <algorithm> #include <list> #define ld long double #define pb push_back #define FF first #define SS second #define rep(a, b, c) for (a = b; a < c; a++) #define repr(a, b, c) for (a = b - 1; a >= c; a--) #define PLL pair<ll, ll> #define inf 100000001 #define mod...
#include <bits/stdc++.h> #define ll long long int #include <algorithm> #include <list> #define ld long double #define pb push_back #define FF first #define SS second #define rep(a, b, c) for (a = b; a < c; a++) #define repr(a, b, c) for (a = b - 1; a >= c; a--) #define PLL pair<ll, ll> #define inf 100000001 #define mod...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
293
#include <bits/stdc++.h> using namespace std; int main() { long long int A; double B; long long int C; cin >> A >> B; C = A * B; cout << C << endl; }
#include <bits/stdc++.h> using namespace std; int main() { long long int A; long double B; long long int C; cin >> A >> B; C = (long long int)A * B; cout << C << endl; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 24], ["+", 12, 16, 31, 74, 39, 77, 39, 86, 0, 96], ["+", 12, 16, 31, 74, 39, 77, 39, 86, 39, 40], ["+", 0, 1, 0, 11, 12, 16, 31, 74, 0, 25]]
1
43
#include <bits/stdc++.h> using namespace std; int main() { double ans = 1, a, b; cin >> a >> b; cout << (long long int)(floor)(a * b); return 0; }
#include <bits/stdc++.h> using namespace std; int main() { long double a, b; cin >> a >> b; cout << (long long int)(floor)(a * b); return 0; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 14, 8, 9, 0, 43, 49, 50, 49, 22], ["-", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21]]
1
46
#include <bits/stdc++.h> #include <chrono> #include <cmath> #include <complex> #include <cstdio> #include <cstring> #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 1000000007 #define inf 100000000...
#include <bits/stdc++.h> #include <chrono> #include <cmath> #include <complex> #include <cstdio> #include <cstring> #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 1000000007 #define inf 100000000...
[["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22]]
1
118
#include <bits/stdc++.h> using namespace std; #define IOS \ ios_base::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0); typedef long lon...
#include <bits/stdc++.h> using namespace std; #define IOS \ ios_base::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0); typedef long lon...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 24], ["+", 51, 16, 31, 74, 39, 77, 39, 86, 0, 96], ["+", 51, 16, 31, 74, 39, 77, 39, 86, 39, 40], ["+", 0, 43, 49, 50, 51, 16, 31, 74, 0, 25]]
1
91