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
ma = lambda :map(int,input().split()) ni = lambda:int(input()) import collections import math import itertools gcd = math.gcd a,b = input().split() a = int(a) b100 = 100*int(b[0]) + 10*int(b[1]) +int(b[2]) print(a*b100//100)
ma = lambda :map(int,input().split()) ni = lambda:int(input()) import collections import math import itertools gcd = math.gcd a,b = input().split() a = int(a) b100 = 100*int(b[0]) + 10*int(b[2]) +int(b[3]) print(a*b100//100)
[["-", 12, 657, 12, 652, 3, 4, 0, 206, 206, 612], ["+", 12, 657, 12, 652, 3, 4, 0, 206, 206, 612]]
5
91
# Code for C - Multiplication 3 # Use input() to fetch data from STDIN from math import floor [a, b] = list(map(float,input().split()) ) print(floor(a * b))
# Code for C - Multiplication 3 # Use input() to fetch data from STDIN from decimal import Decimal from math import floor [a, b] = list(map(Decimal, input().split())) print(floor(a * b))
[["+", 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], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 22], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 22]]
5
36
from sys import stdin import math A, B = [float(x) for x in stdin.readline().rstrip().split()] print(math.floor(A * B))
from sys import stdin from decimal import Decimal import math A, B = [Decimal(x) for x in stdin.readline().rstrip().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], ["-", 0, 1, 0, 662, 12, 658, 8, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 658, 8, 652, 63, 22]]
5
43
import sys sys.setrecursionlimit(10 ** 8) input = sys.stdin.readline def main(): A, B = [x for x in input().split()] print(int(float(A) * float(B))) if __name__ == '__main__': main()
import sys from decimal import * # Decimal(10).sqrt() sys.setrecursionlimit(10 ** 8) input = sys.stdin.readline def main(): A, B = [x for x in input().split()] print(int(Decimal(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, 0, 690, 0, 48], ["-", 0, 652, 3, 4, 0, 657, 31, 652, 63, 22], ["+", 0, 652, 3, 4, 0, 657, 31, 652, 63, 22], ["-", 0, 652, 3, 4, 0, 657, 12, 652, 63...
5
64
#include <bits/stdc++.h> using namespace std; using ll = long long; const int MOD = 1e9 + 7; int main() { ll a; double b; cin >> a >> b; ll c = b * 100; cout << a * c / 100 << endl; }
#include <bits/stdc++.h> using namespace std; using ll = long long; const int MOD = 1e9 + 7; int main() { ll a; double b; cin >> a >> b; ll c = round(b * 100); cout << a * c / 100 << endl; }
[["+", 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
55
i = input().split() a = int(i[0]) b = int(i[0]+i[2:]) print(a * b // 100)
i = input().split() a = int(i[0]) b = int(i[1][0]+i[1][2:]) print(a * b // 100)
[["+", 3, 4, 0, 657, 31, 206, 51, 206, 206, 612], ["+", 3, 4, 0, 657, 31, 206, 51, 206, 0, 73], ["+", 12, 652, 3, 4, 0, 657, 31, 206, 0, 70], ["+", 3, 4, 0, 657, 12, 206, 51, 206, 0, 70], ["+", 3, 4, 0, 657, 12, 206, 51, 206, 206, 612], ["+", 3, 4, 0, 657, 12, 206, 51, 206, 0, 73]]
5
41
#include <algorithm> #include <iostream> #include <map> #include <math.h> #include <set> #include <string> #include <utility> #include <vector> #define rep(i, a, b) for (int i = (a); i < (b); ++i) typedef long long ll; using namespace std; // const double PI=3.14159265358979323846; int main() { int64_t a; double ...
#include <algorithm> #include <iostream> #include <map> #include <math.h> #include <set> #include <string> #include <utility> #include <vector> #define rep(i, a, b) for (int i = (a); i < (b); ++i) typedef long long ll; using namespace std; // const double PI=3.14159265358979323846; int main() { int64_t a; double ...
[["-", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 49, 22], ["-", 49, 50, 51, 16, 31, 23, 0, 16, 12, 22], ["+", 49, 50, 51, 16, 31, 23, 0, 16, 12, 22]]
1
83
A, B = list(map(float, input().split())) #print(A*B) print(int((int(A)*int(B*100+0.5))//100+0.005))
A, B = list(map(float, input().split())) #print(A*B) print(int((int(A)*int(B*100+0.5))//100))
[["-", 3, 4, 0, 652, 3, 4, 0, 657, 17, 72], ["-", 3, 4, 0, 652, 3, 4, 0, 657, 12, 531]]
5
45
#解放2 from decimal import Decimal from floor import math a, b = input().split() a = int(a) b = Decimal(b) print(floor(a*b))
#解放2 from decimal import Decimal from math import floor a, b = input().split() a = int(a) b = Decimal(b) print(floor(a*b))
[["-", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["-", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22]]
5
41
a, b = input().split() b.replace(".", "") print(int(a)*int(b)//100)
#解放1 a, b = input().split() b = b.replace(".", "") print(int(a)*int(b)//100)
[["+", 36, 36, 0, 656, 0, 1, 0, 662, 0, 32], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 500, 22]]
5
36
#include <bits/stdc++.h> using namespace std; using ll = long long; #define rep(i, n) for (int i = 0; i < n; i++) int main() { unsigned long long A, b, ans = 0; // ll A, b, ans = 0; float B; cin >> A >> B; b = B * 100; ans = A * b; ans = ans / 100; cout << ans << endl; return 0; }
#include <bits/stdc++.h> using namespace std; using ll = long long; #define rep(i, n) for (int i = 0; i < n; i++) int main() { unsigned long long A, b, ans = 0; // ll A, b, ans = 0; float B; cin >> A >> B; b = B * 100 + 0.5; ans = A * b; ans = ans / 100; cout << ans << endl; return 0; }
[["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
1
74
a,b = input().split() b = int(float(b)*100) print(int(a)*b//100)
a,b = input().split() b = int(float(b)*100+0.5) print(int(a)*b//100)
[["+", 0, 662, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 531]]
5
33
import decimal a,b = map(decimal,input().split()) print(int(a*b))
import decimal a,b = map(decimal.Decimal,input().split()) print(int(a*b))
[["+", 0, 662, 12, 652, 3, 4, 0, 319, 0, 131], ["+", 0, 662, 12, 652, 3, 4, 0, 319, 319, 22]]
5
27
#include <bits/stdc++.h> using namespace std; int main() { long long a; double b; cin >> a >> b; b *= 100; a *= (int)(b + 0.1); cout << a << endl; }
#include <bits/stdc++.h> using namespace std; int main() { long long a; double b; cin >> a >> b; b *= 100; a *= (int)(b + 0.1); cout << a / 100 << endl; }
[["+", 0, 1, 0, 16, 31, 16, 12, 16, 17, 85], ["+", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]]
1
46
#include <bits/stdc++.h> #include <cassert> #define rep(i, n) for (int i = 0; i < (n); i++) using namespace std; using ll = long long; using P = pair<int, int>; struct Edge { int to; int weight; Edge(int t, int w) : to(t), weight(w) {} }; using Graph = vector<vector<Edge>>; // using Graph = vector<vector<int>>; ...
#include <bits/stdc++.h> #include <cassert> #define rep(i, n) for (int i = 0; i < (n); i++) using namespace std; using ll = long long; using P = pair<int, int>; struct Edge { int to; int weight; Edge(int t, int w) : to(t), weight(w) {} }; using Graph = vector<vector<Edge>>; // using Graph = vector<vector<int>>; ...
[["-", 0, 16, 31, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 22]]
1
181
/* このコード、と~おれ! Be accepted! ∧_∧  (。・ω・。)つ━☆・*。 ⊂   ノ    ・゜+.  しーJ   °。+ *´¨)          .· ´¸.·*´¨) ¸.·*¨)           (¸.·´ (¸.·'* ☆ */ #include <algorithm> #include <bitset> #include <cassert> #include <cmath> #include <complex> #include <cstdio> #include <cstring> #include <functional> #include <ioma...
/* このコード、と~おれ! Be accepted! ∧_∧  (。・ω・。)つ━☆・*。 ⊂   ノ    ・゜+.  しーJ   °。+ *´¨)          .· ´¸.·*´¨) ¸.·*¨)           (¸.·´ (¸.·'* ☆ */ #include <algorithm> #include <bitset> #include <cassert> #include <cmath> #include <complex> #include <cstdio> #include <cstring> #include <functional> #include <ioma...
[["-", 36, 36, 0, 30, 0, 43, 49, 50, 51, 13], ["+", 36, 36, 0, 30, 0, 43, 49, 50, 51, 13], ["-", 0, 1, 0, 2, 3, 4, 0, 2, 63, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 2, 63, 22], ["-", 3, 4, 0, 2, 3, 4, 0, 16, 17, 33], ["+", 3, 4, 0, 2, 3, 4, 0, 16, 17, 72]]
1
466
import math x,y=map(float,input().split()) x=int(x) y1=int(round(y*100)) print(math.floor(x*y1/100))
x,y=map(float,input().split()) x=int(x) y1=int(round(y*100)) print((x*y1//100))
[["-", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["-", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["-", 0, 652, 3, 4, 0, 652, 63, 319, 500, 22], ["-", 0, 652, 3, 4, 0, 652, 63, 319, 0, 131], ["-", 0, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["-", 3, 4, 0, 652, 3, 4, 0, 657, 17, 85], ["+", 0, 652, 3, 4, 0, 23, 0, 657, 17, 67...
5
48
#!/bin/python3 import sys input = sys.stdin.readline def main(): a, b = input().strip().split() a, b = int(a), int(float(b)*100) result = int(a * b /100) print(result) main()
#!/bin/python3 import sys input = sys.stdin.readline def main(): a, b = input().strip().split() a, b = int(a), round(float(b)*100) result = a * b //100 print(result) main()
[["-", 0, 1, 0, 662, 12, 432, 0, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 432, 0, 652, 63, 22], ["-", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["-", 0, 662, 12, 652, 3, 4, 0, 657, 17, 85], ["+", 8, 196, 0, 1, 0, 662, 12, 657, 17, 676], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]]
5
65
from sys import stdin input = stdin.readline A, B = map(float, input().split()) print(int(A * B))
from sys import stdin import decimal input = stdin.readline A, B = map(decimal.Decimal, input().split()) # print(A, 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, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 662, 12, 652, 3, 4, 0, 319, 500, 22], ["+", 0, 662, 12, 652, 3, 4, 0, 319, 0, 131], ["+", 0, 662, 12, 652, 3, 4, 0, 319, 319, 22]]
5
34
a,b = map(float,input().split()) A = int(A) B = int(round(float(B) * 100)) print(a*b//100)
a,b = map(float,input().split()) a = int(a) b = int(round(float(b) * 100)) print(a*b//100)
[["-", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["-", 3, 4, 0, 657, 31, 652, 3, 4, 0, 22], ["+", 3, 4, 0, 657, 31, 652, 3, 4, 0, 22]]
5
44
#include <bits/stdc++.h> using namespace std; using ll = long long; using vl = vector<ll>; using vvl = vector<vl>; using vb = vector<bool>; using P = pair<ll, ll>; template <typename T> using pq = priority_queue<T>; template <typename T> using minpq = priority_queue<T, vector<T>, greater<T>>; template <typename T, ty...
#include <bits/stdc++.h> using namespace std; using ll = long long; using vl = vector<ll>; using vvl = vector<vl>; using vb = vector<bool>; using P = pair<ll, ll>; template <typename T> using pq = priority_queue<T>; template <typename T> using minpq = priority_queue<T, vector<T>, greater<T>>; template <typename T, ty...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
430
#include <bits/stdc++.h> #define rep(i, a) for (int i = (int)0; i < (int)a; ++i) #define rrep(i, a) for (int i = (int)a - 1; i >= 0; --i) #define REP(i, a, b) for (int i = (int)a; i < (int)b; ++i) #define RREP(i, a, b) for (int i = (int)a - 1; i >= b; --i) #define pb push_back #define eb emplace_back #define all(x) x.b...
#include <bits/stdc++.h> #define rep(i, a) for (int i = (int)0; i < (int)a; ++i) #define rrep(i, a) for (int i = (int)a - 1; i >= 0; --i) #define REP(i, a, b) for (int i = (int)a; i < (int)b; ++i) #define RREP(i, a, b) for (int i = (int)a - 1; i >= b; --i) #define pb push_back #define eb emplace_back #define all(x) x.b...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
295
#include <algorithm> #include <cassert> #include <cmath> #include <cstdio> #include <cstring> #include <deque> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <string> #include <tuple> #include <vector> using namespace std; typedef long long int LL; typedef pair<int, int> P; typedef pair...
#include <algorithm> #include <cassert> #include <cmath> #include <cstdio> #include <cstring> #include <deque> #include <iomanip> #include <iostream> #include <map> #include <queue> #include <string> #include <tuple> #include <vector> using namespace std; typedef long long int LL; typedef pair<int, int> P; typedef pair...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
393
/* ID: zhaowei10 TASK: LANG: C++14 */ #include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #include <ext/rope> using namespace __gnu_cxx; using namespace __gnu_pbds; using namespace std; #ifdef LOCAL #include <debug.h> #else #define debug(...) 0 #endif #define eb em...
/* ID: zhaowei10 TASK: LANG: C++14 */ #include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #include <ext/rope> using namespace __gnu_cxx; using namespace __gnu_pbds; using namespace std; #ifdef LOCAL #include <debug.h> #else #define debug(...) 0 #endif #define eb em...
[["+", 8, 9, 0, 57, 15, 339, 51, 91, 17, 111]]
1
282
#include <iostream> int main() { long long A; double B; std::cin >> A >> B; long long ans = A * B; std::cout << ans << "\n"; }
#include <iostream> int main() { long long A; long double B; std::cin >> A >> B; long long ans = A * B; std::cout << ans << "\n"; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
41
#define _DEBUG #include "bits/stdc++.h" #define CHOOSE(a) CHOOSE2 a #define CHOOSE2(a0, a1, a2, a3, a4, x, ...) x #define debug_1(x1) cout << #x1 << ": " << x1 << endl #define debug_2(x1, x2) \ cout << #x1 << ": " << x1 << ", " #x2 << ": " << x2 << endl #define d...
#define _DEBUG #include "bits/stdc++.h" #define CHOOSE(a) CHOOSE2 a #define CHOOSE2(a0, a1, a2, a3, a4, x, ...) x #define debug_1(x1) cout << #x1 << ": " << x1 << endl #define debug_2(x1, x2) \ cout << #x1 << ": " << x1 << ", " #x2 << ": " << x2 << endl #define d...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
288
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <vector> using namespace std; const long MOD = 1000000007; typedef pair<int, int> P; typedef long long ll; int main() { ll A; double B; cin >> A >> B; ll b2 = B * 100; ll ans = A * b2 / 100; printf("%lld\n", ans); ret...
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <vector> using namespace std; const long MOD = 1000000007; typedef pair<int, int> P; typedef long long ll; int main() { ll A; double B; cin >> A >> B; ll b2 = (B + 0.001) * 100; // cout << b2 << endl; ll ans = A * b2 / 10...
[["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 24], ["+", 49, 50, 51, 16, 31, 23, 0, 16, 17, 72], ["+", 49, 50, 51, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 25]]
1
81
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <vector> using namespace std; const long MOD = 1000000007; typedef pair<int, int> P; typedef long long ll; int main() { ll A; double B; cin >> A >> B; ll b2 = B * 100; ll ans = A * b2 / 100; printf("%lld\n", ans); ret...
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <vector> using namespace std; const long MOD = 1000000007; typedef pair<int, int> P; typedef long long ll; int main() { ll A; double B; cin >> A >> B; ll b2 = round(B * 100); // cout << b2 << endl; ll ans = A * b2 / 100; ...
[["+", 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
81
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; using ll = long long; using P = pair<int, int>; using pll = pair<long long, long long>; constexpr int INF = 1e9; constexpr long long LINF = 1e17; constexpr int MOD = 1000000007; int main() { ll a; double b; cin >> ...
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (int)(n); i++) using namespace std; using ll = long long; using P = pair<int, int>; using pll = pair<long long, long long>; constexpr int INF = 1e9; constexpr long long LINF = 1e17; constexpr int MOD = 1000000007; int main() { ll a; long double b; ci...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
103
#include <algorithm> #include <cctype> #include <cstdlib> #include <fstream> #include <iomanip> #include <iostream> #include <istream> #include <map> #include <math.h> #include <set> #include <sstream> #include <string> #include <vector> #define rep(i, N) for (int i = 0; i < (int)N; ++i) // cout << fixed << setprecisio...
#include <algorithm> #include <cctype> #include <cstdlib> #include <fstream> #include <iomanip> #include <iostream> #include <istream> #include <map> #include <math.h> #include <set> #include <sstream> #include <string> #include <vector> #define rep(i, N) for (int i = 0; i < (int)N; ++i) // cout << fixed << setprecisio...
[["+", 31, 16, 12, 2, 3, 4, 0, 16, 17, 85], ["+", 31, 16, 12, 2, 3, 4, 0, 16, 12, 13]]
1
149
#include <algorithm> #include <assert.h> #include <bitset> #include <complex> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; #def...
#include <algorithm> #include <assert.h> #include <bitset> #include <complex> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <numeric> #include <queue> #include <set> #include <stack> #include <string> #include <vector> using namespace std; #def...
[["-", 31, 23, 0, 16, 31, 69, 341, 342, 0, 13], ["+", 31, 23, 0, 16, 31, 69, 341, 342, 0, 13], ["-", 12, 23, 0, 16, 31, 69, 341, 342, 0, 13], ["+", 12, 23, 0, 16, 31, 69, 341, 342, 0, 13]]
1
173
#include <bits/stdc++.h> using namespace std; using ll = long long; #define rep(i, n) for (int i = 0; i < (int)(n); i++) const int INF = 1001001001; using P = pair<int, int>; int main(void) { ll a; double b; cin >> a >> b; double tmp = a * b; string s = to_string(tmp); int i = s.find('.'); cout << s.subs...
#include <bits/stdc++.h> using namespace std; using ll = long long; #define rep(i, n) for (int i = 0; i < (int)(n); i++) const int INF = 1001001001; using P = pair<int, int>; int main(void) { ll a; long double b; cin >> a >> b; long double tmp = a * b; string s = to_string(tmp); int i = s.find('.'); cout...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
95
#define _USE_MATH_DEFINES #include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <set> #include <string> #include <vector> using namespace std; int main() { unsigned long long A; double B; cin >> A >> B; unsigned long long sum = B * 100; sum *= A; cout << sum / 100 << endl; ...
#define _USE_MATH_DEFINES #include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <set> #include <string> #include <vector> using namespace std; int main() { unsigned long long A; double B; cin >> A >> B; unsigned long long sum = B * 100 + 0.1; sum *= A; cout << sum / 100 << ...
[["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]]
1
64
S = input().split() A = int(S[0]) B = float(S[1]) print((A * int(B * 100)) // 100)
S = input().split() A = int(S[0]) B = float(S[1]) print((A * int((B + 0.009 ) * 100)) // 100)
[["+", 12, 652, 3, 4, 0, 657, 31, 23, 0, 24], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 17, 72], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 12, 531], ["+", 12, 652, 3, 4, 0, 657, 31, 23, 0, 25]]
5
42
A, B = [x for x in input().split()] A = int(A) B = int(float(B) * 100) print(A*B // 100)
A, B = [x for x in input().split()] A = int(A) B = int(round(float(B) * 100)) print(A*B // 100)
[["+", 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
42
inp = input().split() A = int(inp[0]) _B = float(inp[1]) B = _B * 100 res = int(A*B // 100) print(str(res))
inp = input().split() A = int(inp[0]) _B = float(inp[1]) B = round(_B * 100) res = int(A*B // 100) print(str(res))
[["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]]
5
49
#!/usr/bin/env python3 def main(): a, b = input().split() a, b = int(a), int(float(b) * 100) print((a * b) // 100) if __name__ == "__main__": main()
#!/usr/bin/env python3 def main(): a, b = input().split() a, b = int(a), round(float(b) * 100) print((a * b) // 100) if __name__ == "__main__": main()
[["-", 0, 1, 0, 662, 12, 432, 0, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 432, 0, 652, 63, 22]]
5
55
A,B = map(input().split()) A = int(A) B = B.replace(".","") B = int(B) ans = int((A * B)//100) print(str(ans))
A,B = input().split() A = int(A) B = B.replace(".","") B = int(B) ans = int((A * B)//100) print(str(ans))
[["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
58
#include <bits/stdc++.h> #define _GLIBCXX_DEBUG using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = (s); i < (int)(n); i++) using ll = long long; using P = pair<int, int>; ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; } ll lcm(ll a, ll b) { return a / gcd(a,...
#include <bits/stdc++.h> #define _GLIBCXX_DEBUG using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = (s); i < (int)(n); i++) using ll = long long; using P = pair<int, int>; ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; } ll lcm(ll a, ll b) { return a / gcd(a,...
[["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]]
1
142
#pragma GCC optimize("Ofast") #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<int, int>; using pll = pair<long long, long long>; constexpr char ln = '\n'; constexpr long long MOD = 998244353; constexpr long long INF = 1000000009LL; #define all(x) (x).begin(), (x).end() #define rep(i...
#pragma GCC optimize("Ofast") #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<int, int>; using pll = pair<long long, long long>; constexpr char ln = '\n'; constexpr long long MOD = 998244353; constexpr long long INF = 1000000009LL; #define all(x) (x).begin(), (x).end() #define rep(i...
[["+", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 17, 32]]
1
194
a,b = map(float, input().split(' ')) import math print(math.floor(a*b))
from decimal import Decimal a,b = map(Decimal, input().split(' ')) import math 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, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]]
5
32
require 'bigdecimal' a,b = gets.split p (BigDecimal(a)*BigDecimal(b)).ceil
require 'bigdecimal' a,b = gets.split p (BigDecimal(a)*BigDecimal(b)).floor
[["-", 0, 493, 0, 652, 3, 4, 0, 652, 735, 22], ["+", 0, 493, 0, 652, 3, 4, 0, 652, 735, 22]]
4
25
#pragma GCC optimize("Ofast") #include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < n; i++) #define cinf(n, x) \ for (int i = 0; i < (n); i++) \ cin >> x[i]; #define ft first #define sc second #defi...
#pragma GCC optimize("Ofast") #include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < n; i++) #define cinf(n, x) \ for (int i = 0; i < (n); i++) \ cin >> x[i]; #define ft first #define sc second #defi...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
259
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> int compare(const void *a, const void *b) { if (*(long long *)a > *(long long *)b) return 1; return -1; } int main(int argc, const char *argv[]) { unsigned long long a; scanf("%llu", &a); char b[5]; scanf("%s", b); unsigned l...
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> int compare(const void *a, const void *b) { if (*(long long *)a > *(long long *)b) return 1; return -1; } int main(int argc, const char *argv[]) { unsigned long long a; scanf("%llu", &a); char b[5]; scanf("%s", b); unsigned l...
[["-", 75, 76, 0, 9, 0, 1, 0, 11, 12, 13], ["+", 75, 76, 0, 9, 0, 1, 0, 11, 12, 13]]
0
251
A, B = input().split() A = int(A) B = int(float(B)*100) print(int((A*B)//100))
A, B = input().split() A = int(A) B = int((float(B)+0.005)*100) print(int((A*B)//100))
[["+", 12, 652, 3, 4, 0, 657, 31, 23, 0, 24], ["+", 31, 23, 0, 657, 31, 652, 3, 4, 0, 25], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 17, 72], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 12, 531]]
5
41
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> P; int main() { ll a; double b; cin >> a >> b; // cout << (ll)(b * 100) << endl; // cout << (a * (ll)(b * 100)) << endl; cout << (a * (ll)(b * 100)) / 100LL << endl; return 0; }
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> P; int main() { ll a; double b; cin >> a >> b; cout << (a * (ll)(b * 100 + 0.1)) / 100LL << endl; return 0; }
[["+", 0, 16, 12, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 16, 12, 2, 3, 4, 0, 16, 12, 13]]
1
62
#include <bits/stdc++.h> #define rep3(i, s, n, a) for (int i = (s); i < (int)(n); i += a) #define rep2(i, s, n) rep3(i, s, n, 1) #define rep(i, n) rep2(i, 0, n) #define DIV 1000000000 using namespace std; using ll = long long; using ull = unsigned long long; using P = pair<int, int>; int main() { ll a; double b;...
#include <bits/stdc++.h> #define rep3(i, s, n, a) for (int i = (s); i < (int)(n); i += a) #define rep2(i, s, n) rep3(i, s, n, 1) #define rep(i, n) rep2(i, 0, n) #define DIV 1000000000 using namespace std; using ll = long long; using ull = unsigned long long; using P = pair<int, int>; int main() { ull a; double b...
[["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]]
1
123
#include <algorithm> #include <bits/stdc++.h> #include <functional> using namespace std; typedef long long ll; typedef unsigned long long ull; typedef long double ld; #define DEBUG #define PI 3.141592653589793238462643383279 #define _GLIBCXX_DEBUG #ifdef DEBUG #define s(...) show(__VA_ARGS__); #define sl(...) ...
#include <algorithm> #include <bits/stdc++.h> #include <functional> using namespace std; typedef long long ll; typedef unsigned long long ull; typedef long double ld; #define DEBUG #define PI 3.141592653589793238462643383279 #define _GLIBCXX_DEBUG #ifdef DEBUG #define s(...) show(__VA_ARGS__); #define sl(...) ...
[["-", 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, 0, 35], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21]]
1
489
#include <bits/stdc++.h> using namespace std; using namespace __detail; typedef long long ll; #define ar array #define vi vector<int> #define vvi vector<vector<int>> #define vll vector<long long> #define fork(i, n) for (ll i = 0; i < (n); i++) #define forn for (ll i = 0; i < (n); i++) #define fori(i, k, n) for (ll i =...
#include <bits/stdc++.h> using namespace std; using namespace __detail; typedef long long ll; #define ar array #define vi vector<int> #define vvi vector<vector<int>> #define vll vector<long long> #define fork(i, n) for (ll i = 0; i < (n); i++) #define forn for (ll i = 0; i < (n); i++) #define fori(i, k, n) for (ll i =...
[["-", 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
349
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; int main() { cin.tie(0); ios::sync_with_stdio(false); ll A, B; double b; cin >> A >> b; B = static_cast<ll>(b * double(100)); cerr << A * B << endl; cout << A * B / 100LL << endl; }
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; int main() { cin.tie(0); ios::sync_with_stdio(false); ll A, B; double b; cin >> A >> b; B = static_cast<ll>((b + 0.001) * double(100)); cerr << A * B << endl; cout << A * B / 100LL << endl; }
[["+", 12, 2, 3, 4, 0, 16, 31, 23, 0, 24], ["+", 3, 4, 0, 16, 31, 23, 0, 16, 17, 72], ["+", 3, 4, 0, 16, 31, 23, 0, 16, 12, 13], ["+", 12, 2, 3, 4, 0, 16, 31, 23, 0, 25]]
1
83
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { long long A; double B; cin >> A >> B; cout << (long long)(A * B * 100) / 100 << endl; }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { long double A, B; cin >> A >> B; cout << (long long)(A * B * 100) / 100 << endl; }
[["-", 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, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21]]
1
51
#include <algorithm> #include <deque> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <queue> #include <string> #include <vector> const int MOD = 1e9 + 7; #define PI 3.14159265359 typedef long long ll; using namespace std; int main() { double a, b; cin >> a >> b; ll ans = floor(a...
#include <algorithm> #include <deque> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <queue> #include <string> #include <vector> const int MOD = 1e9 + 7; #define PI 3.14159265359 typedef long long ll; using namespace std; int main() { long double a, b; cin >> a >> b; ll ans = fl...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
74
#include <bits/stdc++.h> using namespace std; using ll = long long; const ll limit = 1e18; int main() { ll a; double b; cin >> a >> b; a = a * (b * 100 + 0.05); cout << a / 100 << endl; return 0; }
#include <bits/stdc++.h> using namespace std; using ll = long long; const ll limit = 1e18; int main() { ll a; double b; cin >> a >> b; a *= int(b * 100 + 0.05); cout << a / 100 << endl; return 0; }
[["-", 0, 14, 8, 9, 0, 1, 0, 11, 17, 32], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 17, 108], ["+", 8, 9, 0, 1, 0, 11, 12, 2, 63, 40]]
1
59
from decimal import * A, B = input().split() A = Decimal(A) B = Decimal(B) print(A * B)
from decimal import * A, B = input().split() A = Decimal(A) B = Decimal(B) print(int(A * B))
[["+", 0, 1, 0, 652, 3, 4, 0, 652, 63, 22], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
33
#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { unsigned long a; double b; scanf("%lu%lf", &a, &b); unsigned long ans = 0; ans = (unsigned long)(a * b); printf("%lu\n", ans); }
#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { unsigned long a; long double b; scanf("%lu%Lf", &a, &b); unsigned long ans = 0; ans = (unsigned long)(a * b); printf("%lu\n", ans); }
[["+", 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
60
#include <algorithm> #include <cmath> #include <cstdio> #include <iostream> #include <string> #define ull unsigned long long #define ll long long using namespace std; // const int N = 1e5 + 5; // const ll maxx = 1e18; // // ll a[N]; // int main() { // int n; // cin >> n; // ll ans = 1; // int flag = 0; // for (int i =...
#include <algorithm> #include <cmath> #include <cstdio> #include <iostream> #include <string> #define ull unsigned long long #define ll long long using namespace std; // const int N = 1e5 + 5; // const ll maxx = 1e18; // // ll a[N]; // int main() { // int n; // cin >> n; // ll ans = 1; // int flag = 0; // for (int i =...
[["+", 0, 16, 31, 16, 12, 2, 63, 23, 0, 22], ["+", 0, 16, 31, 16, 12, 2, 63, 23, 0, 25], ["+", 0, 16, 31, 16, 12, 2, 3, 4, 0, 24], ["+", 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
101
#include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/queue.h> #include <tgmath.h> #include <time.h> #define ll long long #define min(a, b) ((a) > (b) ? (b) : (a)) #define max(a, b) ((a) > (b) ? (a) : (b)) double a, b; main() { scanf("%lf%lf", &a, &b); pr...
#include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/queue.h> #include <tgmath.h> #include <time.h> #define ll long long #define min(a, b) ((a) > (b) ? (b) : (a)) #define max(a, b) ((a) > (b) ? (a) : (b)) long double a, b; main() { scanf("%Lf%Lf", &a, &b);...
[["+", 36, 36, 0, 30, 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, 1, 0, 2, 3, 4, 0, 2, 63, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 2, 63, 22]]
0
77
#include <bits/stdc++.h> using namespace std; using ll = long long; #define rep(i, n) for (i = 0; i < n; i++) // 2D::rep(i,j)rep(j,j)cin>>bin[i][j]; // vector<int> a(n) #define A1 cout << "No" << endl #define A2 cout << "Yes" << endl #define A3 cout << ans << endl #define AA(i) cout << i << endl const int U = 2e5 + 5; ...
#include <bits/stdc++.h> using namespace std; using ll = long long; #define rep(i, n) for (i = 0; i < n; i++) // 2D::rep(i,j)rep(j,j)cin>>bin[i][j]; // vector<int> a(n) #define A1 cout << "No" << endl #define A2 cout << "Yes" << endl #define A3 cout << ans << endl #define AA(i) cout << i << endl const int U = 2e5 + 5; ...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
89
#include <bits/stdc++.h> #define INF 5000000000000000000 #define ll long long #define pll pair<ll, ll> using namespace std; int main() { ll A; double B; cin >> A >> B; B *= 100.0; B = round(B); ll ans = A * B; ans /= 100; cout << ans << "\n"; }
#include <bits/stdc++.h> #define INF 5000000000000000000 #define ll long long #define pll pair<ll, ll> using namespace std; int main() { ll A; long double B; cin >> A >> B; B *= 100.0; B = round(B); ll ans = A * B; ans /= 100; cout << ans << "\n"; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
63
#define _USE_MATH_DEFINES #include <bits/stdc++.h> using namespace std; #define int long long #define rep(i, n) for (int i = 0; i < n; i++) #define rep2(i, s, f) for (int i = s; i < f; i++) #define INF 1000000000000000000 #define MOD 1000000007 #define endl "\n" #define fcout cout << fixed << setprecision(15) typedef p...
#define _USE_MATH_DEFINES #include <bits/stdc++.h> using namespace std; #define int long long #define rep(i, n) for (int i = 0; i < n; i++) #define rep2(i, s, f) for (int i = s; i < f; i++) #define INF 1000000000000000000 #define MOD 1000000007 #define endl "\n" #define fcout cout << fixed << setprecision(15) typedef p...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
874
#include <bits/stdc++.h> using namespace std; using ll = long long int; using P = pair<int, int>; #define loop(i, n) for (int i = 0; i < n; i++) #define IINF 2e9 #define MOD 1e9 + 7 int main(void) { ll a; double b; cin >> a >> b; ll ans = a * b; cout << ans << endl; return 0; }
#include <bits/stdc++.h> using namespace std; using ll = long long int; using P = pair<int, int>; #define loop(i, n) for (int i = 0; i < n; i++) #define IINF 2e9 #define MOD 1e9 + 7 int main(void) { ll a; long double b; cin >> a >> b; long double ans = a * b; cout << (ll)ans << endl; return 0; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 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
72
from decimal import Decimal 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)))
[["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]]
5
35
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <vector> typedef long long ll; const ll MOD = 1e9 + 7; const long long INF = 1LL << 60; const double PI = 3.14159265358979323846; const int NMAX = 100005; using namespace std; int main()...
#include <algorithm> #include <cmath> #include <iostream> #include <map> #include <queue> #include <set> #include <string> #include <vector> typedef long long ll; const ll MOD = 1e9 + 7; const long long INF = 1LL << 60; const double PI = 3.14159265358979323846; const int NMAX = 100005; using namespace std; int main()...
[["+", 8, 9, 0, 43, 49, 50, 51, 2, 63, 22], ["+", 0, 43, 49, 50, 51, 2, 3, 4, 0, 24], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 49, 50, 51, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 43, 49, 50, 51, 2, 3, 4, 0, 25]]
1
97
a,b=input().split() a=int(a) b=int(b.replace('.','')) ans=int(a*b) print(ans/100)
a,b=input().split() a=int(a) b=int(b.replace('.','')) ans=int(a*b) print(ans//100)
[["-", 0, 1, 0, 652, 3, 4, 0, 657, 17, 85], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 676]]
5
47
// include //------------------------------------------ #include <algorithm> #include <bitset> #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <deque> #include <fstream> #include <functional> #include <iomanip> #include <iostream> #include <limits> ...
// include //------------------------------------------ #include <algorithm> #include <bitset> #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <deque> #include <fstream> #include <functional> #include <iomanip> #include <iostream> #include <limits> ...
[["-", 51, 16, 12, 16, 31, 23, 0, 16, 17, 85], ["-", 51, 16, 12, 16, 31, 23, 0, 16, 12, 22], ["-", 49, 50, 51, 16, 12, 16, 31, 23, 0, 25], ["+", 49, 50, 51, 16, 12, 16, 31, 23, 0, 25], ["+", 0, 43, 49, 50, 51, 16, 12, 16, 17, 85], ["+", 0, 43, 49, 50, 51, 16, 12, 16, 12, 22]]
1
459
#include <bits/stdc++.h> using namespace std; #define FIN \ ios_base::sync_with_stdio(false); \ cin.tie(0); \ cout.tie(0); typedef long lo...
#include <bits/stdc++.h> using namespace std; #define FIN \ ios_base::sync_with_stdio(false); \ cin.tie(0); \ cout.tie(0); typedef long lo...
[["+", 0, 11, 12, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 11, 12, 2, 3, 4, 0, 16, 12, 13]]
1
64
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) typedef long long ll; int main() { ll a; long double b; cin >> a >> b; ll bb = b * 100; ll ans = a * bb; cout << ans / 100 << endl; return 0; }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) typedef long long ll; int main() { ll a; long double b; cin >> a >> b; ll bb = round(b * 100); ll ans = a * bb; cout << ans / 100 << endl; return 0; }
[["+", 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
63
#include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <string.h> #include <tuple> #include <vector> using namespace std; #define INF 100000000; #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) typedef long long ll; #define eps 1.0e-14; int main() { ...
#include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <map> #include <math.h> #include <string.h> #include <tuple> #include <vector> using namespace std; #define INF 100000000; #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) typedef long long ll; #define eps 1.0e-14; int main() { ...
[["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22]]
1
94
#include <bits/stdc++.h> using namespace std; int main() { long double a, b; cin >> a >> b; cout << floorl(a * b) << endl; }
#include <bits/stdc++.h> using namespace std; int main() { long double a, b; cin >> a >> b; cout << (long long)floorl(a * b) << endl; }
[["+", 0, 1, 0, 16, 31, 16, 12, 74, 0, 24], ["+", 31, 16, 12, 74, 39, 77, 39, 86, 0, 96], ["+", 0, 1, 0, 16, 31, 16, 12, 74, 0, 25]]
1
35
#include <bits/stdc++.h> using namespace std; using ll = long long; #define FOR(i, a, b) for (ll i = a; (i) < (b); ++(i)) #define RFOR(i, a, b) for (ll i = a; (i) >= (b); --(i)) #define REP(i, n) FOR(i, 0, n) #define RREP(i, n) RFOR(i, n, 0) #define ALL(v) v.begin(), v.end() #define UNIQ(v) ...
#include <bits/stdc++.h> using namespace std; using ll = long long; #define FOR(i, a, b) for (ll i = a; (i) < (b); ++(i)) #define RFOR(i, a, b) for (ll i = a; (i) >= (b); --(i)) #define REP(i, n) FOR(i, 0, n) #define RREP(i, n) RFOR(i, n, 0) #define ALL(v) v.begin(), v.end() #define UNIQ(v) ...
[["-", 0, 43, 49, 50, 51, 16, 31, 23, 0, 24], ["-", 49, 50, 51, 16, 31, 23, 0, 16, 17, 72], ["-", 49, 50, 51, 16, 31, 23, 0, 16, 12, 13], ["-", 0, 43, 49, 50, 51, 16, 31, 23, 0, 25], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]]
1
161
#include <bits/stdc++.h> using namespace std; int main() { cin.tie(0); ios_base::sync_with_stdio(false); long long int a; double b; cin >> a >> b; long long c = ceil(b * 100); long long ans = a * c; cout << ans / 100 << endl; }
#include <bits/stdc++.h> using namespace std; int main() { cin.tie(0); ios_base::sync_with_stdio(false); long long int a; double b; cin >> a >> b; long long c = round(b * 100); long long ans = a * c; cout << ans / 100 << endl; }
[["-", 8, 9, 0, 43, 49, 50, 51, 2, 63, 22], ["+", 8, 9, 0, 43, 49, 50, 51, 2, 63, 22]]
1
67
#include <bits/stdc++.h> using namespace std; #define int unsigned long long #define INT int #define MOD 1000000007 #define rep(i, n) for (int i = 0; i < (n); i++) #define rep1(i, n) for (int i = 1; i < (n); i++) #define rrep(i, n) for (int i = (n)-1; i >= 0; i--) #define all(i) (i).begin(), (i).end() #define rall(i...
#include <bits/stdc++.h> using namespace std; #define int unsigned long long #define INT int #define MOD 1000000007 #define rep(i, n) for (int i = 0; i < (n); i++) #define rep1(i, n) for (int i = 1; i < (n); i++) #define rrep(i, n) for (int i = (n)-1; i >= 0; i--) #define all(i) (i).begin(), (i).end() #define rall(i...
[["-", 31, 23, 0, 16, 31, 69, 341, 342, 0, 13], ["+", 31, 23, 0, 16, 31, 69, 341, 342, 0, 13], ["-", 12, 23, 0, 16, 31, 69, 341, 342, 0, 13], ["+", 12, 23, 0, 16, 31, 69, 341, 342, 0, 13]]
1
178
a, b = map(str, input().split()) a = int(a) b = int(float(b)*100) print(a*b // 100)
a, b = map(str, input().split()) a = int(a) b = round(float(b)*100) print(a*b // 100)
[["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]]
5
41
#include <bits/stdc++.h> using namespace std; signed main() { int64_t a, b, c; char tmp; cin >> a >> b >> tmp >> c; b = b * 100 + c; a = a * b * 100; cout << a / 100 << endl; }
#include <bits/stdc++.h> using namespace std; signed main() { int64_t a, b, c; char tmp; cin >> a >> b >> tmp >> c; b = b * 100 + c; a *= b; cout << a / 100 << endl; }
[["-", 0, 14, 8, 9, 0, 1, 0, 11, 17, 32], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 31, 22], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 17, 48], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 17, 108], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
1
56
#include <bits/stdc++.h> using namespace std; constexpr long long MOD = 1000000007; constexpr long long INF = 1LL << 60; const long double PI = acosl(-1.0); using ll = long long; template <class T> inline bool chmin(T &a, T b) { if (a > b) { a = b; return true; } return false; } template <class T> inline ...
#include <bits/stdc++.h> using namespace std; constexpr long long MOD = 1000000007; constexpr long long INF = 1LL << 60; const long double PI = acosl(-1.0); using ll = long long; template <class T> inline bool chmin(T &a, T b) { if (a > b) { a = b; return true; } return false; } template <class T> inline ...
[["-", 0, 2, 3, 4, 0, 16, 12, 23, 0, 24], ["-", 3, 4, 0, 16, 12, 23, 0, 16, 12, 13], ["-", 0, 2, 3, 4, 0, 16, 12, 23, 0, 25], ["+", 3, 4, 0, 2, 3, 4, 0, 16, 12, 13]]
1
147
a, b = map(float, input().split()) a = int(a) b = int(b * 100) print((a * b) // 100)
a, b = map(float, input().split()) a = int(a) b = int((b + 0.001) * 100) print((a * b) // 100)
[["+", 12, 652, 3, 4, 0, 657, 31, 23, 0, 24], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 17, 72], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 12, 531], ["+", 12, 652, 3, 4, 0, 657, 31, 23, 0, 25]]
5
40
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define _GLIBCXX_DEBUG int main() { unsigned long long a; double b; cin >> a >> b; unsigned long long ans = a * round(b * 100); cout << ans / 100 << endl; }
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define _GLIBCXX_DEBUG int main() { unsigned long long a; long double b; cin >> a >> b; unsigned long long ans = a * round(b * 100) / 100; cout << ans << endl; }
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 85], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["-", 0, 1, 0, 16, 31, 16, 12, 16, 17, 85], ["-", 0, 1, 0, 16, 31, 16, 12, 16, 12, 13]]
1
58
#include <bits/stdc++.h> using namespace std; #define ft \ ios_base::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0); #define ll long ...
#include <bits/stdc++.h> using namespace std; #define ft \ ios_base::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0); #define ll long ...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
58
#include <algorithm> #include <cmath> #include <iostream> #include <vector> using namespace std; using ll = unsigned long long; ll u18 = 1000000000000000000; int main() { double b; ll a, bb; cin >> a >> b; b = b * 100.; bb = (ll)b; a *= bb; a /= 100; cout << a << endl; return 0; }
#include <algorithm> #include <cmath> #include <iostream> #include <vector> using namespace std; using ll = unsigned long long; ll u18 = 1000000000000000000; int main() { double b; ll a, bb; cin >> a >> b; b = round(b * 100.); bb = (ll)b; a *= bb; a /= 100; cout << a << endl; return 0; }
[["+", 8, 9, 0, 1, 0, 11, 12, 2, 63, 22], ["+", 0, 1, 0, 11, 12, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 11, 12, 2, 3, 4, 0, 25]]
1
74
#include <algorithm> #include <cmath> #include <iostream> #include <vector> using namespace std; using ll = long long; ll u18 = 1000000000000000000; int main() { double a, b; cin >> a >> b; cout << (ll)(a * b) << endl; return 0; }
#include <algorithm> #include <cmath> #include <iostream> #include <vector> using namespace std; using ll = unsigned long long; ll u18 = 1000000000000000000; int main() { long double a, b; cin >> a >> b; cout << (ll)(a * b) << endl; return 0; }
[["+", 0, 30, 0, 360, 39, 77, 39, 86, 0, 87], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
56
#include <bits/stdc++.h> using namespace std; #define int long long int #define mp(a, b) make_pair(a, b) #define vi vector<int> #define mii map<int, int> #define mpi map<pair<int, int>, int> #define vp vector<pair<int, int>> #define pb(a) push_back(a) #define fr(i, n) for (i = 0; i < n; i++) #define rep(i, a, n) for (i...
#include <bits/stdc++.h> using namespace std; #define int long long int #define mp(a, b) make_pair(a, b) #define vi vector<int> #define mii map<int, int> #define mpi map<pair<int, int>, int> #define vp vector<pair<int, int>> #define pb(a) push_back(a) #define fr(i, n) for (i = 0; i < n; i++) #define rep(i, a, n) for (i...
[["+", 0, 14, 8, 9, 0, 57, 64, 9, 0, 45], ["+", 0, 14, 8, 9, 0, 57, 64, 9, 0, 46], ["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13]]
1
222
line = input() line = line.split() a = int(line[0]) b = float(line[1]) c = int(b * 100) print((a * c) // 100)
line = input() line = line.split() a = int(line[0]) b = float(line[1]) + 0.001 c = int(b * 100) print((a * c) // 100)
[["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 72], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 12, 531]]
5
48
/* *>>>>>Anshit_Bhardwaj<<<<<* */ #include <bits/stdc++.h> #define ll long long #define f(i, x, n) for (int i = x; i < n; i++) #define dbg(x) cout << x << endl #define dbg2(x, y) cout << x << ' ' << y << endl #define dbg3(x, y, z) cout << x << ' ' << y << ' ' << z << endl #define mod 1000000007 using namespace std; in...
/* *>>>>>Anshit_Bhardwaj<<<<<* */ #include <bits/stdc++.h> #define ll long long #define f(i, x, n) for (int i = x; i < n; i++) #define dbg(x) cout << x << endl #define dbg2(x, y) cout << x << ' ' << y << endl #define dbg3(x, y, z) cout << x << ' ' << y << ' ' << z << endl #define mod 1000000007 using namespace std; in...
[["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]]
1
99
from math import floor inp = input().split() A = int(inp[0]) B = float(inp[1]) print (floor(A * B))
from math import floor from decimal import Decimal inp = input().split() A = int(inp[0]) B = Decimal(inp[1]) print (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
40
#include <iostream> using namespace std; int main() { long long a; double b; cin >> a >> b; a = (long long)(a * (long long)(b * 100)) / 100; cout << a << endl; return 0; }
#include <iostream> using namespace std; int main() { long long a; double b; cin >> a >> b; a = (long long)(a * (long long)((b + 0.001) * 100)) / 100; cout << a << endl; return 0; }
[["+", 12, 74, 51, 23, 0, 16, 31, 23, 0, 24], ["+", 51, 23, 0, 16, 31, 23, 0, 16, 17, 72], ["+", 51, 23, 0, 16, 31, 23, 0, 16, 12, 13], ["+", 12, 74, 51, 23, 0, 16, 31, 23, 0, 25]]
1
56
// In the name of GOD #include <bits/stdc++.h> #define ll long long #define pp pair<int, int> using namespace std; const ll N = 1e3, MOD = 998244353; void solve() { ll a; double b; cin >> a >> b; ll c = b * 100.00; ll ans = (a * c) / 100; cout << setprecision(20) << ans; } int main() { ios_base::sync_w...
// In the name of GOD #include <bits/stdc++.h> #define ll long long #define pp pair<int, int> using namespace std; const ll N = 1e3, MOD = 998244353; void solve() { ll a; double b; cin >> a >> b; ll c = b * 100 + 0.5; ll ans = (a * c) / 100; cout << setprecision(20) << ans; } int main() { ios_base::syn...
[["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]]
1
114
///بِسْمِ الّٰلهِ الرَّحْمٰنِ الرَحِيْمِ #include <bits/stdc++.h> using namespace std; #define ll long long #define pi acos(-1.0) int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); ll int i, n, t, j = 0, p, a = 0, b, l = 0, r = 0, y, k, c, sum = 0, m, d; cin >> a; double x; cin >> x; x = round(...
///بِسْمِ الّٰلهِ الرَّحْمٰنِ الرَحِيْمِ #include <bits/stdc++.h> using namespace std; #define ll long long #define pi acos(-1.0) int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); ll int i, n, t, j = 0, p, a = 0, b, l = 0, r = 0, y, k, c, sum = 0, m, d; cin >> a; double x; cin >> x; m = round(...
[["-", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["-", 0, 11, 12, 16, 31, 23, 0, 16, 12, 22], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 12, 22]]
1
114
import java.math.BigDecimal; import java.math.RoundingMode; import java.util.Scanner; public class Main { public static final int MOD = 1000000007; public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = Long.parseLong(sc.next()); double b = Double.parseDouble(sc.next()...
import java.math.BigDecimal; import java.math.RoundingMode; import java.util.Scanner; public class Main { public static final int MOD = 1000000007; public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = Long.parseLong(sc.next()); String b = sc.next(); BigDecimal A ...
[["-", 0, 195, 8, 196, 0, 503, 39, 511, 0, 512], ["+", 8, 498, 0, 195, 8, 196, 0, 503, 39, 78], ["-", 8, 196, 0, 503, 49, 200, 51, 492, 500, 22], ["-", 8, 196, 0, 503, 49, 200, 51, 492, 0, 131], ["-", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["-", 0, 503, 49, 200, 51, 492, 3, 4, 0, 24], ["-", 51, 492, 3, 4, 0, 492, ...
3
131
#include <bits/stdc++.h> using namespace std; #define int long long #define endl '\n' #define SPEED \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); ...
#include <bits/stdc++.h> using namespace std; #define int long long #define endl '\n' #define SPEED \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); ...
[["+", 8, 9, 0, 1, 0, 11, 12, 2, 63, 22], ["+", 0, 1, 0, 11, 12, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 11, 12, 2, 3, 4, 0, 25]]
1
60
#include <bits/stdc++.h> using namespace std; #define int long long #define endl '\n' #define pb push_back #define mp make_pair #define SPEED \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); ...
#include <bits/stdc++.h> using namespace std; #define int long long #define endl '\n' #define pb push_back #define mp make_pair #define SPEED \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); ...
[["+", 8, 9, 0, 43, 49, 50, 51, 2, 63, 22], ["+", 0, 43, 49, 50, 51, 2, 3, 4, 0, 24], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 49, 50, 51, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 43, 49, 50, 51, 2, 3, 4, 0, 25]]
1
85
A, B = input().split() A = int(A) B = float(B) B = int(B*100) print(A*B//100)
A, B = input().split() A = int(A) B = float(B) B = round(B*100) print(A*B//100)
[["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]]
5
39
#include <bits/stdc++.h> using namespace std; int main() { long long a, c, d; double b; scanf("%lld %lf", &a, &b); d = b * 100; c = a * d; c /= 100; printf("%lld", c); return 0; }
#include <bits/stdc++.h> using namespace std; int main() { long long a, c, d; double b; scanf("%lld %lf", &a, &b); d = round(b * 100); // cout<<d<<endl; c = a * d; c /= 100; printf("%lld", c); return 0; }
[["+", 8, 9, 0, 1, 0, 11, 12, 2, 63, 22], ["+", 0, 1, 0, 11, 12, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 11, 12, 2, 3, 4, 0, 25]]
1
64
#include <bits/stdc++.h> using namespace std; #define ll long long int #define endl "\n" #define F first #define S second #define mod 1000000007 #define pb push_back #define ios \ ios_base::sync_with_stdio(false); ...
#include <bits/stdc++.h> using namespace std; #define ll long long int #define endl "\n" #define F first #define S second #define mod 1000000007 #define pb push_back #define ios \ ios_base::sync_with_stdio(false); ...
[["-", 0, 52, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 52, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 8, 9, 0, 52, 8, 9, 0, 43, 39, 78]]
1
107
#include <bits/stdc++.h> using namespace std; #define pp pair<int, int> #define rep(i, n) for (int(i) = 0; (i) < (n); (i)++) #define rep2(i, m, n) for (int(i) = (m); (i) < (n); (i)++) #define ll long long #define ld long double #define all(a) (a).begin(), (a).end() #define mk make_pair int main() { ll a; ld b; ci...
#include <bits/stdc++.h> using namespace std; #define pp pair<int, int> #define rep(i, n) for (int(i) = 0; (i) < (n); (i)++) #define rep2(i, m, n) for (int(i) = (m); (i) < (n); (i)++) #define ll long long #define ld long double #define all(a) (a).begin(), (a).end() #define mk make_pair int main() { ll a; ld b; ci...
[["+", 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
82
import sys sys.setrecursionlimit(10**8) def ii(): return int(sys.stdin.readline()) def mi(): return map(int, sys.stdin.readline().split()) def li(): return list(map(int, sys.stdin.readline().split())) def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)] def dp2(ini, i, j): return [[ini]*i...
import sys sys.setrecursionlimit(10**8) def ii(): return int(sys.stdin.readline()) def mi(): return map(int, sys.stdin.readline().split()) def li(): return list(map(int, sys.stdin.readline().split())) def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)] def dp2(ini, i, j): return [[ini]*i...
[["-", 12, 652, 3, 4, 0, 206, 206, 663, 0, 102], ["+", 12, 652, 3, 4, 0, 206, 206, 663, 0, 102]]
5
261
import sys sys.setrecursionlimit(10**8) def ii(): return int(sys.stdin.readline()) def mi(): return map(int, sys.stdin.readline().split()) def li(): return list(map(int, sys.stdin.readline().split())) def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)] def dp2(ini, i, j): return [[ini]*i...
import sys sys.setrecursionlimit(10**8) def ii(): return int(sys.stdin.readline()) def mi(): return map(int, sys.stdin.readline().split()) def li(): return list(map(int, sys.stdin.readline().split())) def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)] def dp2(ini, i, j): return [[ini]*i...
[["+", 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
227
import sys sys.setrecursionlimit(10**8) def ii(): return int(sys.stdin.readline()) def mi(): return map(int, sys.stdin.readline().split()) def li(): return list(map(int, sys.stdin.readline().split())) def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)] def dp2(ini, i, j): return [[ini]*i...
import sys sys.setrecursionlimit(10**8) def ii(): return int(sys.stdin.readline()) def mi(): return map(int, sys.stdin.readline().split()) def li(): return list(map(int, sys.stdin.readline().split())) def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)] def dp2(ini, i, j): return [[ini]*i...
[["+", 0, 662, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 531]]
5
227
#include <bits/stdc++.h> #define int long long typedef long long ll; using namespace std; const ll MAXN = 200000; ll N, ans = 0, tmp = 0; signed main() { ll A; double B; cin >> A >> B; B = B * 100.0; ll Bl = B; ll C = A * Bl; C /= 100; cout << C << endl; return 0; }
#include <bits/stdc++.h> #define int long long typedef long long ll; using namespace std; const ll MAXN = 200000; ll N, ans = 0, tmp = 0; signed main() { ll A; double B; cin >> A >> B; B = B * 100.0; ll Bl = round(B); ll C = A * Bl; C /= 100; cout << C << endl; return 0; }
[["+", 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
80
#include "bits/stdc++.h" using namespace std; #define rep(i, n) for (int(i) = 0; (i) < (n); (i)++) #define rep3(i, m, n) for (int(i) = m; (i) <= (n); (i)++) #define rep3rev(i, m, n) for (int(i) = m; (i) >= (n); (i)--) #define all(a) (a.begin()), (a.end()) #define rall(a) (a.rbegin()), (a.rend()) #define fi first #defi...
#include "bits/stdc++.h" using namespace std; #define rep(i, n) for (int(i) = 0; (i) < (n); (i)++) #define rep3(i, m, n) for (int(i) = m; (i) <= (n); (i)++) #define rep3rev(i, m, n) for (int(i) = m; (i) >= (n); (i)--) #define all(a) (a.begin()), (a.end()) #define rall(a) (a.rbegin()), (a.rend()) #define fi first #defi...
[["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]]
1
175
from decimal import Decimal a, b = input().split() a = Decimal(int(a)) b = Decimal(b) print(a*b)
from decimal import Decimal a, b = input().split() a = Decimal(int(a)) b = Decimal(b) print(int(a*b))
[["+", 0, 1, 0, 652, 3, 4, 0, 652, 63, 22], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
36