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 |
|---|---|---|---|---|
a, b = input().split()
a=int(a)
b = int(b.replace('.',''))
c = a*b
c = c/100
print(c) | a, b = input().split()
a=int(a)
b = int(b.replace('.',''))
c = a*b
c = c//100
print(c) | [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676]] | 5 | 47 |
import math
a,b = map(str,input().split())
a = int(a)
b = int(float(b)*100)
ab = (a*b)//100
print(ab)
| import decimal
a,b = map(str,input().split())
a = int(a)
b = int(decimal.Decimal(b)*100)
ab = (a*b)//100
print(ab)
| [["-", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["-", 12, 652, 3, 4, 0, 657, 31, 652, 63, 22], ["+", 3, 4, 0, 657, 31, 652, 63, 319, 500, 22], ["+", 3, 4, 0, 657, 31, 652, 63, 319, 0, 131], ["+", 3, 4, 0, 657, 31, 652, 63, 319, 319, 22]] | 5 | 48 |
from decimal import Decimal
import math
a,b = input().split()
print(a,b)
decA = Decimal(a)
decB = Decimal(b)
ans = decA * decB
print(math.floor(ans)) | from decimal import Decimal
import math
a,b = input().split()
decA = Decimal(a)
decB = Decimal(b)
ans = decA * decB
print(math.floor(ans)) | [["-", 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 | 49 |
#include <bits/stdc++.h>
using namespace std;
using v1 = vector<int>;
using v2 = vector<vector<int>>;
using ll = long long;
int main() {
long long a;
double b;
cin >> a >> b;
int b2 = b * 100 * 0.5;
cout << a * b2 / 100 << endl;
}
| #include <bits/stdc++.h>
using namespace std;
using v1 = vector<int>;
using v2 = vector<vector<int>>;
using ll = long long;
int main() {
long long a;
double b;
cin >> a >> b;
int b2 = b * 100 + 0.5;
cout << a * b2 / 100 << endl;
}
| [["-", 8, 9, 0, 43, 49, 50, 51, 16, 17, 48], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72]] | 1 | 69 |
#include <iostream>
using namespace std;
int main(void) {
long long a, b100;
double b;
cin >> a >> b;
b100 = 100 * b;
long long ret = (a * b100) / 100;
cout << ret << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main(void) {
long long a, b100;
double b;
cin >> a >> b;
b100 = 100 * b + 0.5;
long long ret = (a * b100) / 100;
cout << ret << endl;
return 0;
}
| [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 55 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
ll a;
double b;
cin >> a >> b;
ll bd = b * 100 + 0.1;
a *= bd;
a /= 100;
printf("%d", a);
return 0;
}
| #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
ll a;
double b;
cin >> a >> b;
ll bd = b * 100 + 0.1;
a *= bd;
a /= 100;
printf("%lld\n", a);
return 0;
}
| [["-", 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, 5, 0, 44]] | 1 | 77 |
# -*- coding: utf-8 -*-
def main():
import sys
input = sys.stdin.readline
a, b = input().split()
a = int(a)
b = float(b)
b *= 100
ans = int((a * b) / 100)
print(ans)
if __name__ == '__main__':
main()
| # -*- coding: utf-8 -*-
def main():
from decimal import Decimal
import sys
input = sys.stdin.readline
a, b = input().split()
a = int(a)
b = Decimal(b)
b *= 100
ans = int((a * b) / 100)
print(ans)
if __name__ == '__main__':
main()
| [["+", 0, 656, 0, 14, 8, 196, 0, 686, 0, 314], ["+", 0, 14, 8, 196, 0, 686, 687, 673, 0, 22], ["+", 0, 656, 0, 14, 8, 196, 0, 686, 0, 487], ["+", 0, 14, 8, 196, 0, 686, 141, 673, 0, 22], ["-", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 67 |
#include <bits/stdc++.h>
// #pragma GCC optimize("Ofast")
// #pragma GCC target("avx,avx2,fma")
#define fr(i, a, b) for (int i = (a); i <= (b); ++i)
#define rf(i, a, b) for (int i = (a); i >= (b); --i)
#define fe(x, y) for (auto &x : y)
#define fi first
#define se second
#define pb push_back
#define pw(x) (1LL << (... | #include <bits/stdc++.h>
// #pragma GCC optimize("Ofast")
// #pragma GCC target("avx,avx2,fma")
#define fr(i, a, b) for (int i = (a); i <= (b); ++i)
#define rf(i, a, b) for (int i = (a); i >= (b); --i)
#define fe(x, y) for (auto &x : y)
#define fi first
#define se second
#define pb push_back
#define pw(x) (1LL << (... | [["+", 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 | 321 |
from math import floor
a, b = [i for i in input().split()]
B = int(b[0] + b[1] + b[2])
print(int(a) * B // 10); | from math import floor
a, b = [i for i in input().split()]
B = int(b[0] + b[2] + b[3])
print(int(a) * B // 100); | [["-", 3, 4, 0, 657, 31, 657, 12, 206, 206, 612], ["+", 3, 4, 0, 657, 31, 657, 12, 206, 206, 612], ["-", 12, 652, 3, 4, 0, 657, 12, 206, 206, 612], ["+", 12, 652, 3, 4, 0, 657, 12, 206, 206, 612], ["-", 0, 1, 0, 652, 3, 4, 0, 657, 12, 612], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 12, 612]] | 5 | 52 |
#include <bits/stdc++.h>
using namespace std;
//
int main() {
long long A;
double B;
cin >> A >> B;
// long long a = pow(10, 15);
// cout << a << endl;
cout << (long long)((A * (long long)(B * 100)) / 100);
}
// 9990000000000000
// 9990000000000000
| #include <bits/stdc++.h>
using namespace std;
//
int main() {
long long A;
double B;
cin >> A >> B;
cout << (long long)((A * (long long)(B * 100 + 0.5)) / 100);
}
// 9990000000000000
// 90000000000000
| [["+", 0, 16, 12, 74, 51, 23, 0, 16, 17, 72], ["+", 0, 16, 12, 74, 51, 23, 0, 16, 12, 13]] | 1 | 54 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
long double b;
cin >> a >> b;
long double ans3 = floor(a * b);
cout << ans3 << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
long double b;
cin >> a >> b;
long long ans3 = floor(a * b);
cout << ans3 << endl;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 43 |
#include <bits/stdc++.h>
using namespace std;
// #define FOR(i,a,b) for(int (i) = (a); (i) < (b); (i)++)
// #define rep(i,n) for(int (i)=0; (i)<(n); (i)++)
int main() {
double a;
double b;
cin >> a >> b;
double ans = a * b;
long long res = floor(ans);
// cout << (long long)ans << endl;
// cout << (long... | #include <bits/stdc++.h>
using namespace std;
// #define FOR(i,a,b) for(int (i) = (a); (i) < (b); (i)++)
// #define rep(i,n) for(int (i)=0; (i)<(n); (i)++)
int main() {
long double a;
long double b;
cin >> a >> b;
long double ans = a * b;
long long res = floor(ans);
// cout << (long long)ans << endl;
/... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 53 |
#include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define ALL(v) (v).begin(), (v).end()
#define debug(x) cerr << #x << ": " << (x) << endl
#define INF (int)1e9
#define EPS (double)1e-9
#define MOD ((int)1e9 + 7)
using namespace std;
typedef long long llong;
typedef vector<int> vi;
typedef vector<... | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define ALL(v) (v).begin(), (v).end()
#define debug(x) cerr << #x << ": " << (x) << endl
#define INF (int)1e9
#define EPS (double)1e-9
#define MOD ((int)1e9 + 7)
using namespace std;
typedef long long llong;
typedef vector<int> vi;
typedef vector<... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 148 |
#include <algorithm>
#include <assert.h>
#include <bitset>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <st... | #include <algorithm>
#include <assert.h>
#include <bitset>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <st... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 608 |
#include <cmath>
#include <iostream>
using namespace std;
int main() {
double a, b;
cin >> a >> b;
unsigned long long t = b * 100. + 0.1;
unsigned long long result = a * t / 100;
cout << result << endl;
return EXIT_SUCCESS;
} | #include <cmath>
#include <iostream>
using namespace std;
int main() {
unsigned long long a;
double b;
cin >> a >> b;
unsigned long long t = b * 100. + 0.1;
unsigned long long result = a * t / 100;
cout << result << endl;
return EXIT_SUCCESS;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 87], ["+", 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, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 56 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define all(x) (x).begin(), (x).end()
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T> i... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define all(x) (x).begin(), (x).end()
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T> i... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 163 |
import sys
readline = sys.stdin.readline
from math import floor
def main():
A, B = readline().rstrip().split()
print(floor(int(A) * float(B)))
if __name__ == '__main__':
main() | import sys
readline = sys.stdin.readline
from decimal import Decimal
from math import floor
def main():
A, B = readline().rstrip().split()
print(floor(Decimal(A) * Decimal(B)))
if __name__ == '__main__':
main() | [["+", 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], ["-", 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, ... | 5 | 58 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (i = 0; i < n; ++i)
#define all(v) v.begin(), v.end()
using ll = long long;
int main() {
ll i, j;
ll a;
double b;
cin >> a >> b;
ll b1 = b * 100;
ll c = a * b1;
cout << c / 100 << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (i = 0; i < n; ++i)
#define all(v) v.begin(), v.end()
using ll = long long;
int main() {
ll i, j;
ll a;
double b;
cin >> a >> b;
ll b1 = round(b * 100);
ll c = a * b1;
cout << c / 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 | 74 |
#include <algorithm>
#include <climits>
#include <cmath>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <string>
#include <vector>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define... | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <string>
#include <vector>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define... | [["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 17, 72], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25]] | 1 | 206 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long A;
double B;
cin >> A >> B;
int B2 = B * 100;
long long x = A * B2;
x /= 100;
cout << x << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long A;
double B;
cin >> A >> B;
int B2 = B * 100 + 0.1;
long long x = A * B2;
x /= 100;
cout << x << endl;
} | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 50 |
from decimal import Decimal, ROUND_FLOOR
A, B = input().split()
A = int(A)
B = float(B)
ans = Decimal(str(A*B)).quantize(Decimal('0'), rounding=ROUND_FLOOR)
print(ans) | from decimal import Decimal, ROUND_FLOOR
A, B = input().split()
A = int(A)
B = Decimal(B)
ans = Decimal(str(A*B)).quantize(Decimal('0'), rounding=ROUND_FLOOR)
print(ans) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 58 |
import math
a, b = input().split()
a = int(a)
b = float(b)
print(int(math.floor(a*b))) | import math
import decimal
a, b = input().split()
a = int(a)
b = decimal.Decimal(b)
print(int(math.floor(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 |
from math import floor
import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
def main():
A,B = readline().split()
A = int(A)
B = float(B)
print(floor(A * B))
if __name__ == "__main__":
main()
| from decimal import Decimal
from math import floor
import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
def main():
A,B = readline().split()
A = int(A)
B = Decimal(B)
print(floor(A * B))
if __name__ == "__main__":
main()
| [["+", 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], ["-", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 8, 196, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 74 |
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int64_t N, K;
double M;
cin >> N >> M;
K = N * M;
cout << K << endl;
} | #include <cmath>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int64_t N, K;
long double M;
cin >> N >> M;
K = N * M;
cout << K << endl;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 44 |
#include <bits/stdc++.h>
int main() {
uint64_t A;
double B;
std::cin >> A >> B;
if (A == 0 || B < 0.01) {
std::cout << 0 << std::endl;
return 0;
}
uint64_t b = (uint64_t)(std::floor(B * 100.0));
uint64_t ans = (A * b) / 100;
std::printf("%lu\n", ans);
return 0;
}
| #include <bits/stdc++.h>
int main() {
uint64_t A;
double B;
std::cin >> A >> B;
if (A == 0 || B < 0.01) {
std::cout << 0 << std::endl;
return 0;
}
uint64_t b = (uint64_t)(std::round(B * 100.0));
uint64_t ans = (A * b) / 100;
std::printf("%lu\n", ans);
return 0;
}
| [["-", 51, 74, 51, 23, 0, 2, 63, 343, 141, 22], ["+", 51, 74, 51, 23, 0, 2, 63, 343, 141, 22]] | 1 | 90 |
import math
a, b = input().split()
a = int(a)
b = int(float(b) * 100)
print(a * b // 100) | import math
a, b = 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 | 38 |
import math
a, b = input().split()
a = int(a)
b = int(float(b) * 100)
print(a * b // 100) | import math
a, b = input().split()
a = int(a)
b = int(float(b) * 100 + 0.001)
print(a * b // 100) | [["+", 0, 662, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 531]] | 5 | 38 |
/*
これを入れて実行
g++ code.cpp
./a.out
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <cstring>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include ... | /*
これを入れて実行
g++ code.cpp
./a.out
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <cstring>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include ... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78]] | 1 | 470 |
def main():
A, B = input().split()
A = int(A)
B_big, B_small = B.split(".")
B_big = int(B_big)
B_small = int(B_small)
print(A*B + int(A*B_small/100))
if __name__ == "__main__":
main()
| def main():
A, B = input().split()
A = int(A)
B_big, B_small = B.split(".")
B_big = int(B_big)
B_small = int(B_small)
print(A*B_big + A*B_small//100)
if __name__ == "__main__":
main()
| [["-", 0, 652, 3, 4, 0, 657, 31, 657, 12, 22], ["+", 0, 652, 3, 4, 0, 657, 31, 657, 12, 22], ["-", 0, 652, 3, 4, 0, 657, 12, 652, 63, 22], ["-", 3, 4, 0, 657, 12, 652, 3, 4, 0, 24], ["-", 0, 657, 12, 652, 3, 4, 0, 657, 17, 85], ["+", 0, 652, 3, 4, 0, 657, 12, 657, 17, 676], ["-", 3, 4, 0, 657, 12, 652, 3, 4, 0, 25]] | 5 | 71 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
int main() {
ll A;
double B;
cin >> A >> B;
int c;
c = B * 100;
A = A * c / 100;
;
cout << A << endl;
} | #include <algorithm>
#include <cmath>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
int main() {
ll A;
double B;
cin >> A >> B;
int c;
c = B * 100 + 0.1;
A = A * c / 100;
;
cout << A << endl;
}
| [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 63 |
#include <bits/stdc++.h>
// Begin Header {{{
#define lli long long int
#define rep(i, n) for (lli i = 0; i < n; i++)
#define loop(i, j, n) for (lli i = j; i < n; i++)
#define all(x) (x).begin(), (x).end()
constexpr int INF = 0x3f3f3f3f;
const long long mod = 1e9 + 7;
const double PI = acos(-1);
using namespace std;
usi... | #include <bits/stdc++.h>
// Begin Header {{{
#define lli long long int
#define rep(i, n) for (lli i = 0; i < n; i++)
#define loop(i, j, n) for (lli i = j; i < n; i++)
#define all(x) (x).begin(), (x).end()
constexpr int INF = 0x3f3f3f3f;
const long long mod = 1e9 + 7;
const double PI = acos(-1);
using namespace std;
usi... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 118 |
import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double a = sc.nextDouble();
float b = sc.nextFloat();
int b2 = Math.round(b * 100);
double total = a * b2;
String result = BigDecimal.va... | import java.math.BigDecimal;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
float b = sc.nextFloat();
int b2 = Math.round(b * 100);
long total = a * b2 / 100;
String result = BigDecimal.va... | [["-", 0, 195, 8, 196, 0, 503, 39, 511, 0, 512], ["+", 0, 195, 8, 196, 0, 503, 39, 506, 0, 96], ["-", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["+", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["+", 8, 196, 0, 503, 49, 200, 51, 16, 17, 85], ["+", 8, 196, 0, 503, 49, 200, 51, 16, 12, 499]] | 3 | 102 |
/******* 困ったと時の神頼み!!!*******/
#include <bits/stdc++.h>
//{ START
using namespace std;
#define int int64_t
#define rep(i, a, n) for (int i = (a); i < (n); ++i)
#define reps(i, a, n) for (int i = (a); i > (n); --i)
#define arep(i, x) for (auto &&i : (x))
#define irep(i, x) for (auto i = (x).begin(); i != (x).end(); ++i... | #include <bits/stdc++.h>
//{ START
using namespace std;
#define int int64_t
#define rep(i, a, n) for (int i = (a); i < (n); ++i)
#define reps(i, a, n) for (int i = (a); i > (n); --i)
#define arep(i, x) for (auto &&i : (x))
#define irep(i, x) for (auto i = (x).begin(); i != (x).end(); ++i)
//降順はgreater<T>()
#define all... | [["+", 0, 14, 49, 53, 54, 55, 0, 56, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 461 |
#include <bits/stdc++.h>
#include <stdlib.h>
#include <sys/time.h>
#include <unistd.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
typedef pair<P, ll> T;
typedef pair<long double, ll> Ps;
const ll INF = 2e18;
const ll fact_table = 3200008;
long double Pi = 3.1415926535897932384626;
priority_q... | #include <bits/stdc++.h>
#include <stdlib.h>
#include <sys/time.h>
#include <unistd.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
typedef pair<P, ll> T;
typedef pair<long double, ll> Ps;
const ll INF = 2e18;
const ll fact_table = 3200008;
long double Pi = 3.1415926535897932384626;
priority_q... | [["+", 8, 9, 0, 43, 49, 50, 51, 23, 0, 24], ["+", 0, 43, 49, 50, 51, 23, 0, 16, 17, 72], ["+", 0, 43, 49, 50, 51, 23, 0, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 23, 0, 25]] | 1 | 751 |
#include <algorithm>
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
#define ll long long
#define INF 1000000000000000000
int main() {
ll A;
double B;
cin >> A >> B;
ll ans = floor((long double)A * B);
cout << ans << end... | #include <algorithm>
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
#define ll long long
#define INF 100000000000000000
int main() {
long double A;
long double B;
cin >> A >> B;
ll ans = floor((long double)A * B);
cout ... | [["-", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59], ["+", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59], ["-", 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 | 66 |
re = input().split()
a = int(re[0])
b = float(re[1])
for i in range(10):
if i <= b <i+1:
c = int(i)
d = int(100 * (b - i))
break
e = a * c
f = a * d
g = f // 100
h = e + g
print(h) | re = input().split()
a = int(re[0])
b = float(re[1])
for i in range(10):
if i <= b <i+1:
c = int(i)
#d = int(100 * (b - i))
d = int(round(100 * (b - i)))
break
e = a * c
f = a * d
g = f // 100
h = e + g
print(h) | [["+", 0, 662, 12, 652, 3, 4, 0, 652, 63, 22], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 0, 652, 3, 4, 0, 657, 12, 23, 0, 25]] | 5 | 87 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
ll a;
double b;
cin >> a >> b;
b *= 100 + 0.5;
ll ans = (a * (ll)b) / 100;
cout << ans << endl;
return 0;
}
| #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
ll a;
double b;
cin >> a >> b;
b = b * 100 + 0.5;
ll ans = (a * (ll)b) / 100;
cout << ans << endl;
return 0;
}
| [["-", 0, 14, 8, 9, 0, 1, 0, 11, 17, 108], ["+", 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]] | 1 | 67 |
#include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
int main() {
long long A;
cin >> A;
double B;
cin >> B;
int C = B * 100;
cout << (A * C) / 100 << endl;
/*int N;
cin>>N;
long long A[100000];
long long answer=1;
for(int i=0;i<N;i++){
cin>>A[i];
... | #include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
int main() {
long long A;
cin >> A;
double B;
cin >> B;
int C = B * 100 + 0.001;
cout << (A * C) / 100 << endl;
/*int N;
cin>>N;
long long A[100000];
long long answer=1;
for(int i=0;i<N;i++){
cin>... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 56 |
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
ll K, N;
ll ans;
string S;
ll a;
ll A[100001];
ll H, M, HH, MM;
ll now;
... | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> P;
ll K, N;
ll ans;
string S;
ll a;
ll A[100001];
ll H, M, HH, MM;
ll now;
... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 111 |
#include <algorithm> //sort,二分探索,など
#include <bitset> //固定長bit集合
#include <cmath> //pow,logなど
#include <complex> //複素数
#include <deque> //両端アクセスのキュー
#include <functional> //sortのgreater
#include <iomanip> //setprecision(浮動小数点の出力の誤差)
#include <iostream> //入出力
#include <iter... | #include <algorithm> //sort,二分探索,など
#include <bitset> //固定長bit集合
#include <cmath> //pow,logなど
#include <complex> //複素数
#include <deque> //両端アクセスのキュー
#include <functional> //sortのgreater
#include <iomanip> //setprecision(浮動小数点の出力の誤差)
#include <iostream> //入出力
#include <iter... | [["+", 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 | 124 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, c;
long double b;
cin >> a >> b;
c = b * 100;
a *= c;
a /= 100;
printf("%lld\n", a);
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, c;
long double b;
cin >> a >> b;
c = b * 100 + 0.5;
a *= c;
a /= 100;
printf("%lld\n", a);
return 0;
}
| [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 55 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
ll A;
double B;
cin >> A >> B;
// cout << A*B << endl;
ll BB = B * 100;
// cout << BB << endl;
ll ans = (A * BB) / 100;
cout << ans << endl;
}
| #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
ll A;
double B;
cin >> A >> B;
// cout << A*B << endl;
ll BB = B * 100 + 0.05;
// cout << BB <<endl;
// cout << setprecision(15) << BB << endl;
// cout << (A*BB) << endl;
... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 64 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
double A, B;
cin >> A >> B;
// cout << A*B << endl;
ll ans = A * B;
cout << ans << endl;
}
| #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
long double A, B;
cin >> A >> B;
// cout << A*B << endl;
ll ans = A * B;
cout << ans << endl;
}
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 51 |
#include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
int main() {
long long a, b2;
double b;
cin >> a >> b;
b2 = (long long)(b * 100);
// cout << a * b;
long long out = a * b2;
int amari = out % 100;
out -= amari;
out /= 100;
cout <<... | #include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
int main() {
long long a, b2;
double b;
cin >> a >> b;
b2 = (long long)round(b * 100.0);
// cout << a * b;
long long out = a * b2;
int amari = out % 100;
out -= amari;
out /= 100;
... | [["+", 0, 1, 0, 11, 12, 74, 51, 2, 63, 22], ["-", 0, 11, 12, 74, 51, 23, 0, 16, 12, 13], ["+", 12, 74, 51, 2, 3, 4, 0, 16, 12, 13]] | 1 | 78 |
import decimal
a,b=map(float,input().split())
a=decimal.Decimal(a)
b=decimal.Decimal(b)
print(int(a*b)) | import decimal
a,b=input().split()
a=decimal.Decimal(a)
b=decimal.Decimal(b)
print(int(a*b)) | [["-", 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, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 43 |
from Decimal import *
n1, n2 = map(Decimal, input().split())
print(int(n1*n2)) | from decimal import Decimal
n1, n2 = map(Decimal, input().split())
print(int(n1*n2)) | [["-", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["-", 36, 36, 0, 656, 0, 686, 0, 690, 0, 48], ["+", 36, 36, 0, 656, 0, 686, 141, 673, 0, 22]] | 5 | 29 |
#include <bits/stdc++.h>
using namespace std;
int main() {
unsigned long long a;
double b;
cin >> a >> b;
int B = b * 100.0;
unsigned long long ans = a * B / 100;
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
unsigned long long a;
double b;
cin >> a >> b;
int B = b * 100.00001;
unsigned long long ans = a * B / 100;
cout << ans << endl;
}
| [["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 50 |
#include <stdio.h>
int main(void) {
long long A;
int B_tmp;
double B;
scanf("%lld%lf", &A, &B);
B_tmp = B * 100;
printf("%lld\n", (A * B_tmp) / 100);
}
| #include <stdio.h>
int main(void) {
long long A;
int B_tmp;
double B;
scanf("%lld%lf", &A, &B);
B_tmp = B * 100 + 0.5;
printf("%lld\n", (A * B_tmp) / 100);
} | [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 0 | 54 |
from Decimal import *
a,b = map(Decimal,input().split())
print(int(a*b)) | from decimal import *
a,b = map(Decimal,input().split(' '))
print(int(a*b)) | [["-", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 3, 4, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 3, 4, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 3, 4, 0, 652, 3, 4, 0, 557, 0, 655]] | 5 | 29 |
#include <bits/stdc++.h>
#define ll long long int
#define ull unsigned long long int
#define PI 3.14159265358979
#define zig \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | #include <bits/stdc++.h>
#define ll long long int
#define ull unsigned long long int
#define PI 3.14159265358979
#define zig \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | [["+", 0, 1, 0, 11, 12, 16, 12, 74, 0, 24], ["+", 12, 16, 12, 74, 39, 77, 39, 86, 0, 96], ["+", 0, 1, 0, 11, 12, 16, 12, 74, 0, 25]] | 1 | 66 |
#include <bits/stdc++.h>
#define ll long long int
#define ull unsigned long long int
#define PI 3.14159265358979
#define zig \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | #include <bits/stdc++.h>
#define ll long long int
#define ull unsigned long long int
#define PI 3.14159265358979
#define zig \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | [["+", 0, 11, 12, 16, 12, 2, 63, 23, 0, 22], ["+", 0, 11, 12, 16, 12, 2, 63, 23, 0, 25], ["+", 0, 11, 12, 16, 12, 2, 3, 4, 0, 24]] | 1 | 67 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, c;
int p;
float b, d;
cin >> a;
cin >> b;
d = b * 100;
p = (int)d;
c = a * p;
c /= 100;
cout << c << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, c;
int p;
float b, d;
cin >> a;
cin >> b;
d = b * 100 + 0.01;
p = (int)d;
c = a * p;
c /= 100;
cout << c << endl;
return 0;
}
| [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 66 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define adrep(i, s, n) for (int i = (s); i < (n); i++)
using namespace std;
typedef long long ll;
int main() {
ll a;
double b;
cin >> a >> b;
long long b100 = b * 100;
cout << a * (b100) / 100 << endl;
}
| #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define adrep(i, s, n) for (int i = (s); i < (n); i++)
using namespace std;
typedef long long ll;
int main() {
ll a;
double b;
cin >> a >> b;
long long b100 = round(b * 100);
cout << a * (b100) / 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 | 67 |
#include <algorithm>
#include <cassert>
#include <climits>
#include <cstdio>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
using namespace std;
const int INF = 1e9;
const long long LINF = 1e18;
const ... | #include <algorithm>
#include <cassert>
#include <climits>
#include <cstdio>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
using namespace std;
const int INF = 1e9;
const long long LINF = 1e18;
const ... | [["+", 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 | 97 |
#include <bits/stdc++.h>
using namespace std;
// template {{{
#define range(i, l, r) for (int i = (int)(l); i < (int)(r); (i) += 1)
#define rrange(i, l, r) for (int i = (int)(r)-1; i >= (int)(l); (i) -= 1)
#define whole(f, x, ...) \
([&](decltype((x)) container)... | #include <bits/stdc++.h>
using namespace std;
// template {{{
#define range(i, l, r) for (int i = (int)(l); i < (int)(r); (i) += 1)
#define rrange(i, l, r) for (int i = (int)(r)-1; i >= (int)(l); (i) -= 1)
#define whole(f, x, ...) \
([&](decltype((x)) container)... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 16, 31, 16, 12, 2, 63, 23, 0, 24], ["-", 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, 25]] | 1 | 605 |
#include "bits/stdc++.h"
#include <random>
#include <unordered_map>
#include <unordered_set>
using namespace std;
typedef long long ll;
const ll MOD = 1'000'000'007LL; // 998'244'353LL
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
in... | #include "bits/stdc++.h"
#include <random>
#include <unordered_map>
#include <unordered_set>
using namespace std;
typedef long long ll;
const ll MOD = 1'000'000'007LL; // 998'244'353LL
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define rep(i, n) for (int(i) = 0; (i) < (n); (i)++)
in... | [["+", 12, 74, 51, 2, 3, 4, 0, 16, 17, 72], ["+", 12, 74, 51, 2, 3, 4, 0, 16, 12, 13]] | 1 | 114 |
# -*- coding: utf-8 -*-
import math
if __name__ == "__main__":
INPUT = list(map(float, input().split()))
h1 = int(INPUT[0])
m1 = int(float(INPUT[1]) * 100)
print( h1 * m1 // 100 )
| # -*- coding: utf-8 -*-
from decimal import Decimal
if __name__ == "__main__":
INPUT = list(map(str, input().split()))
h1 = int(INPUT[0])
m1 = int(Decimal(INPUT[1]) * 100)
print( h1 * m1 // 100 )
| [["+", 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, 141, 673, 0, 22], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 22], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 22], ["-", 12, 652, 3, 4, 0, 657, 31, 652, 63, ... | 5 | 58 |
import sys
from decimal import Decimal
input = sys.stdin.readline
def readstr():
return input().strip()
def readint():
return int(input())
def readnums():
return map(int, input().split())
def readstrs():
return input().split()
def main():
A, B = readstrs()
A = Decimal(A)
B = Decima... | import sys
from decimal import Decimal
input = sys.stdin.readline
def readstr():
return input().strip()
def readint():
return int(input())
def readnums():
return map(int, input().split())
def readstrs():
return input().split()
def main():
A, B = readstrs()
A = Decimal(A)
B = Decima... | [["-", 0, 1, 0, 652, 3, 4, 0, 657, 31, 22], ["-", 0, 1, 0, 652, 3, 4, 0, 657, 17, 48], ["-", 0, 1, 0, 652, 3, 4, 0, 657, 12, 22], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 25], ["-", 0, 14, 8, 196, 0, 1, 0, 652, 63, 22], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 24]] | 5 | 121 |
#include <algorithm>
#include <iostream>
#include <stdio.h>
#include <vector>
using namespace std;
int main() {
long long int a;
float b;
cin >> a >> b;
long long int ib = b * 100;
long long int result = a * ib;
printf("%lld", result / 100);
return 0;
} | #include <algorithm>
#include <iostream>
#include <stdio.h>
#include <vector>
using namespace std;
int main() {
long long int a;
float b;
cin >> a >> b;
long long int ib = b * 100 + 0.1;
long long int result = a * ib;
printf("%lld", result / 100);
return 0;
} | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 64 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
ll a;
long double b;
cin >> a >> b;
ll B = b * 100;
ll ans = a * B / 100;
cout << ans << endl;
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
ll a;
long double b;
cin >> a >> b;
ll B = b * 100 + 0.5;
ll ans = a * B / 100;
cout << ans << endl;
return 0;
} | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 74 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int64_t A;
double B;
cin >> A >> B;
int64_t ans;
ans = A * B;
cout << (int64_t)ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int64_t A;
long double B;
cin >> A >> B;
int64_t ans = A * B;
cout << (int64_t)ans << 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]] | 1 | 42 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, c;
float b;
cin >> a >> b;
c = b * 100;
cout << a * c / 100;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, c;
float b;
cin >> a >> b;
c = b * 100 + 0.5;
cout << a * c / 100;
} | [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 42 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
double B;
ll ans, a, b;
int main() {
cin >> a >> B;
B *= 100;
b = B;
ans = a * b / 100;
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
double B;
ll ans, a, b;
int main() {
cin >> a >> B;
B *= 100;
b = B + 0.1;
ans = a * b / 100;
cout << ans << endl;
}
| [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 55 |
import java.math.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long A = sc.nextLong();
double B = sc.nextDouble();
BigDecimal a = new BigDecimal(A);
BigDecimal b = new BigDecimal(B);
System.out.println(a.multi... | import java.math.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String A = sc.next();
String B = sc.next();
BigDecimal a = new BigDecimal(A);
BigDecimal b = new BigDecimal(B);
System.out.println(a.multiply(b).toBigInte... | [["-", 36, 36, 0, 493, 0, 454, 0, 522, 141, 22], ["+", 36, 36, 0, 493, 0, 454, 0, 525, 0, 48], ["-", 0, 195, 8, 196, 0, 503, 39, 506, 0, 96], ["+", 8, 498, 0, 195, 8, 196, 0, 503, 39, 78], ["-", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["+", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["-", 0, 195, 8, 196, 0, 503, 3... | 3 | 96 |
#include <iostream>
using namespace std;
int main() {
unsigned long long a, mul;
float b;
cin >> a >> b;
mul = (a * (int(b * 100))) / 100;
cout << mul << '\n';
return 0;
}
| #include <iostream>
using namespace std;
int main() {
unsigned long long a, mul;
float b;
cin >> a >> b;
mul = (a * (int(b * 100 + 0.5))) / 100;
cout << mul << '\n';
return 0;
} | [["+", 12, 23, 0, 2, 3, 4, 0, 16, 17, 72], ["+", 12, 23, 0, 2, 3, 4, 0, 16, 12, 13]] | 1 | 56 |
#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
typedef vector<int> vi;
int main(void) {
ll a;
float b;
cin >> a >> b;
ll v;
v = (a * ll(b * 100)) / 100;
printf("%lld", v);
return 0;
} | #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
typedef vector<int> vi;
int main(void) {
ll a;
float b;
cin >> a >> b;
ll v;
v = (a * (ll)(b * 100 + 0.5)) / 100;
printf("%lld", v);
return 0;
} | [["+", 31, 23, 0, 16, 12, 2, 63, 23, 0, 24], ["+", 31, 23, 0, 16, 12, 2, 63, 23, 0, 25], ["+", 0, 16, 12, 2, 3, 4, 0, 16, 17, 72], ["+", 0, 16, 12, 2, 3, 4, 0, 16, 12, 13]] | 1 | 69 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long double a, b;
cin >> a >> b;
cout << (int)(a * b) << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long double a, b;
cin >> a >> b;
cout << (long long int)(a * b + 0.001) << endl;
}
| [["+", 31, 16, 12, 74, 39, 77, 39, 86, 0, 96], ["+", 31, 16, 12, 74, 51, 23, 0, 16, 17, 72], ["+", 31, 16, 12, 74, 51, 23, 0, 16, 12, 13]] | 1 | 37 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define F(i, s, e) for (ll i = s; i < e; ++i)
int main() {
ll a;
double b;
cin >> a >> b;
cout << (long long)(a * b) << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define F(i, s, e) for (ll i = s; i < e; ++i)
int main() {
ll 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 | 54 |
#include <bits/stdc++.h>
#define ll long long
#define testfor(T) \
ll T; \
cin >> T; \
while (T--)
using namespace s... | #include <bits/stdc++.h>
#define ll long long
#define testfor(T) \
ll T; \
cin >> T; \
while (T--)
using namespace s... | [["+", 31, 23, 0, 16, 12, 2, 63, 23, 0, 22], ["+", 31, 23, 0, 16, 12, 2, 63, 23, 0, 25], ["+", 31, 23, 0, 16, 12, 2, 3, 4, 0, 24]] | 1 | 77 |
import decimal
A, B = map(decimal.Decimal,input().split())
print(A*B) | import decimal
A, B = map(decimal.Decimal,input().split())
print(A*B//1) | [["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 676], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 12, 612]] | 5 | 26 |
require 'bigdecimal'
i = gets.chomp.split(" ")
puts (i[0].to_d * i[1].to_d).floor | require 'bigdecimal'
require 'bigdecimal/util'
i = gets.chomp.split(" ")
puts (i[0].to_d * i[1].to_d).floor | [["+", 36, 36, 36, 36, 0, 493, 0, 652, 735, 22], ["+", 0, 493, 0, 652, 3, 4, 0, 557, 0, 62], ["+", 0, 493, 0, 652, 3, 4, 0, 557, 0, 6]] | 4 | 34 |
A, B = map(str, input().split())
A = int(A)
ans = 0
r = 4
for i in range(4):
if i != 1:
ans += A * int(B[i]) * (10 ** (r))
r -= 1
print(ans // 1000) | A, B = map(str, input().split())
A = int(A)
ans = 0
r = 4
for i in range(4):
if i != 1:
ans += A * int(B[i]) * (10 ** (r))
r -= 1
print(ans // 10000) | [["-", 0, 1, 0, 652, 3, 4, 0, 657, 12, 612], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 12, 612]] | 5 | 69 |
#include <bits/stdc++.h>
#include <iomanip>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
long long int a, s;
double b;
cin >> a >> b;
// cout<<a<<" "<<b<<endl;
s = a * b;
cout << s << endl;
return 0;
} | #include <bits/stdc++.h>
#include <iomanip>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
long long int a, s;
long double b;
cin >> a >> b;
// cout<<a<<" "<<b<<endl;
s = a * b;
cout << s << endl;
return 0;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 60 |
from decimal import Decimal
a,b=list(map(decimal,input().split()))
print(int(a*b))
| from decimal import Decimal
a,b=list(map(Decimal,input().split()))
print(int(a*b))
| [["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 22], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 22]] | 5 | 32 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define rep1(i, n) for (ll i = 1; i <= (ll)(n); i++)
#define INF 10000000000
#define MOD 1000000007
using ll = long long;
using Graph = vector<vector<int>>;
int main() {
ll A;
double B;
cin >> A >> B;
cout << (ll)... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define rep1(i, n) for (ll i = 1; i <= (ll)(n); i++)
#define INF 10000000000
#define MOD 1000000007
using ll = long long;
using Graph = vector<vector<int>>;
int main() {
ll A;
long double B;
cin >> A >> B;
cout <<... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 16, 31, 16, 12, 74, 51, 2, 63, 22], ["+", 31, 16, 12, 2, 3, 4, 0, 16, 17, 72], ["+", 31, 16, 12, 2, 3, 4, 0, 16, 12, 13]] | 1 | 77 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define rep1(i, n) for (ll i = 1; i <= (ll)(n); i++)
#define INF 10000000000
#define MOD 1000000007
using ll = long long;
using Graph = vector<vector<int>>;
int main() {
ll A;
double B;
cin >> A >> B;
cout << (ll)... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define rep1(i, n) for (ll i = 1; i <= (ll)(n); i++)
#define INF 10000000000
#define MOD 1000000007
using ll = long long;
using Graph = vector<vector<int>>;
int main() {
ll A;
long double B;
cin >> A >> B;
cout <<... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 77 |
#pragma GCC target("avx")
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
//#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#define _USE_MATH_DEFINES
#include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <complex>
#include... | #pragma GCC target("avx")
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
//#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#define _USE_MATH_DEFINES
#include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <complex>
#include... | [["+", 3, 4, 0, 16, 31, 2, 63, 23, 0, 22], ["+", 3, 4, 0, 16, 31, 2, 63, 23, 0, 25], ["+", 3, 4, 0, 16, 31, 2, 3, 4, 0, 24]] | 1 | 1,376 |
import math
a, b = input().split()
a = int(a)
b = int(float(b)*100)
n = a*b
n = n//100
print(n)
| import math
a, b = input().split()
a = int(a)
b = round(float(b)*100)
n = a*b
n = n//100
print(n)
| [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 44 |
#include <algorithm>
#include <cmath>
#include <iostream>
#define MAX 1000000000000000000
using namespace std;
int main() {
unsigned long long int a, ans;
long double b;
cin >> a >> b;
int x = b * 100;
ans = a * x;
cout << (ans / 100);
return 0;
} | #include <algorithm>
#include <cmath>
#include <iostream>
#define MAX 1000000000000000000
using namespace std;
int main() {
unsigned long long int a, ans;
long double b;
cin >> a >> b;
int x = b * 100 + 0.001f;
ans = a * x;
cout << (ans / 100);
return 0;
} | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 61 |
#include <algorithm>
#include <cmath>
#include <complex>
#include <functional>
#include <iostream>
#include <limits>
#include <numeric>
#include <sstream>
#include <string>
using namespace std;
const double EPS = 1e-7;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
unsigned l... | #include <algorithm>
#include <cmath>
#include <complex>
#include <functional>
#include <iostream>
#include <limits>
#include <numeric>
#include <sstream>
#include <string>
using namespace std;
const double EPS = 1e-7;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
unsigned l... | [["-", 0, 43, 49, 50, 51, 16, 31, 16, 12, 13], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 12, 13], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 98 |
a=input().split()
fa=int(a[0])
fb=int(a[1].replace(".", ""))
print(fa*fb//100)
print(a) | a=input().split()
fa=int(a[0])
fb=int(a[1].replace(".", ""))
print(fa*fb//100) | [["-", 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, 25]] | 5 | 49 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
cin >> a;
string b;
cin >> b;
int s = b.size();
b.erase(s - 3, 1);
long long c = stoi(b);
long long ans = floor(a * c / 100);
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
cin >> a;
string b;
cin >> b;
int s = b.size();
b.erase(s - 3, 1);
long long c = stoi(b);
long long ans = a * c / 100;
cout << ans << 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 | 75 |
#include <algorithm>
#include <cmath>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <unordered_map>
using namespace std;
typedef long long ll;
const ll INF = 1000000007;
const ll mod = 1000000007;
int main() {
double a, b;
cin... | #include <algorithm>
#include <cmath>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <unordered_map>
using namespace std;
typedef long long ll;
const ll INF = 1000000007;
const ll mod = 1000000007;
int main() {
long double a, b;
... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 75 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
ll a;
double b;
cin >> a >> b;
ll b2 = b * 100;
ll ans = a * b2;
if (ans < 100) {
cout << "0" << endl;
return 0;
}
string ans2 = to_string(ans... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
ll a;
double b;
cin >> a >> b;
ll b2 = b * 100 + 0.1;
ll ans = a * b2;
if (ans < 100) {
cout << "0" << endl;
return 0;
}
string ans2 = to_stri... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 113 |
A, B = map(float, input().split(' '))
A = int(A)
B = int(B * (10 ** 2))
print(int((A * B)//10**2)) | A, B = map(float, input().split(' '))
A = int(A)
B = round(B * (10 ** 2))
print(int((A * B)//10**2)) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 52 |
#include "bits/stdc++.h"
#define REP(i, num) for (ll i = 0; i < (num); ++i)
#define LOOP(i) while (i--)
#define ALL(c) c.begin(), c.end()
#define PRINTALL(c) \
for (auto pitr = c.begin(); pitr != c.end(); ++pitr) { \
cout << *pitr; ... | #include "bits/stdc++.h"
#define REP(i, num) for (ll i = 0; i < (num); ++i)
#define LOOP(i) while (i--)
#define ALL(c) c.begin(), c.end()
#define PRINTALL(c) \
for (auto pitr = c.begin(); pitr != c.end(); ++pitr) { \
cout << *pitr; ... | [["+", 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 | 401 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, s, n) for (int i = s; i < (int)(n); i++)
int main() {
ll a;
double bb;
cin >> a >> bb;
int b = bb * 100;
cout << (a * b) / 100 << endl;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, s, n) for (int i = s; i < (int)(n); i++)
int main() {
ll a;
double bb;
cin >> a >> bb;
ll b = round(bb * 100);
cout << (a * b) / 100 << endl;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 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 | 59 |
a, b = map(float, input().split())
print(int(a) * int(b*10**2) // 10**2) | a, b = map(float, input().split())
print((int(a) * round(b*10**2)) // 10**2) | [["+", 0, 652, 3, 4, 0, 657, 31, 23, 0, 24], ["-", 3, 4, 0, 657, 31, 657, 12, 652, 63, 22], ["+", 0, 657, 31, 23, 0, 657, 12, 652, 63, 22], ["+", 31, 23, 0, 657, 12, 652, 3, 4, 0, 25]] | 5 | 36 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
long long r = a * (long long)round(b * 100.0 / 100);
cout << r << "\n";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long int a;
double b;
cin >> a >> b;
long long int r = a * (long long int)round(b * 100.0) / 100;
cout << r << "\n";
return 0;
}
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 31, 16, 12, 74, 39, 77, 39, 86, 39, 40], ["+", 31, 16, 12, 74, 51, 2, 3, 4, 0, 25], ["-", 51, 16, 12, 74, 51, 2, 3, 4, 0, 25]] | 1 | 55 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
long long r = a * (long long)round(b * 100.0 / 100);
cout << r << "\n";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
long long r = a * (long long)round(b * 100.0) / 100;
cout << r << "\n";
return 0;
}
| [["+", 31, 16, 12, 74, 51, 2, 3, 4, 0, 25], ["-", 51, 16, 12, 74, 51, 2, 3, 4, 0, 25]] | 1 | 55 |
a,b=input().split()
a=int(a)
b=int(b[0]+b[1:])
print((a*b)//100) | a,b=input().split()
a=int(a)
b=int(b[0]+b[2:])
print((a*b)//100) | [["-", 3, 4, 0, 657, 12, 206, 206, 663, 0, 612], ["+", 3, 4, 0, 657, 12, 206, 206, 663, 0, 612]] | 5 | 42 |
import math
import numpy as np
# math.floor
X = list(input().split())
A = int(X[0])
B = float(X[1])
# s = str(A*B)
ans = (A*int(B*100))//100
print(ans) | import math
import numpy as np
# math.floor
X = list(input().split())
A = int(X[0])
B = float(X[1])
# s = str(A*B)
ans = (A*int(B*100+0.5))//100
print(ans) | [["+", 0, 657, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 657, 12, 652, 3, 4, 0, 657, 12, 531]] | 5 | 56 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long A, B;
cin >> A >> B;
char ch;
cin >> ch;
int r, f;
cin >> f;
r = (f * A) / 100;
r += A * B;
cout << r << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long A, B;
cin >> A >> B;
char ch;
cin >> ch;
long long r, f;
cin >> f;
r = (f * A) / 100;
r += A * B;
cout << r << endl;
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 65 |
#include <stdio.h>
int main() {
unsigned long long a;
double b;
scanf("%llu%lf", &a, &b);
unsigned long long ans = a * b + 1e-3;
printf("%llu\n", ans);
}
| #include <stdio.h>
int main() {
unsigned long long a;
long double b;
scanf("%llu%Lf", &a, &b);
unsigned long long ans = a * b + 1e-3;
printf("%llu\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 | 50 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int64_t A;
double B;
cin >> A >> B;
double s = B * 100;
int k = (int)s;
int64_t t = A * k / 100;
cout << t;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int64_t A;
double B;
cin >> A >> B;
double s = B * 100 + 0.5;
int k = (int)s;
int64_t t = A * k / 100;
cout << t;
}
| [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 52 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
def main():
A, B = map(float, input().split())
print(int(A * B))
if __name__ == "__main__":
main()
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
from decimal import Decimal
def main():
A, B = map(Decimal, input().split())
print(int(A * 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, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]] | 5 | 42 |
a, b = input().split()
a = int(a)
b = int(float(b) * 100 + 0.5)
print(int(a * b / 100)) | a, b = input().split()
a = int(a)
b = int(float(b) * 100 + 0.5)
print(a * b // 100) | [["-", 0, 1, 0, 652, 3, 4, 0, 652, 63, 22], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["-", 3, 4, 0, 652, 3, 4, 0, 657, 17, 85], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 676], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 41 |
a,b=input().split()
a=int(a)
b=int(float(b)*100)
x=(a*b)//100
print(x) | a,b=input().split()
a=int(a)
b=round(float(b)*100)
x=a*b//100
print(x)
| [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 1, 0, 662, 12, 657, 31, 23, 0, 24], ["-", 0, 1, 0, 662, 12, 657, 31, 23, 0, 25]] | 5 | 41 |
#include <bits/stdc++.h>
using namespace std;
#define lli long long int
#define uli unsigned long long int
#define rep(i, m, n) for (lli i = m; i < (n); i++)
#define repe(i, m, n) for (lli i = m; i <= (n); i++)
#define ALL(x) (x).begin(), (x).end()
#define SIZE(x) ((lli)(x).size())
#define MAX(x) *max_element(ALL(x))
#... | #include <bits/stdc++.h>
using namespace std;
#define lli long long int
#define uli unsigned long long int
#define rep(i, m, n) for (lli i = m; i < (n); i++)
#define repe(i, m, n) for (lli i = m; i <= (n); i++)
#define ALL(x) (x).begin(), (x).end()
#define SIZE(x) ((lli)(x).size())
#define MAX(x) *max_element(ALL(x))
#... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 500 |
#include <bits/stdc++.h>
using namespace std;
#define PI 3.14159265358979323846264338327950L
int main(void) {
long long A, ans, B_;
long double B;
cin >> A >> B;
B_ = B * 100;
ans = (A * B_) / 100;
// cout<<ans<<endl;
printf("%lld\n", ans);
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
#define PI 3.14159265358979323846264338327950L
int main(void) {
long long A, ans, B_;
long double B;
cin >> A >> B;
B_ = B * 100 + 0.5;
ans = (A * B_) / 100;
// cout<<ans<<endl;
printf("%lld\n", ans);
return 0;
}
| [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 64 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.