problem_id stringlengths 6 6 | buggy_code stringlengths 8 526k | fixed_code stringlengths 12 526k | labels listlengths 0 15 ⌀ | buggy_submission_id int64 1 1.54M | fixed_submission_id int64 2 1.54M | user_id stringlengths 10 10 | language stringclasses 8
values |
|---|---|---|---|---|---|---|---|
p02659 | s = input().split()
A = int(s[0])
B = float(s[1])
B100 = int(B * 100)
print(int(A * B100) // 100) | s = input().split()
A = int(s[0])
B = float(s[1])
B100 = int(B * 1000)
print(A * B100 // 1000)
| [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,307 | 380,306 | u788717734 | python |
p02659 | a, b = input().strip().split()
a = int(a)
b100 = int(float(b) * 100.)
ans = int(a * b100//100)
print(ans) | a, b = input().strip().split()
a = int(a)
b100 = int(float(b) * 100. + 0.5)
ans = int(a * b100//100)
print(ans) | [
"assignment.change"
] | 380,308 | 380,309 | u023100857 | python |
p02659 | import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians, acos, atan, asin, log, log10, gcd, floor
from itertools import permutations, combinations, product, accumulate, combinations_with_replacement
from operator import itemgetter, mul
... | import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians, acos, atan, asin, log, log10, gcd, floor
from itertools import permutations, combinations, product, accumulate, combinations_with_replacement
from operator import itemgetter, mul
... | [
"call.add",
"call.arguments.change"
] | 380,310 | 380,311 | u287500079 | python |
p02659 | A,B = map(float,input().split())
print(int(A*B))
| from decimal import Decimal
A,B = map(Decimal,input().split())
print(int(A*B)) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 380,312 | 380,313 | u747602774 | python |
p02659 | A,B = map(float,input().split())
print(int(A*B))
| from decimal import Decimal
A,B = map(Decimal,input().split())
print(int(A*B))
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 380,312 | 380,314 | u747602774 | python |
p02659 | # coding: utf-8
import sys
sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))
A, B = sr().split()
A = int(A); B = int(float(B) * 100)
answer = int(A*B)//100
print(answer)
| # coding: utf-8
import sys
sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))
A, B = sr().split()
A = int(A)
B = int(float(B) * 1000)
answer = int(A*B)//1000
print(answer)
| [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 380,339 | 380,340 | u600402037 | python |
p02659 | # coding: utf-8
import sys
sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))
A, B = sr().split()
A = int(A); B = int(float(B) * 100)
answer = int(A*B//100)
print(answer)
| # coding: utf-8
import sys
sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))
A, B = sr().split()
A = int(A)
B = int(float(B) * 1000)
answer = int(A*B)//1000
print(answer)
| [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 380,341 | 380,340 | u600402037 | python |
p02659 | import math
A,B=map(float, input().split())
A=int(A)
B=100*B
a=math.ceil(A*B//100)
print(a) | import math
A,B=map(float, input().split())
A=int(A)
B=round(100*B)
a=(A*B//100)
print(a) | [
"call.add",
"call.arguments.change"
] | 380,342 | 380,343 | u585963734 | python |
p02659 | A,B=map(float, input().split())
A=int(A)
B=100*B
a=int(A*B//100)
print(a) | import math
A,B=map(float, input().split())
A=int(A)
B=round(100*B)
a=(A*B//100)
print(a) | [
"call.add",
"call.arguments.change"
] | 380,344 | 380,343 | u585963734 | python |
p02659 | import math
A,B=map(float, input().split())
A=int(A)
B=100*B
a=math.ceil(A*B//100)
print(a) | import math
A,B=map(float, input().split())
A=int(A)
B=round(100*B)
a=(A*B//100)
print(a) | [
"call.add",
"call.arguments.change"
] | 380,342 | 380,345 | u585963734 | python |
p02659 | A,B=map(float, input().split())
A=int(A)
B=100*B
a=int(A*B//100)
print(a) | import math
A,B=map(float, input().split())
A=int(A)
B=round(100*B)
a=(A*B//100)
print(a) | [
"call.add",
"call.arguments.change"
] | 380,344 | 380,345 | u585963734 | python |
p02659 | A,B=input().split()
print(int(int(A)*int(B[:1]+B[-2:])/100)) | A,B=input().split()
print(int(A)*int(B[:1]+B[-2:])//100) | [
"call.arguments.change",
"expression.operator.arithmetic.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,353 | 380,354 | u571281863 | python |
p02659 | def solve() :
a, b = input().split()
a = int(a)
b = b.replace('.', '')
b100 = int(b[0])*100 + int(b[1])*10 + int(b[2])
print(b100)
print(a*b100//100)
return
if __name__ == "__main__" :
solve() | def solve() :
a, b = input().split()
a = int(a)
b = b.replace('.', '')
b100 = int(b[0])*100 + int(b[1])*10 + int(b[2])
print(a*b100//100)
return
if __name__ == "__main__" :
solve() | [
"call.remove"
] | 380,357 | 380,358 | u973475508 | python |
p02659 | import math
from decimal import Decimal
n=input().split()
a = int(n[0])
b=Decimal(n[1])
ans = a*b
print(ans)
| import math
from decimal import Decimal
n=input().split()
a = int(n[0])
b=Decimal(n[1])
ans = a*b
print(int(ans))
| [
"call.arguments.add",
"call.arguments.change"
] | 380,367 | 380,368 | u559250296 | python |
p02659 | x = input().split()
a = int(x[0])
b = float(x[1])
ans = int(a*b)
print(ans) | from decimal import *
x = input().split()
a = Decimal(x[0])
b = Decimal(x[1])
ans = int(a*b)
print(ans) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 380,379 | 380,380 | u457437854 | python |
p02659 | from decimal import Decimal as de
a,b=map(float,input().split())
print(int(de(a)*de(b)))
| from decimal import Decimal as de
a,b=input().split()
print(int(de(a)*de(b)))
| [
"call.remove",
"call.arguments.change"
] | 380,388 | 380,389 | u297089927 | python |
p02659 | import math
from decimal import *
a,b = map(float, input().split())
a = Decimal(a)
b = Decimal(b)
b = b*100
ans = a*b
#Decimal(ans)
#ans_i = math.floor(a*b_i)
# ans = math.floor(Decimal(a)*Decimal(b))
print(ans//100)
| import math
from decimal import *
a,b = map(float, input().split())
a = Decimal(a)
b = Decimal(b)
b = b*100
b = round(b)
ans = a*b
print(ans//100)
| [
"assignment.add"
] | 380,402 | 380,403 | u694422786 | python |
p02659 | a, b = input().split()
a = int(a)
b = int(100*float(b))
print((a*b)//100) | a, b = input().split()
a = int(a)
b = round(100*float(b))
print((a*b)//100)
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 380,404 | 380,405 | u469936642 | python |
p02659 | A, B = map(str, input().split())
A = int(A)
B = float(B)
if A==0:
print('0')
exit()
print((A * int(B*100) )// 100) | A, B = map(str, input().split())
A = int(A)
B = float(B)
if A==0:
print('0')
exit()
print((A * int(B*1000) )// 1000) | [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,408 | 380,409 | u540166312 | python |
p02659 | #!/usr/bin/env python3
import sys
input = sys.stdin.readline
def IS(cb): return cb(input().strip())
def IL(cb): return [cb(s) for s in input().strip().split()]
def IR(cb, rows): return [IS(cb) for _ in range(rows)]
def ILL(cb, rows): return [IL(cb) for _ in range(rows)]
def solve():
ss = input().strip().split()... | #!/usr/bin/env python3
import sys
input = sys.stdin.readline
def IS(cb): return cb(input().strip())
def IL(cb): return [cb(s) for s in input().strip().split()]
def IR(cb, rows): return [IS(cb) for _ in range(rows)]
def ILL(cb, rows): return [IL(cb) for _ in range(rows)]
def solve():
ss = input().strip().split()... | [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,410 | 380,411 | u470936782 | python |
p02659 | ###############################################################################
#Imports
import collections
import itertools
from functools import lru_cache
import sys
import math
###############################################################################
#Constants
MOD = int(1e9)+7
################################... | ###############################################################################
#Imports
import collections
import itertools
from functools import lru_cache
import sys
import math
from decimal import Decimal
###############################################################################
#Constants
MOD = int(1e9)+7
####... | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 380,426 | 380,427 | u960573407 | python |
p02659 | ###############################################################################
#Imports
import collections
import itertools
from functools import lru_cache
import sys
import math
###############################################################################
#Constants
MOD = int(1e9)+7
################################... | ###############################################################################
#Imports
import collections
import itertools
from functools import lru_cache
import sys
import math
from decimal import Decimal
###############################################################################
#Constants
MOD = int(1e9)+7
####... | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 380,428 | 380,427 | u960573407 | python |
p02659 | a, b = input().split()
a = int( a )
b = int( 100 * float( b ) )
m = a * b
m = m // 100
print( m ) | a, b = input().split()
a = int( a )
b = int( 1000 * float( b ) )
m = a * b
m = m // 1000
print( m ) | [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 380,441 | 380,442 | u836004075 | python |
p02659 | a,b = input().split()
a = int(a)
b = b.replace('.','')
b = int(b)
print(int(a*b/100)) | a,b = input().split()
a = int(a)
b = b.replace('.','')
b = int(b)
print(a*b//100) | [
"call.arguments.change",
"expression.operator.arithmetic.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,452 | 380,453 | u550943777 | python |
p02659 | import math
a,b=map(float,input().split())
print(math.floor(a)*math.floor(b*100)//100)
| import math
a,b=map(float,input().split())
print(math.floor(a)*math.floor(b*1000)//1000)
| [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,465 | 380,466 | u903460784 | python |
p02659 | import math
a,b=input().split()
tmp = float(b)*100
ans = int(a) * int(math.floor(tmp))
#print(ans)
ans = str(ans)
l = len(ans)
if l < 3:
print(int(0))
else:
print(int(ans[:l-2])) | import math
a,b=input().split()
tmp = float(b)*1000
#print(int(int(a)*float(b)))
ans = int(a) * int(math.floor(tmp))
#print(ans)
ans = str(ans)
l = len(ans)
if l < 3:
print(int(0))
else:
print(int(ans[:l-3])) | [
"literal.number.integer.change",
"assignment.value.change",
"expression.operation.binary.change",
"variable_access.subscript.index.change",
"call.arguments.change",
"io.output.change"
] | 380,467 | 380,468 | u630554891 | python |
p02659 | import math
a,b=input().split()
tmp = float(b)*100
ans = int(a) * int(math.floor(tmp))
#print(ans)
ans = str(ans)
l = len(ans)
if l < 3:
print(0)
else:
print(int(ans[:l-2])) | import math
a,b=input().split()
tmp = float(b)*1000
#print(int(int(a)*float(b)))
ans = int(a) * int(math.floor(tmp))
#print(ans)
ans = str(ans)
l = len(ans)
if l < 3:
print(int(0))
else:
print(int(ans[:l-3])) | [
"literal.number.integer.change",
"assignment.value.change",
"expression.operation.binary.change",
"call.add",
"call.arguments.change",
"variable_access.subscript.index.change",
"io.output.change"
] | 380,469 | 380,468 | u630554891 | python |
p02659 | 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*1000)
print ((A*B)//1000) | [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,472 | 380,473 | u685684561 | python |
p02659 | #!/usr/bin/env python3
import sys
import math
def solve(A: int, B: float):
# b_i = int((B - int(B))*100)
# print(b_i)
# b = int((A*b_i)//100)
# a = A*int(B) + b
# # print(b)
# print(a)
print(A*int(B*100)//100)
return
# Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-to... | #!/usr/bin/env python3
import sys
def solve(A: int, B: float):
# b_i = int((B - int(B))*100)
# print(b_i)
# b = int((A*b_i)//100)
# a = A*int(B) + b
# # print(b)
# print(a)
print(A*int(B*1000)//1000)
return
# Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools (tips... | [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,479 | 380,480 | u166727624 | python |
p02659 | import sys
#input = sys.stdin.readline
from decimal import Decimal
"""
"""
a, b = map(float, input().split())
print(int(a*b))
| import sys
#input = sys.stdin.readline
from fractions import Fraction
"""
"""
a, b = map(Fraction, input().split())
print(int(a*b)) | [
"identifier.change",
"literal.string.change",
"assignment.value.change",
"call.arguments.change"
] | 380,487 | 380,488 | u585532831 | python |
p02659 | a, b = map(str, input().split())
a = int(a)
b = int(b.replace('.', ''))
print(a*b%100) | a, b = map(str, input().split())
a = int(a)
b = int(b.replace('.', ''))
print(a*b//100) | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,491 | 380,492 | u955474478 | python |
p02659 | import math
l = input().split()
a = int(l[0])
b = float(l[1])
print(math.floor(a*b))
| import math
from decimal import Decimal
l = input().split()
a = int(l[0])
b = Decimal(l[1])
print(math.floor(a*b))
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 380,505 | 380,506 | u064289606 | python |
p02659 | a, b = input().split()
a = int(a)
b = int(100*float(b))
print(int((a * b) // 100))
| a, b = input().split()
a = int(a)
b = int(1000*float(b))
print(int((a * b) // 1000))
| [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,510 | 380,511 | u353402627 | python |
p02659 | #!/usr/bin/env python3
# n,m = map(int,sys.stdin.readline().split())
# a = tuple(map(int,sys.stdin.readline().split())) # single line with multi param
# a = tuple(sys.stdin.readline() for _ in range(n)) # multi line with single param
# a = tuple(tuple(map(int,sys.stdin.readline().rstrip().split())) for _ in range(N)) #... | #!/usr/bin/env python3
# n,m = map(int,sys.stdin.readline().split())
# a = tuple(map(int,sys.stdin.readline().split())) # single line with multi param
# a = tuple(sys.stdin.readline() for _ in range(n)) # multi line with single param
# a = tuple(tuple(map(int,sys.stdin.readline().rstrip().split())) for _ in range(N)) #... | [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,522 | 380,523 | u829796346 | python |
p02659 | import math
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
r = list(map(float,input().split()))
x = Decimal(str(r[1])).quantize(Decimal('0'),rounding=ROUND_HALF_UP)
y = Decimal(str(r[1])).quantize(Decimal('0.01'),rounding=ROUND_HALF_UP)
z = x * y
z = math.floor(z)
print(z) | import math
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
r = list(map(float,input().split()))
x = Decimal(str(r[0])).quantize(Decimal('0'),rounding=ROUND_HALF_UP)
y = Decimal(str(r[1])).quantize(Decimal('0.01'),rounding=ROUND_HALF_UP)
z = x * y
z = math.floor(z)
print(z) | [
"literal.number.integer.change",
"assignment.value.change",
"variable_access.subscript.index.change",
"call.arguments.change"
] | 380,524 | 380,525 | u883674141 | python |
p02659 | 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 = round(B * 100)
print(a * b // 100) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 380,526 | 380,527 | u150664457 | python |
p02659 | from decimal import Decimal
a, b = map(str,input().split())
c = Decimal(a)
d = Decimal(b)
e = c * d
print(e)
| from decimal import Decimal
a, b = map(str,input().split())
c = Decimal(a)
d = Decimal(b)
e = c * d
print(int(e)) | [
"call.arguments.add",
"call.arguments.change"
] | 380,532 | 380,533 | u770558697 | python |
p02659 | import math
a = input().split()
s1 = a[0]
s2 = a[1]
num1 = int(s1)
num2 = int(s[0])*100 + int(s[2]+s[3])
print((num1*num2)//100) | a = input().split()
s1 = a[0]
s2 = a[1]
num1 = int(s1)
num2 = int(s2[0])*100 + int(s2[2]+s2[3])
print((num1*num2)//100) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 380,534 | 380,535 | u545689847 | python |
p02659 | from decimal import Decimal, ROUND_FLOOR
a, b = input().split()
a = int(a)
b = float(b)
ans = a * b
val_floor_d = Decimal(ans).quantize(Decimal('0'), rounding=ROUND_FLOOR)
print(val_floor_d) | from decimal import Decimal, ROUND_FLOOR
a, b = input().split()
a = int(a)
b = Decimal(b)
ans = a * b
val_floor_d = ans.quantize(Decimal('0'), rounding=ROUND_FLOOR)
print(val_floor_d) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.remove",
"call.arguments.change"
] | 380,550 | 380,551 | u540746268 | python |
p02659 | from decimal import Decimal, ROUND_FLOOR
a, b = input().split()
a = float(a)
b = float(b)
ans = a * b
val_floor_d = Decimal(ans).quantize(Decimal('0'), rounding=ROUND_FLOOR)
print(val_floor_d) | from decimal import Decimal, ROUND_FLOOR
a, b = input().split()
a = int(a)
b = Decimal(b)
ans = a * b
val_floor_d = ans.quantize(Decimal('0'), rounding=ROUND_FLOOR)
print(val_floor_d) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.remove",
"call.arguments.change"
] | 380,552 | 380,551 | u540746268 | python |
p02659 | from decimal import Decimal, ROUND_FLOOR
a, b = input().split()
a = float(a)
b = float(b)
ans = a * b
val_floor_d = Decimal(ans).quantize(Decimal('1'), rounding=ROUND_FLOOR)
print(val_floor_d) | from decimal import Decimal, ROUND_FLOOR
a, b = input().split()
a = int(a)
b = Decimal(b)
ans = a * b
val_floor_d = ans.quantize(Decimal('0'), rounding=ROUND_FLOOR)
print(val_floor_d) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.remove",
"call.arguments.change",
"literal.string.change"
] | 380,553 | 380,551 | u540746268 | python |
p02659 | from decimal import Decimal, ROUND_FLOOR
a, b = input().split()
a = float(a)
b = float(b)
ans=a*b
val_floor_d = Decimal(ans).quantize(Decimal('1'), rounding=ROUND_FLOOR)
print(val_floor_d) | from decimal import Decimal, ROUND_FLOOR
a, b = input().split()
a = int(a)
b = Decimal(b)
ans = a * b
val_floor_d = ans.quantize(Decimal('0'), rounding=ROUND_FLOOR)
print(val_floor_d) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.remove",
"call.arguments.change",
"literal.string.change"
] | 380,554 | 380,551 | u540746268 | python |
p02659 | A,B=input().split()
tmpA = int(A)
tmpB = int(float(B)*100.0)
ans = str(tmpA*tmpB)
ans=ans[:len(ans)-2]
if len(ans)==0:
ans=0
print(ans)
| A,B=input().split()
tmpA = int(A)
tmpB = int(float(B)*100.0+0.5)
ans = str(tmpA*tmpB)
ans=ans[:len(ans)-2]
if len(ans)==0:
ans=0
print(ans)
| [
"assignment.change"
] | 380,555 | 380,556 | u112114596 | python |
p02659 | A,B=input().split()
tmpA = int(A)
tmpB = int(float(B)*100)
ans = str(tmpA*tmpB)
ans=ans[:len(ans)-2]
if len(ans)==0:
ans=0
print(ans) | A,B=input().split()
tmpA = int(A)
tmpB = int(float(B)*100.0+0.5)
ans = str(tmpA*tmpB)
ans=ans[:len(ans)-2]
if len(ans)==0:
ans=0
print(ans)
| [
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 380,557 | 380,556 | u112114596 | python |
p02659 | a, b = input().split()
A = int(a)
B = float(b)
B100 = int(100*B)
C=A*B100
print(str(C//100)) | a, b = input().split()
A = int(a)
B = float(b)
B100 = round(100*B)
C=A*B100
print(str(C//100)) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 380,566 | 380,567 | u155604571 | python |
p02659 | a, b = input().split()
A = int(a)
B = float(b)
B100 = int(100*B)
C=A*B100
print(C//100) | a, b = input().split()
A = int(a)
B = float(b)
B100 = round(100*B)
C=A*B100
print(str(C//100)) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.add",
"call.arguments.change"
] | 380,568 | 380,567 | u155604571 | python |
p02659 | import math
a, b = input().split()
A = int(a)
B = float(b)
B100 = int(100*B)
C=A*B100
print(C//100) | a, b = input().split()
A = int(a)
B = float(b)
B100 = round(100*B)
C=A*B100
print(str(C//100)) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.add",
"call.arguments.change"
] | 380,569 | 380,567 | u155604571 | python |
p02659 | a, b = input().split()
A = int(a)
B = float(b)
B100=int(100*B)
C=A*B100
print(C//100) | a, b = input().split()
A = int(a)
B = float(b)
B100 = round(100*B)
C=A*B100
print(str(C//100)) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.add",
"call.arguments.change"
] | 380,570 | 380,567 | u155604571 | python |
p02659 | import math
line = input().rstrip()
line = line.split(' ')
A = int(line[0])
B = line[1].split('.')
if len(B) == 1:
B = int(B[0]) * 100
elif len(B[1]) == 1:
B = int(B[0]) * 100 + int(B[1]) * 10
else:
B = int(B[0]) * 100 + int(B[1])
C = A * B / 100
print(math.floor(C))
| import math
line = input().rstrip()
line = line.split(' ')
A = int(line[0])
B = line[1].split('.')
if len(B) == 1:
B = int(B[0]) * 100
elif len(B[1]) == 1:
B = int(B[0]) * 100 + int(B[1]) * 10
else:
B = int(B[0]) * 100 + int(B[1])
C = A * B // 100
print(C) | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change",
"call.remove",
"call.arguments.change"
] | 380,575 | 380,576 | u015416155 | python |
p02659 | a, b = input().split()
x = int(a)
y = float(b)
print(int(x*y))
| from decimal import Decimal
a, b = input().split()
x = Decimal(a)
y = Decimal(b)
print(int(x*y))
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 380,583 | 380,584 | u165436807 | python |
p02659 | a,b = map(float, input().split())
a=int(a)
#print(a)
b2=int(b*100)
#print(b2)
ans=a*b2
#print(ans)
ans=int(ans/100)
print(ans)
| from decimal import *
a,b = map(Decimal, input().split())
a=int(a)
#print(a)
b2=int(b*100)
#print(b2)
ans=a*b2
#print(ans)
ans=int(ans//100)
print(ans)
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 380,586 | 380,587 | u303037478 | python |
p02659 | import math
a, b = input().split()
a = int(a)
b = float(b)
print(math.floor(a*b)) | import math
from decimal import Decimal
a, b = input().split()
a = Decimal(a)
b = Decimal(b)
print(math.floor(a*b)) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 380,590 | 380,591 | u270144704 | python |
p02659 | import math
a, b = map(float, input().split())
print(math.floor(a*b)) | import math
import decimal
a, b = map(decimal.Decimal, input().split())
print(math.floor(a*b)) | [
"assignment.value.change",
"call.arguments.change"
] | 380,594 | 380,595 | u185517559 | python |
p02659 | import math
A,B=input().split()
print(math.floor(int(A)*float(B))) |
import math
from decimal import *
A,B=input().split()
print(math.floor(Decimal(A)*Decimal(B)))
| [
"identifier.change",
"call.function.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 380,596 | 380,597 | u189089176 | python |
p02659 | s = input().split()
a = int(s[0])
b = round(float(s[1]), 2)
print(int(a * b))
| import decimal
s = input().split()
a = int(s[0])
b = round(decimal.Decimal(s[1]), 2)
print(int(a * b))
| [
"assignment.value.change",
"call.arguments.change"
] | 380,600 | 380,601 | u067986264 | python |
p02659 | from decimal import *
getcontext().prec = 2
a,b= input().split()
d = Decimal(a)*Decimal(b)
print(Decimal(d).quantize(Decimal('0'), rounding=ROUND_DOWN)) | from decimal import *
getcontext().prec = 32
a,b= input().split()
d = Decimal(a)*Decimal(b)
print(Decimal(d).quantize(Decimal('0'), rounding=ROUND_DOWN)) | [
"literal.number.integer.change",
"assignment.value.change"
] | 380,612 | 380,613 | u975445930 | python |
p02659 | from decimal import *
getcontext().prec = 16
a,b= input().split()
d = Decimal(a)*Decimal(b)
print(Decimal(d).quantize(Decimal('0'), rounding=ROUND_DOWN)) | from decimal import *
getcontext().prec = 32
a,b= input().split()
d = Decimal(a)*Decimal(b)
print(Decimal(d).quantize(Decimal('0'), rounding=ROUND_DOWN)) | [
"literal.number.integer.change",
"assignment.value.change"
] | 380,614 | 380,613 | u975445930 | python |
p02659 | A,B = map(str, input().split())
print(int(float(A) * float(B))) | from decimal import Decimal
A,B = map(str, input().split())
print(int(Decimal(A)*Decimal(B))) | [
"identifier.change",
"call.function.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 380,624 | 380,625 | u391442102 | python |
p02659 | def cc():
a, b = map(str, input().split())
a2 = int(a)
b2 = int(b.replace('.', ''))
c = a2 * b2
ans = str(c)[0:-2] if len(c) > 2 else 0
print(ans)
if __name__ == "__main__":
cc()
| def cc():
a, b = map(str, input().split())
a2 = int(a)
b2 = int(b.replace('.', ''))
c = a2 * b2
ans = str(c)[0:-2] if len(str(c)) > 2 else 0
print(ans)
if __name__ == "__main__":
cc()
| [
"call.add",
"call.arguments.change"
] | 380,628 | 380,629 | u517910772 | python |
p02659 | import math
a,b=map(lambda x:x,input().split())
a=int(a)
b=int(float(b)*100)
print(a*b//100) | import math
a,b=map(lambda x:x,input().split())
a=int(a)
b=round(float(b)*100)
print(a*b//100) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 380,632 | 380,631 | u197300773 | python |
p02659 | import math
a,b=map(lambda x:x,input().split())
a=int(a)
b=int(float(b)*100)
print(a*b//100) | import math
a,b=map(lambda x:x,input().split())
a=int(a)
b=round(float(b)*100)
print(int(a*b//100)) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.add",
"call.arguments.change"
] | 380,632 | 380,633 | u197300773 | python |
p02659 | import math
A = list(input().split())
for i in range(2):
if i == 0:
A[i] = int(A[i])
elif i == 1:
A[i] = float(A[i])
ans = A[0] * A[1]
print(math.floor(ans)) | from decimal import Decimal
import math
A = list(input().split())
for i in range(2):
if i == 0:
A[i] = int(A[i])
elif i == 1:
A[i] = Decimal(A[i])
ans = A[0] * A[1]
print(math.floor(ans)) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 380,639 | 380,640 | u491182585 | python |
p02659 | import math
a,b=map(float,input().split())
print(math.floor(a*b))
| import math
from decimal import Decimal
a,b=map(Decimal,input().split())
print(math.floor(a*b))
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 380,643 | 380,644 | u133527491 | python |
p02659 | from decimal import *
def main():
a, b = input().split()
a = Decimal(a)
b = Decimal(b)
print(a * b)
if __name__ == "__main__":
main()
| from decimal import *
def main():
a, b = input().split()
a = Decimal(a)
b = Decimal(b)
print(int(a * b))
if __name__ == "__main__":
main()
| [
"call.arguments.add",
"call.arguments.change"
] | 380,645 | 380,646 | u135847648 | python |
p02659 | import math
a,b = [float(i) for i in input().split()]
print(math.floor(a*b)) | import math
import decimal
a,b = [decimal.Decimal(i) for i in input().split()]
print(math.floor(a*b)) | [
"assignment.value.change"
] | 380,651 | 380,652 | u274841648 | python |
p02659 | import math
a, b = input().split()
a = int(a)
n = 1
if '.' in b:
if b[-2] == '.':
n = 10
elif b[-3] == '.':
n = 100
b = b.replace('.', '')
b = int(b)
print(math.floor(a*b/n))
| import math
a, b = input().split()
a = int(a)
n = 1
if '.' in b:
if b[-2] == '.':
n = 10
elif b[-3] == '.':
n = 100
b = b.replace('.', '')
b = int(b)
print(math.floor(a*b//n))
| [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,657 | 380,658 | u097408484 | python |
p02659 | from math import floor
a,b = [e for e in input().split(" ")]
a = int(a)
b = float(b)
r = a*b
print(floor(r)) | from math import floor
from decimal import Decimal
a,b = [e for e in input().split(" ")]
a = int(a)
b = Decimal(b)
r = a*b
print(floor(r)) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 380,675 | 380,676 | u993090205 | python |
p02659 | A, B = map(float, input().split())
# A = 10 ** 15
# B = 9.99
# A = int(A)
X = float(A*B)
# print(X)
X = int(X)
# print(A)
# print(B)
print(X)
| from decimal import Decimal
A, B = map(Decimal, input().split())
# A = 10 ** 15
# B = 9.99
# A = int(A)
X = Decimal(A*B)
# print(X)
X = int(X)
# print(A)
# print(B)
print(X)
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"call.function.change"
] | 380,684 | 380,685 | u166366686 | python |
p02659 | import math
a,b = map(float, input().split())
print (math.floor(a*b))
| import math
from decimal import Decimal
a,b = map(Decimal, input().split())
print (math.floor(a*b))
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 380,692 | 380,693 | u422272120 | python |
p02659 | import math
a,b = map(float,input().split())
print (math.floor(a*b))
| import math
from decimal import Decimal
a,b = map(Decimal, input().split())
print (math.floor(a*b))
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 380,694 | 380,693 | u422272120 | python |
p02659 | import math,decimal
arr = list(input().split())
A=int(arr[0])
B=decimal.Decimal(arr[1])
C=A * B
D=math.floor(C)
print(C)
print(D) | import math,decimal
arr = list(input().split())
A=int(arr[0])
B=decimal.Decimal(arr[1])
C=A * B
D=math.floor(C)
#print(C)
print(D) | [
"call.remove"
] | 380,701 | 380,702 | u643025147 | python |
p02659 | import math
arr = list(input().split())
A=int(arr[0])
B=float(arr[1])
C=A * B
D=math.floor(C)
#print(C)
print(D) | import math,decimal
arr = list(input().split())
A=int(arr[0])
B=decimal.Decimal(arr[1])
C=A * B
D=math.floor(C)
#print(C)
print(D) | [
"assignment.value.change"
] | 380,703 | 380,702 | u643025147 | python |
p02659 | a,b = input().split()
a=int(a);b,d=map(int,b.spit('.'))
print(a*b+a*d//100) | a,b = input().split()
a=int(a);b,d=map(int,b.split('.'))
print(a*b+a*d//100) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 380,710 | 380,711 | u914802579 | python |
p02659 | import math
A,B = map(float,input().split())
A = int(A)
B = int(B * 100)
print(int((A*B)//100)) | import math
A,B = map(float,input().split())
A = int(A)
B = int(B * 1000)
print(math.floor((A*B)//1000)) | [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,729 | 380,730 | u221766194 | python |
p02659 | a,b = input().split()
print(int(int(a)*float(b))) | from decimal import Decimal
a,b = input().split()
print(int(Decimal(a) * Decimal(b))) | [
"identifier.change",
"call.function.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 380,731 | 380,732 | u408262366 | python |
p02659 | # N = int(input())
A, B = [float(i) for i in input().split()]
print(int(A*B))
| import decimal
# N = int(input())
A, B = [decimal.Decimal(i) for i in input().split()]
print(int(A*B))
| [
"assignment.value.change"
] | 380,738 | 380,739 | u504562455 | python |
p02659 | a, b = input().split()
a = int(a)
b = int(int(b[0])*100 + int(b[2])*10 + int(b[3]))
print(int(a*b / 100))
| a, b = input().split()
a = int(a)
b = int(int(b[0])*100 + int(b[2])*10 + int(b[3]))
print(a*b // 100)
| [
"call.arguments.change",
"expression.operator.arithmetic.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,752 | 380,753 | u560867850 | python |
p02659 | A, B = input().split()
B = B.replace(".", "")
A, B = map(int, [A, B])
print(int(A * B / 100)) | A, B = input().split()
B = B.replace(".", "")
A, B = map(int, [A, B])
print(A * B // 100) | [
"call.arguments.change",
"expression.operator.arithmetic.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,763 | 380,764 | u528470578 | python |
p02659 | A, B = input().split()
B = B.replace(".", "")
A, B = map(int, [A, B])
print(int(A * B / 100)) | A, B = input().split()
B = B.replace(".", "")
A, B = map(int, [A, B])
print(int(A * B // 100)) | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,763 | 380,765 | u528470578 | python |
p02659 | from decimal import *
from math import floor
A, B = map(float, input().split())
temp = Decimal(A) * Decimal(B)
print(floor(temp)) | from decimal import *
from math import floor
A, B = map(float, input().split())
temp = Decimal(str(A)) * Decimal(str(B))
print(floor(temp)) | [
"call.add",
"call.arguments.change"
] | 380,766 | 380,767 | u528470578 | python |
p02659 | #!python3
iim = lambda: map(int, input().rstrip().split())
def resolve():
a, b = input().split()
a = int(a); b = float(b)
print(int(a*b))
if __name__ == "__main__":
resolve()
| #!python3
iim = lambda: map(int, input().rstrip().split())
from decimal import Decimal
def resolve():
a, b = input().split()
a = int(a); b = Decimal(b)
print(int(a*b))
if __name__ == "__main__":
resolve()
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 380,768 | 380,769 | u348805958 | python |
p02659 | A, B = map(float, input().split())
A = int(A)
B = int(B * 100)
res = A * B // 100
print(int(res)) | A, B = map(float, input().split())
A = int(A)
B = round(B * 100)
res = A * B // 100
print(res)
| [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.remove",
"call.arguments.change"
] | 380,780 | 380,781 | u345389118 | python |
p02659 | A, B = map(str, input().split())
A = int(A)
B = int(float(B) * 100)
res = A * B // 100
print(res) | A, B = map(float, input().split())
A = int(A)
B = round(B * 100)
res = A * B // 100
print(res)
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"call.function.change"
] | 380,782 | 380,781 | u345389118 | python |
p02659 | A, B = map(float, input().split())
A = int(A)
B = int(B * 100)
res = A * B // 100
print(int(res)) | A, B = map(float, input().split())
A = int(A)
B = int(B * 1000) # int()変換だとNG
res = A * B // 1000
print(int(res))
| [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 380,780 | 380,783 | u345389118 | python |
p02659 | A, B = map(float, input().split())
A = int(A)
B = int(B * 100)
res = A * B // 100
print(int(res)) | A, B = map(float, input().split())
A = int(A)
B = round(B * 100)
res = A * B // 100
print(int(res)) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 380,780 | 380,784 | u345389118 | python |
p02659 | from decimal import *
A,B = map(float,input().split())
print(int(Decimal(A)*Decimal(B))) | from decimal import Decimal
A,B = input().split()
print(int(Decimal(A)*Decimal(B))) | [
"call.remove",
"call.arguments.change"
] | 380,789 | 380,790 | u503111914 | python |
p02659 | import decimal
a,b = input().split()
a = int(a)
b = decimal(b)
b = b*100
b = int(b)
ans = a*b
ans //= 100
print(int(ans)) | import decimal
a,b = input().split()
a = int(a)
b = decimal.Decimal(b)
b = b*100
b = int(b)
ans = a*b
ans //= 100
print(int(ans)) | [] | 380,791 | 380,792 | u631019293 | python |
p02659 | a,b = input().split()
a = int(a)
b = float(b)
b = b*100
b = int(b)
ans = a*b
ans //= 100
print(int(ans)) | import decimal
a,b = input().split()
a = int(a)
b = decimal.Decimal(b)
b = b*100
b = int(b)
ans = a*b
ans //= 100
print(int(ans)) | [
"assignment.value.change"
] | 380,793 | 380,792 | u631019293 | python |
p02659 | # -*- coding: utf-8 -*-
import math
from decimal import *
A, B = map(float,input().split())
print(math.floor(Decimal(A)*Decimal(B))) | # -*- coding: utf-8 -*-
import math
from decimal import *
A, B = map(Decimal,input().split())
print(math.floor(Decimal(A)*Decimal(B))) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 380,794 | 380,795 | u511096055 | python |
p02659 | A, B = input().split()
A = int(A)
B = int(float(B) * 100.00)
ans = (A * B) // 100
print(ans)
| A, B = input().split()
A = int(A)
B = round(float(B) * 100.00)
ans = (A * B) // 100
print(ans)
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 380,799 | 380,800 | u165429863 | python |
p02659 | A, B = input().split()
A = int(A)
B = int(float(B) * 100.0)
ans = (A * B) // 100
print(str(ans))
| A, B = input().split()
A = int(A)
B = round(float(B) * 100.00)
ans = (A * B) // 100
print(ans)
| [
"assignment.value.change",
"identifier.change",
"call.function.change",
"literal.number.float.change",
"call.arguments.change",
"expression.operation.binary.change",
"call.remove"
] | 380,801 | 380,800 | u165429863 | python |
p02659 | A, B = input().split()
A = int(A)
B = int(float(B) * 100)
ans = (A * B) // 100
print(ans)
| A, B = input().split()
A = int(A)
B = round(float(B) * 100.00)
ans = (A * B) // 100
print(ans)
| [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 380,802 | 380,800 | u165429863 | python |
p02659 | a,b=input().split()
a=int(a)
b=int(b[0]+b[2:])
print(int(a*b/100)) | a,b=input().split()
a=int(a)
b=int(b[0]+b[2:])
print(a*b//100) | [
"call.arguments.change",
"expression.operator.arithmetic.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,803 | 380,804 | u568576853 | python |
p02659 | a,b=input().split()
a=int(a)
i,f=b.split('.')
print(int(a*(int(i)*100+int(f))/100)) | a,b=input().split()
a=int(a)
i,f=b.split('.')
print(a*(int(i)*100+int(f))//100) | [
"call.arguments.change",
"expression.operator.arithmetic.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,819 | 380,820 | u669173971 | python |
p02659 | a,b = input().split()
nb = int(float(b)*100)
nans = int(a)*nb
ans = int(nans//100)
print(ans) | a,b = input().split()
nb = int(float(b)*1000)
nans = int(a)*nb
ans = nans//1000
print(ans) | [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"call.remove"
] | 380,835 | 380,836 | u626467464 | python |
p02659 | a,b = input().split()
nb = int(float(b)*100)
nans = int(a)*nb
ans = nans//100
print(ans) | a,b = input().split()
nb = int(float(b)*1000)
nans = int(a)*nb
ans = nans//1000
print(ans) | [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 380,837 | 380,836 | u626467464 | python |
p02659 | a,b=input().split()
a=int(a)
print(b)
b=int(b[0] + b[2] + b[3])
print(a * b // 100)
| a,b=input().split()
a=int(a)
b=int(b[0] + b[2] + b[3])
print(a * b // 100)
| [
"call.remove"
] | 380,838 | 380,839 | u993435350 | python |
p02659 | a,b=map(float,input().replace(".","").split())
print(int(a*b//100)) | a,b=map(int,input().replace(".","").split())
print(a*b//100) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"call.remove"
] | 380,845 | 380,846 | u927860986 | python |
p02659 | a,b = map(str,input().split())
a1 = int(a)
b1 = int(float(b)*100)
ab = a1*b1
ans = int(ab//100)
print(ans) | a,b = map(str,input().split())
a1 = int(a)
b1 = int(float(b)*1000)
ab = a1*b1
ans = int(ab//1000)
print(ans) | [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 380,852 | 380,853 | u734195782 | python |
p02659 | a,b=map(float,input().split())
b=int(float(b)*100)
a=int(a)
print(int(a*b)//100)
| a,b=map(float,input().split())
b=int(b*1000)
a=int(a)
print(int(a*b)//1000)
| [
"call.remove",
"call.arguments.change",
"literal.number.integer.change",
"assignment.value.change",
"expression.operation.binary.change",
"io.output.change"
] | 380,854 | 380,855 | u765865533 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.