buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k |
|---|---|---|---|---|
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <deque> // deque
#include <iostream> // cout, endl, cin
... | #include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <deque> // deque
#include <iostream> // cout, endl, cin
... | [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 105 |
//
// main.cpp
// ABC169C
#include <iostream>
#include <math.h>
using namespace std;
int main(int argc, const char *argv[]) {
long long A, iB, ans;
double B;
cin >> A >> B;
iB = B * 100;
ans = A * iB / 100;
printf("%lld\n", ans);
return 0;
}
| //
// main.cpp
// ABC169C
#include <iostream>
#include <math.h>
using namespace std;
int main(int argc, const char *argv[]) {
long long A, iB, ans;
double B;
cin >> A >> B;
iB = B * 100 + 0.5; // 実数→整数の誤差を吸収する
ans = A * iB / 100;
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 | 70 |
import sys
input =sys.stdin.readline
from deciaml import Decimal
def main():
a,b= list(map(Decimal,input().strip().split()))
print(int(a*b))
main() | import sys
input =sys.stdin.readline
from decimal import Decimal
def main():
a,b= list(map(Decimal,input().strip().split()))
print(int(a*b))
main() | [["-", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22]] | 5 | 53 |
/// Astalavista Code........~CodeSlayer007
#include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define Br cout << endl
#define pb push_back
#define mp make_pair
#define fe first
#define se second
#define int long long
#define double long double
#define all(v) v.begin(), v.end()
#define allr(v) v.rbegin(), v... | /// Astalavista Code........~CodeSlayer007
#include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define Br cout << endl
#define pb push_back
#define mp make_pair
#define fe first
#define se second
#define int long long
#define double long double
#define all(v) v.begin(), v.end()
#define allr(v) v.rbegin(), v... | [["-", 8, 9, 0, 9, 0, 1, 0, 11, 31, 22], ["+", 8, 9, 0, 9, 0, 1, 0, 11, 31, 22], ["-", 0, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 0, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 1 | 474 |
// Sky's the limit :)
#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int t = 1;
// cin >> t;
while (t--) {
long double a, b;
cin >> a >> b;
int x = a;
int y = b * 100;
cout << x * y / 100 << '\n';
... | // Sky's the limit :)
#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int t = 1;
// cin >> t;
while (t--) {
long double a, b;
cin >> a >> b;
int x = a;
int y = round(b * 100);
cout << x * y / 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 | 108 |
a,b = input().split()
a = int(a)
b = int(b.replace(".",""))
print(int(a*b/100))
| a,b = input().split()
a = int(a)
b = int(b.replace(".",""))
print(int(a*b//100))
| [["-", 3, 4, 0, 652, 3, 4, 0, 657, 17, 85], ["+", 3, 4, 0, 652, 3, 4, 0, 657, 17, 676]] | 5 | 44 |
import math
def solve():
A, B = input().split()
print(int(A) * int(B[-4] + B[-2:])* 100 // 100)
if __name__ == '__main__':
solve()
| import math
def solve():
A, B = input().split()
print(int(A) * int(B[-4] + B[-2:]) // 100)
if __name__ == '__main__':
solve()
| [["-", 0, 652, 3, 4, 0, 657, 31, 657, 17, 48], ["-", 0, 652, 3, 4, 0, 657, 31, 657, 12, 612]] | 5 | 55 |
#include <bits/stdc++.h>
typedef long long ll;
#define mod 1000000009
#define MK make_pair
#define EB emplace_back
#define PB push_back
#define F first
#define S second
using namespace std;
int main() {
ll a;
double b;
cin >> a >> b;
b *= a;
ll ans = trunc(b);
cout << ans << endl;
return 0;
} | #include <bits/stdc++.h>
typedef long long ll;
#define mod 1000000009
#define MK make_pair
#define EB emplace_back
#define PB push_back
#define F first
#define S second
using namespace std;
int main() {
ll a;
long double b;
cin >> a >> b;
b *= a;
ll ans = trunc(b);
cout << ans << endl;
return 0;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96]] | 1 | 68 |
#include <iostream>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
long long c = b * 100;
cout << a * c / 100 << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
long long c = b * 100 + 0.001;
cout << a * c / 100 << endl;
return 0;
} | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 46 |
#A, B = map(float, input().split())
a = input().split()
for i in range(2):
a[i] = int(a[i]) if i == 0 else float(a[i]*100)
print(int(a[0] * a[1] / 100))
#print(type(a[0]))
#print(type(a[1]))
| a = input().split()
for i in range(2):
a[i] = int(a[i]) if i == 0 else round(float(a[i])*100)
print(int(a[0] * a[1] // 100))
| [["+", 0, 1, 0, 662, 12, 41, 0, 652, 63, 22], ["+", 0, 662, 12, 41, 0, 652, 3, 4, 0, 24], ["+", 3, 4, 0, 657, 31, 652, 3, 4, 0, 25], ["-", 3, 4, 0, 652, 3, 4, 0, 657, 17, 85], ["+", 3, 4, 0, 652, 3, 4, 0, 657, 17, 676]] | 5 | 63 |
// header {{{
// header {{{
using namespace std;
#include <bits/stdc++.h>
#define CPP_STR(x) CPP_STR_I(x)
#define CPP_CAT(x, y) CPP_CAT_I(x, y)
#define CPP_STR_I(args...) #args
#define CPP_CAT_I(x, y) x##y
#define ASSERT(expr...) assert((expr))
using i8 = int8_t;
using u8 = uint8_t;
using i16 = int16_t;
using u16 = ... | // header {{{
// header {{{
using namespace std;
#include <bits/stdc++.h>
#define CPP_STR(x) CPP_STR_I(x)
#define CPP_CAT(x, y) CPP_CAT_I(x, y)
#define CPP_STR_I(args...) #args
#define CPP_CAT_I(x, y) x##y
#define ASSERT(expr...) assert((expr))
using i8 = int8_t;
using u8 = uint8_t;
using i16 = int16_t;
using u16 = ... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 706 |
#include <iostream>
using namespace std;
#define ll long long
signed main() {
ll A;
double B;
cin >> A >> B;
ll b = B * 100 + 0.5;
int ans = A * b;
cout << ans / 100 << endl;
return 0;
}
| #include <iostream>
using namespace std;
#define ll long long
signed main() {
ll A;
double B;
cin >> A >> B;
ll b = B * 100 + 0.5;
ll ans = A * b;
cout << ans / 100 << endl;
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78]] | 1 | 54 |
#include <bits/stdc++.h>
using namespace std;
long long a;
double b;
int main() {
cin >> a >> b;
cout << (long long)(a * (long long)(b * 100)) / 100;
}
| #include <bits/stdc++.h>
using namespace std;
long long a;
double b;
int main() {
cin >> a >> b;
cout << (long long)(a * (long long)(b * 100 + 0.1)) / 100;
}
| [["+", 0, 16, 12, 74, 51, 23, 0, 16, 17, 72], ["+", 0, 16, 12, 74, 51, 23, 0, 16, 12, 13]] | 1 | 47 |
a,b=input().split()
a = int(a)
b = float(b)
b = round(b * 100)
ans = (a*b) /100
print(ans)
| a,b=input().split()
a = int(a)
b = float(b)
b = round(b * 100)
ans = (a*b) // 100
print(ans)
| [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676]] | 5 | 44 |
a,b= map(str,input().split())
c=b.replace(".","")
ans=int(a)*int(c)
ANS=int(ans/100)
print(ANS)
| a,b= map(str,input().split())
c=b.replace(".","")
ans=int(a)*int(c)
ANS=int(ans//100)
print(ANS) | [["-", 0, 662, 12, 652, 3, 4, 0, 657, 17, 85], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 17, 676]] | 5 | 52 |
#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;
int c = b * 100;
cout << a * c / 100 << 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;
int 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 |
a,b=input().split()
a = int(a)
b = float(b)
b = round(b * 100)
ans = (a*c) // 100
print(ans) | a,b=input().split()
a = int(a)
b = float(b)
b = round(b * 100)
ans = (a*b) // 100
print(ans) | [["-", 0, 662, 12, 657, 31, 23, 0, 657, 12, 22], ["+", 0, 662, 12, 657, 31, 23, 0, 657, 12, 22]] | 5 | 44 |
#include <algorithm>
#include <cmath>
#include <fstream>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <string>
#include <vector>
typedef long double ld;
typedef long long ll;
const ll INF = (ll)1e18 + 1;
const ll MOD = 1e9 + 7;
// Output
template <class T, class S>
std::ostream &ope... | #include <algorithm>
#include <cmath>
#include <fstream>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <string>
#include <vector>
typedef long double ld;
typedef long long ll;
const ll INF = (ll)1e18 + 1;
const ll MOD = 1e9 + 7;
// Output
template <class T, class S>
std::ostream &ope... | [["-", 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, 21], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 31, 23, 0, 16, 12, 2, 63, 343, 345, 348], ["+", 31, 23, 0, 16, 12, 2, 63, 343, 0, 349], ["+", 31, 23, 0, 16, 12, 2, 63, 343, 141, 22]] | 1 | 470 |
// Bismillahir Rahmanir Rahim
#include <bits/stdc++.h>
#define PI acos(-1.0)
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); \
... | // Bismillahir Rahmanir Rahim
#include <bits/stdc++.h>
#define PI acos(-1.0)
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); \
... | [["+", 8, 9, 0, 43, 49, 50, 51, 2, 63, 22]] | 1 | 124 |
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
typedef long long ll;
constexpr double PI = 3.141592653589793;
constexpr ... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
typedef long long ll;
constexpr double PI = 3.141592653589793;
constexpr ... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 180 |
#include <algorithm>
#include <bitset>
#include <float.h>
#include <fstream>
#include <functional>
#include <iostream>
#include <limits>
#include <numeric>
#include <queue>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <type_traits>
#include <vector>
using namespace std;
#define _GLIBCXX_DEBUG
#defi... | #include <algorithm>
#include <bitset>
#include <float.h>
#include <fstream>
#include <functional>
#include <iostream>
#include <limits>
#include <numeric>
#include <queue>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <type_traits>
#include <vector>
using namespace std;
#define _GLIBCXX_DEBUG
#defi... | [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 263 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
ll n, a;
double m;
cin >> n >> m;
a = m * 100;
n = (n * a) / 100;
cout << n << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
ll n, a;
double m;
cin >> n >> m;
a = (m * 100) + .5;
n = (n * a) / 100;
cout << n << endl;
return 0;
}
| [["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 54 |
##C
A,B = map(float,input().split())
A = int(A)
B = int(B.replace('.',''))
print((A*B)//100) | ##C
A,B = map(str,input().split())
A = int(A)
B = int(B.replace('.',''))
print((A*B)//100) | [["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]] | 5 | 49 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll a;
double b;
cin >> a >> b;
ll c = b * 100;
ll ans = (a * c) / 100;
cout << ans << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll a;
double b;
cin >> a >> b;
ll c = b * 100 + 0.5;
ll ans = (a * c) / 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 | 56 |
#include <stdio.h>
int main() {
double b;
long int ans, a;
scanf("%ld %lf", &a, &b);
int c = b * 100;
ans = (long)(a * c) / 100;
printf("%ld\n", ans);
return 0;
} | #include <stdio.h>
int main(void) {
double b;
long int ans, a;
scanf("%ld %lf", &a, &b);
int c = b * 100 + 0.001;
ans = (long)(a * c) / 100;
printf("%ld\n", ans);
return 0;
} | [["+", 0, 14, 49, 53, 54, 55, 0, 56, 39, 40], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 0 | 63 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define rep(i, n, m) for (int i = (n); i < (m); i++)
#define rep_d(i, n, m) for (int i = (n)-1; i >= (m); i--)
#define sort_asc(X) sort((X).begin(), (X).end())
#define sort_desc(X) sort((X).begin(), (X).end(), greater<>())
#define endl "\n"
templ... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define rep(i, n, m) for (int i = (n); i < (m); i++)
#define rep_d(i, n, m) for (int i = (n)-1; i >= (m); i--)
#define sort_asc(X) sort((X).begin(), (X).end())
#define sort_desc(X) sort((X).begin(), (X).end(), greater<>())
#define endl "\n"
templ... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 442 |
#include <iostream>
#include <math.h>
using namespace std;
int main() {
// freopen("in.txt","r",stdin);
long long a;
float b;
cin >> a >> b;
int c = int(b * 100);
cout << a * c / 100;
return 0;
} | #include <iostream>
#include <math.h>
using namespace std;
int main() {
// freopen("in.txt","r",stdin);
long long a;
float b;
cin >> a >> b;
int c = int(b * 100 + 0.0001);
cout << a * c / 100;
return 0;
} | [["+", 49, 50, 51, 2, 3, 4, 0, 16, 17, 72], ["+", 49, 50, 51, 2, 3, 4, 0, 16, 12, 13]] | 1 | 49 |
#include <stdio.h>
int main(void) {
double b;
long int ans, a;
scanf("%ld %lf", &a, &b);
int c = b * 100;
ans = (long)(a * c) / 100;
printf("%ld\n", ans);
return 0;
}
| #include <stdio.h>
int main(void) {
double b;
long int ans, a;
scanf("%ld %lf", &a, &b);
int c = b * 100 + 0.0001;
ans = (long)(a * c) / 100;
printf("%ld\n", ans);
return 0;
}
| [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 0 | 64 |
a, b = input().split()
a = int(a)
b = int(b.replcae('.', ''))
print((a * b) // 100) | a, b = input().split()
a = int(a)
b = int(b.replace('.', ''))
print((a * b) // 100)
| [["-", 12, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["+", 12, 652, 3, 4, 0, 652, 63, 319, 319, 22]] | 5 | 43 |
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <string>
inline void read(int &T) {
int x = 0;
bool f = 0;
char c = getchar();
while (c < '0' || c > '9') {
if (c == '-')
f = !f;
c = getchar();
}
while (c >= '0' && c <= '9') {
x = x *... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <string>
inline void read(int &T) {
int x = 0;
bool f = 0;
char c = getchar();
while (c < '0' || c > '9') {
if (c == '-')
f = !f;
c = getchar();
}
while (c >= '0' && c <= '9') {
x = x *... | [["+", 8, 9, 0, 1, 0, 11, 12, 23, 0, 24], ["+", 0, 1, 0, 11, 12, 23, 0, 16, 17, 72], ["+", 0, 1, 0, 11, 12, 23, 0, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 23, 0, 25]] | 1 | 159 |
A, B = map(str, input().split())
a = int(A)
b = int(B.replace('.',''))
print(int(a*b/100)) | A, B = map(str, input().split())
a = int(A)
b = int(B.replace('.',''))
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 | 49 |
AB = list(input().split())
A = int(AB[0])
B = int(float(AB[1]) * 100)
A *= B
print(A // 100) | AB = list(input().split())
A = int(AB[0])
B = int(float(AB[1]) * 100 + 0.5)
A *= B
print(A // 100) | [["+", 0, 662, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 531]] | 5 | 44 |
import math
from decimal import Decimal
A, B = map(float, input().split())
B=Decimal(B)
A=int(A)
print(math.floor(A*B)) | import math
from decimal import Decimal
A, B = input().split()
B=Decimal(B)
A=int(A)
print(math.floor(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 | 45 |
#include <algorithm>
#include <bits/stdc++.h>
#include <unordered_set>
#define ll long long
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll A;
double B;
cin >> A >> B;
ll g = A * (B * 100LL) / 100LL;
cout << g << endl;
return 0;
} | #include <algorithm>
#include <bits/stdc++.h>
#include <unordered_set>
#define ll long long
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll A;
long double B;
cin >> A >> B;
ll g = (A * round(B * 100)) / 100LL;
cout << g << endl;
return 0;
} | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 24], ["+", 51, 16, 31, 23, 0, 16, 12, 2, 63, 22], ["-", 51, 16, 31, 16, 12, 23, 0, 16, 12, 13], ["+", 0, 16, 12, 2, 3, 4, 0, 16, 12, 13], ["+", 31, 23, 0, 16, 12, 2, 3, 4, 0, 25]] | 1 | 67 |
a,b=map(float,input().split())
a=int(a)
print(((b*100)*a)//100) | a,b=map(float,input().split())
a=int(a)
print((round(b*100)*a)//100) | [["+", 0, 657, 31, 23, 0, 657, 31, 652, 63, 22]] | 5 | 36 |
A,B = map(float, input().split())
A = int(A)
ans = (int(B*100)*A)//100
print(ans) | A,B = map(float, input().split())
A = int(A)
ans = (round(B*100)*A)//100
print(ans) | [["-", 12, 657, 31, 23, 0, 657, 31, 652, 63, 22], ["+", 12, 657, 31, 23, 0, 657, 31, 652, 63, 22]] | 5 | 40 |
A,B = map(float, input().split())
A = int(A)
ans = (int(B*100)*A)//100
print(ans) | A,B = map(float, input().split())
A = int(A)
ans = (int(B*100+0.001)*A)//100
print(ans) | [["+", 0, 657, 31, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 657, 31, 652, 3, 4, 0, 657, 12, 531]] | 5 | 40 |
#include <cmath>
#include <iostream>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
cout << (long long)(a * (long long)(b * 100)) / 100;
return 0;
}
| #include <cmath>
#include <iostream>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
cout << (long long)(a * (long long)(b * 100 + 0.001)) / 100;
return 0;
}
| [["+", 0, 16, 12, 74, 51, 23, 0, 16, 17, 72], ["+", 0, 16, 12, 74, 51, 23, 0, 16, 12, 13]] | 1 | 52 |
#include <bits/stdc++.h>
#define repp(i, l, r) for (long long i = (l); i < (r); i++)
#define rep(i, n) for (long long i = 0; i < (n); ++i)
#define per(i, n) for (long long i = (n); i >= 0; --i)
const int INF = 2147483647; // int max
const long long int MOD = 1000000007;
using namespace std;
using ll = long long;
using ... | #include <bits/stdc++.h>
#define repp(i, l, r) for (long long i = (l); i < (r); i++)
#define rep(i, n) for (long long i = 0; i < (n); ++i)
#define per(i, n) for (long long i = (n); i >= 0; --i)
const int INF = 2147483647; // int max
const long long int MOD = 1000000007;
using namespace std;
using ll = long long;
using ... | [["-", 0, 1, 0, 16, 31, 16, 12, 2, 63, 22], ["-", 0, 16, 31, 16, 12, 2, 3, 4, 0, 24], ["-", 0, 16, 31, 16, 12, 2, 3, 4, 0, 25]] | 1 | 200 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
long long a;
long double b;
cin >> a >> b;
cout << (long long)((a * (long long)(b * 100)) / 100);
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
long long a;
long double b;
cin >> a >> b;
cout << (long long)((a * (long long)(b * 100 + 0.01)) / 100);
return 0;
}
| [["+", 0, 16, 12, 74, 51, 23, 0, 16, 17, 72], ["+", 0, 16, 12, 74, 51, 23, 0, 16, 12, 13]] | 1 | 74 |
As,Bs=input().split()
A=int(As)
B=float(Bs)
B100=int((Bs+0.001)*100)
print(A*B100//100) | As,Bs=input().split()
A=int(As)
B=float(Bs)
B100=int((B+0.001)*100)
print(A*B100//100) | [["-", 3, 4, 0, 657, 31, 23, 0, 657, 31, 22], ["+", 3, 4, 0, 657, 31, 23, 0, 657, 31, 22]] | 5 | 43 |
/*
author : seryu
title : ABC169C_"Multiplication3"
*/
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define reps(i, n) for (int i = 1; i <= n; i++)
#define mrep(i, j, n) for (int i = j; i < n; i++)
#define mreps(i, j, n) for (int i = j; i <= n; i++)
#define all(x) (x).begi... | /*
author : seryu
title : ABC169C_"Multiplication3"
*/
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define reps(i, n) for (int i = 1; i <= n; i++)
#define mrep(i, j, n) for (int i = j; i < n; i++)
#define mreps(i, j, n) for (int i = j; i <= n; i++)
#define all(x) (x).begi... | [["+", 49, 50, 51, 2, 3, 4, 0, 2, 63, 22], ["+", 51, 2, 3, 4, 0, 2, 3, 4, 0, 24], ["+", 0, 43, 49, 50, 51, 2, 3, 4, 0, 25], ["-", 0, 1, 0, 16, 12, 2, 3, 4, 0, 13], ["+", 0, 1, 0, 16, 12, 2, 3, 4, 0, 13]] | 1 | 246 |
a, b = list(input().split())
a = int(a)
b = b.replace(".", "")
b = int(b)
print(int(a*b/100))
| a, b = list(input().split())
a = int(a)
b = b.replace(".", "")
b = int(b)
print(int(a*b)//100)
| [["-", 3, 4, 0, 652, 3, 4, 0, 657, 17, 85], ["-", 3, 4, 0, 652, 3, 4, 0, 657, 12, 612], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 17, 676], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 12, 612]] | 5 | 50 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
int x = b * 100;
cout << a * x / 100 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
int x = b * 100 + 0.1;
cout << a * x / 100 << endl;
return 0;
}
| [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 45 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
int x = b * 100;
cout << (a * x) / 100 << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
double b;
cin >> a >> b;
int x = b * 100 + 0.5;
cout << (a * x) / 100 << endl;
return 0;
}
| [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 47 |
#include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stdio.h>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
typedef unsigned long long ll;
const ll maxn = 1e18;
ll a, n;
double b;
ll i;
ll sumn = 1;
char s[5];
int main() {
... | #include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stdio.h>
#include <string.h>
#include <string>
#include <vector>
using namespace std;
typedef unsigned long long ll;
const ll maxn = 1e18;
ll a, n;
ll b;
ll i;
ll sumn = 1;
char s[5];
int main() {
scan... | [["-", 36, 36, 36, 36, 0, 30, 0, 43, 39, 40], ["+", 36, 36, 36, 36, 0, 30, 0, 43, 39, 78], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 128 |
#include <bitset> //bitset可按位定义串
#include <cmath> //C中的数学函数
#include <cstdio> //C的输入输出
#include <cstdlib> //定义杂项函数及内存分配函数
#include <cstring> //字符串操作函数
#include <iostream> //数据输入输出流
#include <list> //STL list
#include <map> // STL map
#include <queue> // STL queue
#include <set>
#include <stack> //... | #include <bitset> //bitset可按位定义串
#include <cmath> //C中的数学函数
#include <cstdio> //C的输入输出
#include <cstdlib> //定义杂项函数及内存分配函数
#include <cstring> //字符串操作函数
#include <iostream> //数据输入输出流
#include <list> //STL list
#include <map> // STL map
#include <queue> // STL queue
#include <set>
#include <stack> //... | [["+", 49, 50, 51, 2, 3, 4, 0, 16, 17, 72], ["+", 49, 50, 51, 2, 3, 4, 0, 16, 12, 13]] | 1 | 179 |
A, B = input().split()
print(ans = int(A) * round(float(B) * 100) // 100) | A, B = input().split()
print(int(A) * round(float(B) * 100) // 100) | [["-", 0, 1, 0, 652, 3, 4, 0, 653, 141, 22], ["-", 0, 1, 0, 652, 3, 4, 0, 653, 0, 32]] | 5 | 32 |
A, B = input().split()
ans = int(A) * round(float(B) * 100) / 100
print(int(ans)) | A, B = input().split()
ans = int(A) * round(float(B) * 100) // 100
print(int(ans)) | [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676]] | 5 | 36 |
A, B = input().split()
ans = (int(A) * (int(B[0])*100 + int(B[2])*10 + int(B[3]))) / 100
print(int(ans)) | A, B = input().split()
ans = (int(A) * (int(B[0])*100 + int(B[2])*10 + int(B[3]))) // 100
print(int(ans)) | [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 85], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 676]] | 5 | 58 |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] Args) {
long ans = 1;
int flag = 0;
Scanner in = new Scanner(System.in);
long a = in.nextLong();
String b = in.next();
ans = a * (b.charAt(0) - '0') * 100 + a * (b.charAt(2) - '0') * 10 +
a * ... | import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] Args) {
long ans = 1;
int flag = 0;
Scanner in = new Scanner(System.in);
long a = in.nextLong();
String b = in.next();
ans = a * (b.charAt(0) - '0') * 100 + a * (b.charAt(2) - '0') * 10 +
a * ... | [["+", 0, 1, 0, 492, 3, 4, 0, 16, 17, 85], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 12, 499]] | 3 | 124 |
A,B=map(float,input().split())
A=int(A)
B=int(B*100+0.99999999999999999999999999999999999999999999999)
print(A*B//100) | A,B=map(float,input().split())
A=int(A)
B=int(B*100+0.9999999999)
print(A*B//100) | [["-", 0, 662, 12, 652, 3, 4, 0, 657, 12, 531], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 531]] | 5 | 40 |
A,B=map(float,input().split())
A=int(A)
B=int(B*100+0.01)
print(int(A*B/100)) | A,B=map(float,input().split())
A=int(A)
B=int(B*100+0.1)
print(A*B//100) | [["-", 0, 662, 12, 652, 3, 4, 0, 657, 12, 531], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 531], ["-", 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 | 43 |
//----------------------------------------------------------------------
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
//----------------------------------------------------------------------
using namespace std;
using ll = unsigned long long;
using P = pair<int, int>;
using Graph = vec... | //----------------------------------------------------------------------
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
//----------------------------------------------------------------------
using namespace std;
using ll = unsigned long long;
using P = pair<int, int>;
using Graph = vec... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 31, 16, 12, 16, 31, 16, 12, 2, 63, 22], ["+", 12, 16, 31, 16, 12, 2, 3, 4, 0, 24], ["+", 12, 2, 3, 4, 0, 2, 3, 4, 0, 25]] | 1 | 81 |
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 * 100 + 0.5)
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 |
/*
Author:zeke
pass System Test!
GET AC!!
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include... | /*
Author:zeke
pass System Test!
GET AC!!
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include... | [["-", 31, 16, 12, 2, 3, 4, 0, 16, 12, 13], ["+", 31, 16, 12, 2, 3, 4, 0, 16, 12, 13]] | 1 | 289 |
#include "bits/stdc++.h"
#pragma GCC optimize "03"
using namespace std;
#define int long long int
#define pb push_back
#define pii pair<int, int>
#define fi first
#define se second
#define rep(i, a, b) for (int i = a; i < b; ++i)
#define IOS \
ios::s... | #include "bits/stdc++.h"
#pragma GCC optimize "03"
using namespace std;
#define int long long int
#define pb push_back
#define pii pair<int, int>
#define fi first
#define se second
#define rep(i, a, b) for (int i = a; i < b; ++i)
#define IOS \
ios::s... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 87], ["+", 31, 16, 12, 74, 39, 77, 39, 86, 0, 87], ["+", 12, 16, 31, 16, 12, 74, 51, 2, 63, 22], ["+", 31, 16, 12, 74, 51, 2, 3, 4, 0, 24], ["+", 31, 16, 12, 74, 51, 2, 3, 4, 0, 25]] | 1 | 115 |
def i():
return int(input())
def i2():
return map(str,input().split())
def s():
return str(input())
def l():
return list(input())
def intl():
return list(int(k) for k in input().split())
from decimal import Decimal
a,b = i2()
c = Decimal(a)
d = Decimal(b)
print(c*d) | def i():
return int(input())
def i2():
return map(str,input().split())
def s():
return str(input())
def l():
return list(input())
def intl():
return list(int(k) for k in input().split())
from decimal import Decimal
a,b = i2()
c = Decimal(a)
d = Decimal(b)
print(int(c*d)) | [["+", 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 | 106 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int64_t A;
cin >> A;
double B;
cin >> B;
int64_t C = B * 100;
int64_t mul = A * C;
int64_t ans = mul / 100;
cout << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int64_t A;
cin >> A;
double B;
cin >> B;
int64_t C = B * 100 + 0.01;
int64_t mul = A * C;
int64_t ans = mul / 100;
cout << ans << endl;
}
| [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 53 |
A,B=input().split()
A=int(A)
B=int(B.replace(".",""))*100
print(int(A*B/10000))
| A,B=input().split()
A=int(A)
B=int(B.replace(".",""))*100
print(A*B//10000)
| [["-", 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 | 46 |
#include <bits/stdc++.h>
using namespace std;
#define w(x) \
int x; \
cin >> x; \
while (x--)
#define fast ... | #include <bits/stdc++.h>
using namespace std;
#define w(x) \
int x; \
cin >> x; \
while (x--)
#define fast ... | [["+", 12, 16, 31, 16, 12, 74, 51, 2, 63, 22], ["+", 31, 16, 12, 74, 51, 2, 3, 4, 0, 24], ["+", 31, 16, 12, 74, 51, 2, 3, 4, 0, 25]] | 1 | 61 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define REP(i, s, n) for (int i = (s); i < (n); i++)
#define repr(i, n) for (int i = n - 1; i >= 0; i--)
#define REPR(i, s, n) for (int i = (s); i >= (n); i--)
#define all(a) (a).begin(), (a).end()
#define rall(a) (a).rbegin(), ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define REP(i, s, n) for (int i = (s); i < (n); i++)
#define repr(i, n) for (int i = n - 1; i >= 0; i--)
#define REPR(i, s, n) for (int i = (s); i >= (n); i--)
#define all(a) (a).begin(), (a).end()
#define rall(a) (a).rbegin(), ... | [["+", 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 | 143 |
#include <bits/stdc++.h>
#define ll long long
#define V vector<long long>
#define VV vector<vector<long long>>
#define VVV vector<vector<vector<long long>>>
#define P pair<ll, ll>
#define rep(i, n) for (ll(i) = 0; (i) < (n); ++(i))
using namespace std;
int main() {
ll a;
double b;
cin >> a >> b;
ll bb = b * 10... | #include <bits/stdc++.h>
#define ll long long
#define V vector<long long>
#define VV vector<vector<long long>>
#define VVV vector<vector<vector<long long>>>
#define P pair<ll, ll>
#define rep(i, n) for (ll(i) = 0; (i) < (n); ++(i))
using namespace std;
int main() {
ll a;
double b;
cin >> a >> b;
ll bb = round(... | [["+", 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 | 64 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int64_t a;
string b;
cin >> a >> b;
int b100 = (b.at(0) - '0') * 100 + (b.at(2) - '0') * 10 + (b.at(3) - '0');
int ans = (a * b100) / 100;
cout << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int64_t a;
string b;
cin >> a >> b;
int b100 = (b.at(0) - '0') * 100 + (b.at(2) - '0') * 10 + (b.at(3) - '0');
int64_t ans = (a * b100) / 100;
cout << ans << endl;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 87 |
#include <iostream>
using namespace std;
#define ll long long
int main() {
ll int a, ans = 0;
double b;
cin >> a >> b;
if (b != 0) {
ans = a * b;
}
// cout << a << ", " << b << ", " << ans << endl;
cout << ans << endl;
return 0;
}
| #include <iostream>
using namespace std;
#define ll long long
int main() {
ll int a, ans = 0;
long double b;
cin >> a >> b;
if (b != 0) {
ans = a * b + 0.001;
}
// cout << a << ", " << b << ", " << ans << endl;
cout << ans << endl;
return 0;
}
| [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 64, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 64, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 56 |
import math
a, b = map(str, input().split())
print(int(int(a)*float(b))) | from decimal import Decimal
a, b = map(str, input().split())
print(int(int(a)*Decimal(b))) | [["+", 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], ["-", 0, 652, 3, 4, 0, 657, 12, 652, 63, 22], ["+", 0, 652, 3, 4, 0, 657, 12, 652, 63, 22]] | 5 | 33 |
#n = int(input())
#a,b = map(int,input().split())
#a_L = list(map(int,input().split()))
#n = int(input())
a,b = map(float,input().split())
#a_L = list(map(int,input().split()))
print(int(a*b)) | from decimal import *
a,b = map(Decimal,input().split())
print(int(a*b)) | [["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 0, 690, 0, 48], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]] | 5 | 30 |
from floor import math
a, b = input().split()
a = int(a)
b = round(float(b) * 100)
print(a * b // 100) | from math import floor
a, b = input().split()
a = int(a)
b = round(float(b) * 100)
print(a * b // 100) | [["-", 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 | 40 |
def readinput():
#a,b=list(map(float,input().split()))
a,b=input().split()
a=int(a)
b=float(b)
return a,b
def main(a,b):
#ans=int(a*b*10)//10
b=int(b*100)
ans=a*b//100
return ans
if __name__=='__main__':
a,b=readinput()
ans=main(a,b)
print(ans) |
def readinput():
#a,b=list(map(float,input().split()))
a,b=input().split()
a=int(a)
b=float(b)
return a,b
def main(a,b):
#ans=int(a*b*10)//10
b=int(b*100+0.5)
ans=a*b//100
return ans
if __name__=='__main__':
a,b=readinput()
ans=main(a,b)
print(ans)
| [["+", 0, 662, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 531]] | 5 | 85 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long int A, ans, BB = 0;
cin >> A;
double B;
cin >> B;
BB = B * 100;
ans = A * BB / 100;
cout << ans << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long int A, ans, BB = 0;
cin >> A;
double B;
cin >> B;
BB = B * 100 + 0.01;
ans = A * BB / 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 | 54 |
import math
a,b=map(str,input().split())
c=int(a)
e=b.replace('.','')
d=int(e[0])*100+int(e[1])*10+int(e[2])
print(math.floor(c*d/100)) | import math
a,b=map(str,input().split())
c=int(a)
e=b.replace('.','')
d=int(e[0])*100+int(e[1])*10+int(e[2])
print(c*d//100)
| [["-", 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], ["-", 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 | 79 |
a, b = input().strip().split()
a, b = [int(a), float(b)]
ans = int(a * b * 100 // 100)
# ans = int(a * b)
print(ans)
| a, b = input().strip().split()
a, b = [int(a), float(b)]
ans = int(a * round(b * 100) // 100)
# ans = int(a * b)
print(ans)
| [["+", 3, 4, 0, 657, 31, 657, 12, 652, 63, 22], ["+", 0, 657, 31, 657, 12, 652, 3, 4, 0, 24], ["+", 0, 657, 31, 657, 12, 652, 3, 4, 0, 25]] | 5 | 47 |
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < n; i++)
using P = pair<int, int>;
/* 大文字を小文字に変換 */
char tolower(char c) { return (c + 0x20); }
/* 小文字を大文字に変換 */
char toupr(char c) { return (c - 0x20); }
// if('A'<=s[i] && s[i]<='Z') s[i] += ... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < n; i++)
using P = pair<int, int>;
/* 大文字を小文字に変換 */
char tolower(char c) { return (c + 0x20); }
/* 小文字を大文字に変換 */
char toupr(char c) { return (c - 0x20); }
// if('A'<=s[i] && s[i]<='Z') s[i] += ... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 105 |
//#include <tourist>
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> p;
const int INF = 1e9;
const ll LINF = ll(1e18);
const int MOD = 1000000007;
const int dx[4] = {0, 1, 0, -1}, dy[4] = {-1, 0, 1, 0};
const int Dx[8] = {0, 1, 1, 1, 0, -1, -1, -1},
Dy[8] = {-1, -1, 0,... | //#include <tourist>
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> p;
const int INF = 1e9;
const ll LINF = ll(1e18);
const int MOD = 1000000007;
const int dx[4] = {0, 1, 0, -1}, dy[4] = {-1, 0, 1, 0};
const int Dx[8] = {0, 1, 1, 1, 0, -1, -1, -1},
Dy[8] = {-1, -1, 0,... | [["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 24], ["+", 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 | 338 |
#include <bits/stdc++.h>
#define ll long long int
#define ld long double
#define pb push_back
#define ss second
#define ff first
#define INF 300000000000001
#define ll_max 1000000000000000000
#define mod 998244353
#define PI 3.14159265358979323846L
#define fast ... | #include <bits/stdc++.h>
#define ll long long int
#define ld long double
#define pb push_back
#define ss second
#define ff first
#define INF 300000000000001
#define ll_max 1000000000000000000
#define mod 998244353
#define PI 3.14159265358979323846L
#define fast ... | [["+", 0, 11, 12, 16, 31, 23, 0, 16, 17, 72], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 12, 13], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 596 |
a, b = input().split()
a = int(a)
b = int(float(b) * 100)
ans = a*b
print(ans//100) | a, b = input().split()
a = int(a)
b = int(float(b) * 100 + 0.5)
ans = a*b
print(ans//100) | [["+", 0, 662, 12, 652, 3, 4, 0, 657, 17, 72], ["+", 0, 662, 12, 652, 3, 4, 0, 657, 12, 531]] | 5 | 39 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
// 浮動小数点として受け取った数に何か操作をすると基本的に誤差が発生する。
int main() {
ll a;
double b;
cin >> a >> b;
// 小数 -> 整数に変換する。
ll t = b * 100 + 0.5;
ll ans = (a * t + 0.1) / 100;
cout << ans << endl;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
// 浮動小数点として受け取った数に何か操作をすると基本的に誤差が発生する。
int main() {
ll a;
double b;
cin >> a >> b;
// 小数 -> 整数に変換する。
ll t = b * 100 + 0.5;
ll ans = (a * t) / 100;
cout << ans << endl;
} | [["-", 49, 50, 51, 16, 31, 23, 0, 16, 17, 72], ["-", 49, 50, 51, 16, 31, 23, 0, 16, 12, 13]] | 1 | 59 |
#include <bits/stdc++.h>
using namespace std;
#define llt long long int
#define modm 1000000007
int main() {
llt n;
float m;
string s;
cin >> n >> m;
llt ans = n * (llt)m * 100;
cout << ans / 100 << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define llt long long int
#define modm 1000000007
int main() {
llt n;
float m;
string s;
cin >> n >> m;
llt ans = n * (llt)round(m * 100);
cout << ans / 100 << endl;
} | [["+", 49, 50, 51, 16, 12, 74, 51, 2, 63, 22], ["+", 51, 16, 12, 74, 51, 2, 3, 4, 0, 24], ["+", 51, 16, 12, 74, 51, 2, 3, 4, 0, 25]] | 1 | 53 |
import math
A, B = list(map(decimal, input().split()))
print(math.floor(A*B)) | import math
from decimal import *
A, B = list(map(Decimal, input().split()))
print(math.floor(A*B)) | [["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 314], ["+", 36, 36, 0, 656, 0, 686, 687, 673, 0, 22], ["+", 36, 36, 36, 36, 0, 656, 0, 686, 0, 487], ["+", 36, 36, 0, 656, 0, 686, 0, 690, 0, 48], ["-", 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;
int main() {
long long a;
float b;
cin >> a;
cin >> b;
long long c = (b + 0.5) * 100;
cout << (a * c) / 100;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a;
float b;
cin >> a;
cin >> b;
long long c = (b * 100 + 0.5);
cout << (a * c) / 100;
return 0;
}
| [["+", 49, 50, 51, 23, 0, 16, 31, 16, 17, 48], ["+", 49, 50, 51, 23, 0, 16, 31, 16, 12, 13], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 17, 48], ["-", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 52 |
#include <cmath>
#include <iostream>
using namespace std;
int main() {
long A;
double B;
cin >> A >> B;
long C = A * round(B * 100);
cout << C / 100;
return 0;
} | #include <cmath>
#include <iostream>
using namespace std;
int main() {
long A;
double B;
cin >> A >> B;
long C = A * (int)round(B * 100);
cout << C / 100;
return 0;
} | [["+", 0, 43, 49, 50, 51, 16, 12, 74, 0, 24], ["+", 49, 50, 51, 16, 12, 74, 39, 77, 39, 40], ["+", 0, 43, 49, 50, 51, 16, 12, 74, 0, 25]] | 1 | 47 |
#include <bits/stdc++.h>
using namespace std;
static_assert(LDBL_MANT_DIG >= 64);
int main() {
int64_t A;
long double B;
cin >> A >> B;
int64_t b = (int64_t)(B * 100.0L);
cout << A * b / 100 << endl;
}
| #include <bits/stdc++.h>
using namespace std;
static_assert(LDBL_MANT_DIG >= 64);
int main() {
int64_t A;
long double B;
cin >> A >> B;
int64_t b = (int64_t)(B * 100.0L + 0.5);
cout << A * (b) / 100 << endl;
}
| [["+", 49, 50, 51, 74, 51, 23, 0, 16, 17, 72], ["+", 49, 50, 51, 74, 51, 23, 0, 16, 12, 13], ["+", 31, 16, 12, 16, 31, 16, 12, 23, 0, 24], ["+", 31, 16, 12, 16, 31, 16, 12, 23, 0, 25]] | 1 | 54 |
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <climits>
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <deque> // deque
#include <functional>
#incl... | #include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <climits>
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <deque> // deque
#include <functional>
#incl... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 120 |
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <climits>
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <deque> // deque
#include <functional>
#incl... | #include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <climits>
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <deque> // deque
#include <functional>
#incl... | [["+", 0, 1, 0, 16, 12, 2, 63, 23, 0, 24], ["+", 0, 1, 0, 16, 12, 2, 63, 23, 0, 22], ["+", 0, 1, 0, 16, 12, 2, 63, 23, 0, 25], ["+", 0, 1, 0, 16, 12, 2, 3, 4, 0, 24], ["+", 0, 1, 0, 16, 12, 2, 3, 4, 0, 25]] | 1 | 112 |
#include <iostream>
using namespace std;
typedef long long ll;
int main() {
ll a;
double b;
cin >> a >> b;
if (a == 0 || b == 0.00) {
cout << 0 << endl;
return 0;
}
ll b2 = b * 100;
ll ans = a * b2 / 100;
cout << ans << endl;
}
| #include <iostream>
using namespace std;
typedef long long ll;
int main() {
ll a;
double b;
cin >> a >> b;
if (a == 0 || b == 0.00) {
cout << 0 << endl;
return 0;
}
ll b2 = b * 100 + 0.5;
ll ans = a * b2 / 100;
cout << ans << endl;
}
| [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 72 |
require 'bigdecimal'
puts gets.chomp.split.map{|e|BigDecimal(e)}.inject(&:*).ceil | require 'bigdecimal'
puts gets.chomp.split.map{|e|BigDecimal(e)}.inject(&:*).floor | [["-", 0, 493, 0, 652, 3, 4, 0, 652, 735, 22], ["+", 0, 493, 0, 652, 3, 4, 0, 652, 735, 22]] | 4 | 29 |
#include <bits/stdc++.h>
#define PI 3.14159265359
using namespace std;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
const long long INF... | #include <bits/stdc++.h>
#define PI 3.14159265359
using namespace std;
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
const long long INF... | [["-", 31, 16, 12, 74, 51, 23, 0, 16, 12, 13], ["+", 31, 16, 12, 74, 51, 23, 0, 16, 12, 13]] | 1 | 155 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll a;
string b;
cin >> a >> b;
int bi = (b[3] - '0') * 100 + (b[2] - '0') * 10 + (b[0] - '0');
// cout<<bi<<endl;
// cout<<a<<"\n"<<b<<endl;
cout << (a * bi) / 100;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll a;
string b;
cin >> a >> b;
int bi = (b[0] - '0') * 100 + (b[2] - '0') * 10 + (b[3] - '0');
// cout<<bi<<endl;
// cout<<a<<"\n"<<b<<endl;
cout << (a * bi) / 100;
return 0;
} | [["-", 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 | 84 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
const ll int MOD = 1e9 + 7;
void solve() {
ll a;
double b;
cin >> a >> b;
int c = b * 100;
cout << fixed;
cout << (ll)(a * c) / 100 << endl;
}
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0)... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
const ll int MOD = 1e9 + 7;
void solve() {
ll a;
double b;
cin >> a >> b;
int c = round(b * 100);
cout << fixed;
cout << (ll)(a * c) / 100 << endl;
}
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout... | [["+", 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 | 99 |
// Tanzim bin nasir
#include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, c;
double b;
cin >> a >> b;
c = b * 100;
cout << (a * c) / 100 << endl;
return 0;
}
| // Tanzim bin nasir
#include <bits/stdc++.h>
using namespace std;
int main() {
long long int a, c;
double b;
cin >> a >> b;
c = b * 100 + 0.5;
cout << (a * c) / 100 << endl;
return 0;
}
| [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 72], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 50 |
/* ꧁༒☬महाकाल☬༒꧂ ꧁༒ঔमहाकालঔ༒꧂
ঔৣमहाकालᴳᵒᵈঔৣ
*/
#include <bits/stdc++.h>
using namespace std;
//#include <ext/pb_ds/assoc_container.hpp>
//#include <ext/pb_ds/tree_policy.hpp>
// using namespace __gnu_pbds;
// template <typename T, typename cmp=less<T>> using oset =tree<T, null_type,
// cmp, rb_... | /* ꧁༒☬महाकाल☬༒꧂ ꧁༒ঔमहाकालঔ༒꧂
ঔৣमहाकालᴳᵒᵈঔৣ
*/
#include <bits/stdc++.h>
using namespace std;
//#include <ext/pb_ds/assoc_container.hpp>
//#include <ext/pb_ds/tree_policy.hpp>
// using namespace __gnu_pbds;
// template <typename T, typename cmp=less<T>> using oset =tree<T, null_type,
// cmp, rb_... | [["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13]] | 1 | 167 |
a,b=list(map(float, input().split()))
a=int(a)
b=int(b*100)
print((a*b)//100) | a,b=list(map(float, input().split()))
a=int(a)
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 | 43 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
scanf("%lld %lld.%lld", a, b, c);
long long sum = a * (b * 100 + c) / 100;
cout << sum;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
scanf("%lld %lld.%lld", &a, &b, &c);
long long sum = a * (b * 100 + c) / 100;
cout << sum;
}
| [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 1 | 53 |
#include <algorithm>
#include <cfloat>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
#define ll long long
#define rep(i, n) for (lon... | #include <algorithm>
#include <cfloat>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
#define ll long long
#define rep(i, n) for (lon... | [["+", 8, 9, 0, 1, 0, 11, 12, 2, 63, 22], ["-", 0, 1, 0, 11, 12, 23, 0, 16, 12, 22], ["+", 0, 11, 12, 2, 3, 4, 0, 16, 12, 13]] | 1 | 93 |
#include <algorithm>
#include <cfloat>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
#define ll long long
#define rep(i, n) for (lon... | #include <algorithm>
#include <cfloat>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
#define ll long long
#define rep(i, n) for (lon... | [["-", 8, 9, 0, 1, 0, 11, 12, 23, 0, 24], ["-", 0, 1, 0, 11, 12, 23, 0, 16, 12, 22], ["-", 8, 9, 0, 1, 0, 11, 12, 23, 0, 25], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 1 | 93 |
#include <cstdio>
int main() {
long a, b, c;
scanf("%ld %ld %ld", &a, &b, &c);
printf("%ld\n", a * (b * 100 + c) / 100);
} | #include <cstdio>
int main() {
long a, b, c;
scanf("%ld %ld.%ld", &a, &b, &c);
printf("%ld\n", a * (b * 100 + c) / 100);
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 51 |
#include <stdio.h>
int main() {
long long a, b, c;
scanf("%lld %lld %lld", &a, &b, &c);
printf("%lld\n", (a * (100 * b + c)) / 100);
return 0;
} | #include <stdio.h>
int main() {
long long a, b, c;
scanf("%lld %lld.%lld", &a, &b, &c);
printf("%lld\n", (a * (100 * b + c)) / 100);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 57 |
from math import floor
from decimal import Decimal
A, B = list(map(float, input().split()))
ans = int(A) * Decimal(B)
print(floor(ans)) | from math import floor
from decimal import Decimal
A, B = list(input().split())
ans = int(A) * Decimal(B)
print(floor(ans)) | [["-", 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, 22], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 21], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 45 |
/*
Reference:-
*/
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define F first
#define S second
#define forn(i, n) for (int i = 0; i < int(n); i++)
#define forn1(i, n) for (int i = 1; i < int(n); i++)
#define PI pair<int, int>
#define all(vec) vec.begin(), vec.end()
ll mod =... | /*
Reference:-
*/
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define F first
#define S second
#define forn(i, n) for (int i = 0; i < int(n); i++)
#define forn1(i, n) for (int i = 1; i < int(n); i++)
#define PI pair<int, int>
#define all(vec) vec.begin(), vec.end()
ll mod =... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["-", 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], ["-", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 49, 22], ["-", 8, 9, 0, 43, 49, 50, ... | 1 | 188 |
#include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <string.h>
#include <vector>
typedef long long LL;
const long long INF = 1LL << 60;
using namespace std;
int main() {
LL A;
cin >> A;
double B;
cin >> B;
double C = B * 100 + 0.5;
A *= C;
A /= 100;
cout << A << en... | #include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <string.h>
#include <vector>
typedef long long LL;
const long long INF = 1LL << 60;
using namespace std;
int main() {
LL A;
cin >> A;
double B;
cin >> B;
int C = B * 100 + 0.5;
A *= C;
A /= 100;
cout << A << endl;... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 76 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.