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 | import math
def main():
a, b = input().split()
a = int(a)
b1, b2 = map(int, b.split('.'))
ans = a * b1 * 100 + b2
ans = ans // 100
print(f'{ans}')
if __name__ == '__main__':
main() | def main():
a, b = input().split()
a = int(a)
b1, b2 = map(int, b.split('.'))
ans = a * ((b1 * 100) + b2)
ans = ans // 100
print(f'{ans}')
if __name__ == '__main__':
main()
| [] | 381,991 | 381,992 | u813286880 | python |
p02659 | A, B = input().split()
A = int(A)
B100 = ""
for s in range(len(B)):
if B[s] != ".":
B100 += B[s]
B100 = int(B100)
ans = A * B100 // 100
print(ans[0])
| A, B = input().split()
A = int(A)
B100 = ""
for s in range(len(B)):
if B[s] != ".":
B100 += B[s]
B100 = int(B100)
ans = A * B100 // 100
print(ans)
| [] | 381,995 | 381,996 | u770076823 | python |
p02659 | a, b = map(float, input().split())
b = float(b)*1000
b = int(b)
c = int(a*b)//1000
print (int(c)) | a, b = map(float, input().split())
b = float(b)*1000
b = int(b)
c = (int(a)*b)//1000
print (int(c)) | [
"call.arguments.change"
] | 382,001 | 382,002 | u169200126 | python |
p02659 | a, b = map(float, input().split())
b = float(b)*1000
b = int(b)
c = (a*b)//1000
print (int(c)) | a, b = map(float, input().split())
b = float(b)*1000
b = int(b)
c = (int(a)*b)//1000
print (int(c)) | [
"call.add",
"call.arguments.change"
] | 382,003 | 382,002 | u169200126 | python |
p02659 | a, b = map(float, input().split())
b = float(b)*1000
b = int(b)
c = a*b//1000
print (int(c)) | a, b = map(float, input().split())
b = float(b)*1000
b = int(b)
c = (int(a)*b)//1000
print (int(c)) | [
"call.arguments.change"
] | 382,004 | 382,002 | u169200126 | python |
p02659 | a, b = map(float, input().split())
b = float(b)*1000
b = int(b)
c = int(a*b)//1000
print (int(c)) | a, b = map(float, input().split())
b = float(b)*1000
b = int(b)
c = int(a)*b//1000
print (int(c)) | [
"call.arguments.change"
] | 382,001 | 382,005 | u169200126 | python |
p02659 | a, b = map(float, input().split())
b = float(b)*1000
b = int(b)
c = (a*b)//1000
print (int(c)) | a, b = map(float, input().split())
b = float(b)*1000
b = int(b)
c = int(a)*b//1000
print (int(c)) | [
"call.add",
"type_conversion.to_integer.change",
"type_conversion.to_number.change",
"call.arguments.change"
] | 382,003 | 382,005 | u169200126 | python |
p02659 | a, b = map(float, input().split())
b = float(b)*1000
b = int(b)
c = a*b//1000
print (int(c)) | a, b = map(float, input().split())
b = float(b)*1000
b = int(b)
c = int(a)*b//1000
print (int(c)) | [
"call.add",
"call.arguments.change"
] | 382,004 | 382,005 | u169200126 | python |
p02659 | a, b = map(float, input().split())
b = float(b)*1000
b = int(b)
c = a*b//1000
print (c)
| a, b = map(float, input().split())
b = float(b)*1000
b = int(b)
c = int(a)*b//1000
print (int(c)) | [
"call.add",
"call.arguments.change"
] | 382,006 | 382,005 | u169200126 | python |
p02659 | a, b = input().split()
print(int(A) * int(float(B)*1000)//1000) | a, b = input().split()
print(int(a) * int(float(b)*1000)//1000) | [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 382,011 | 382,012 | u169200126 | python |
p02659 | a, b = input().split()
print(int(A) * int(float(B)*1000//1000)) | a, b = input().split()
print(int(a) * int(float(b)*1000)//1000) | [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 382,013 | 382,012 | u169200126 | python |
p02659 | import numpy as np
import math
from decimal import Decimal
def resolve():
S = input().split(" ")
# print(math.floor(int(S[0])*Decimal(S[1])))
print(math.floor((int(S[0]) * int(float(S[1])*100))) // 100)
if __name__ == "__main__":
resolve()
| import numpy as np
import math
from decimal import Decimal
def resolve():
S = input().split(" ")
# print(math.floor(int(S[0])*Decimal(S[1])))
print(math.floor((int(S[0]) * int(float(S[1])*1000))) // 1000)
if __name__ == "__main__":
resolve() | [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 382,016 | 382,017 | u805332733 | python |
p02659 | a,b=input().split(' ')
a=int(a)
b=float(b)
b=int(b*100)
print(a*b//100) | a,b=input().split(' ')
a=int(a)
b=float(b)
b=round(b*100)
print(a*b//100) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,031 | 382,032 | u607884285 | python |
p02659 | (a,b)=[x for x in input().split()]
a=int(a)
b=int(float(b)*100)
print(a*b//100)
#print(int(c/100)) | (a,b)=[x for x in input().split()]
a=int(a)*100
b=int(float(b)*1000)
print(a*b//100000)
#print(int(c/100))
| [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 382,035 | 382,036 | u579508806 | python |
p02659 | (a,b)=[x for x in input().split()]
a=int(a)
b=int(float(b)*100)
print(a*b//100)
#print(int(c/100)) | (a,b)=[x for x in input().split()]
a=int(a)
b=int(float(b)*1000)
print(a*b//1000)
#print(int(c/100))
| [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 382,035 | 382,037 | u579508806 | python |
p02659 | a,b = map(str,input().split())
b100 = int(b[0]) * 100 + int(b[2]) * 10 + int(b[3])
# print(b)
# print(b100)
print(int(int(a)*b100/100))
| a,b = map(str,input().split())
b100 = int(b[0]) * 100 + int(b[2]) * 10 + int(b[3])
# print(b)
# print(b100)
print((int(a)*b100)//100)
| [
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 382,042 | 382,043 | u361381049 | python |
p02659 | a,b = map(str,input().split())
b100 = int(b[0]) * 100 + int(b[2]) * 10 + int(b[3])
# print(b)
# print(b100)
print(int(int(a)*b/100))
| a,b = map(str,input().split())
b100 = int(b[0]) * 100 + int(b[2]) * 10 + int(b[3])
# print(b)
# print(b100)
print((int(a)*b100)//100)
| [
"call.arguments.change"
] | 382,044 | 382,043 | u361381049 | python |
p02659 | a,b=map(str,input().split())
A=int(a)
B=""
for i in range(len(b)):
if b[i]!=".":
B+=b[i]
else:
pass
B=int(B)
ans=A*B
print(ans) | a,b=map(str,input().split())
A=int(a)
B=""
for i in range(len(b)):
if b[i]!=".":
B+=b[i]
else:
pass
B=int(B)
ans=A*B//100
print(ans) | [
"assignment.change"
] | 382,045 | 382,046 | u349444371 | python |
p02659 | a, b = input().split()
a = int(a)
b = int(b * 1000)
x = int((a * b) // 1000)
print(x) | a, b = input().split()
a = int(a)
b = int(float(b) * 1000)
x = (a * b) // 1000
print(x) | [
"call.add",
"call.arguments.change",
"call.remove"
] | 382,051 | 382,052 | u494741995 | python |
p02659 | a, b = input().split()
a = int(a)
b = float(b) * 1000
x = int((a * b) // 1000)
print(x) | a, b = input().split()
a = int(a)
b = int(float(b) * 1000)
x = (a * b) // 1000
print(x) | [
"call.add",
"call.arguments.change",
"call.remove"
] | 382,053 | 382,052 | u494741995 | python |
p02659 | import math
from decimal import Decimal
from sys import stdin
def get_result(data):
A, B = data
return A * int(B*100) // 100
if __name__ == '__main__':
data = stdin.readline().rstrip().split(' ')
data = [int(data[0]), float(data[1])]
result = get_result(data)
print(result)
| import math
from decimal import Decimal
from sys import stdin
def get_result(data):
A, B = data
return A * int(B * 100) // 100
if __name__ == '__main__':
data = stdin.readline().rstrip().split(' ')
data = [int(data[0]), Decimal(data[1])]
result = get_result(data)
print(result)
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,070 | 382,071 | u659302753 | python |
p02659 | a=list(map(float,input().split()))
m=1
for x in a:
m=m*x
print(int(m)) | import decimal
a=list(map(decimal.Decimal,input().split()))
m=1
for x in a:
m=m*x
print(int(m)) | [
"assignment.value.change",
"call.arguments.change"
] | 382,083 | 382,084 | u751843916 | python |
p02659 | # coding: utf-8
a, b = input().split()
a = int(a)
b = float(b) * 100
b = int(b)
print(int((a * b) // 100))
| # coding: utf-8
a, b = input().split()
a = int(a)
b = float(b) * 1000
b = int(b)
print(int((a * b) // 1000))
| [
"literal.number.integer.change",
"assignment.value.change",
"expression.operation.binary.change",
"call.arguments.change",
"io.output.change"
] | 382,085 | 382,086 | u502247093 | python |
p02659 | import math
A, B = input().split()
A = int(A)
B = float(B)
ans = A * B
print(math.floor(ans)) | import math
from decimal import Decimal
A, B = input().split()
A = int(A)
B = Decimal(B)
ans = A * B
print(math.floor(ans)) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,091 | 382,092 | u197868423 | python |
p02659 | import math
A, B = input().split()
A = int(A)
B = float(B)
ans = A * B
print(math.ceil(ans)) | import math
from decimal import Decimal
A, B = input().split()
A = int(A)
B = Decimal(B)
ans = A * B
print(math.floor(ans)) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"misc.opposites",
"call.arguments.change",
"io.output.change"
] | 382,094 | 382,092 | u197868423 | python |
p02659 | A,B = input().split()
A = int(A)
B = float(B)
B_by100 = int(B*100)
ans_by100 = A*B_by100
ans=ans_by100//100
#A_hund = int(A//100)
#A_res = int(A-A_hund*100)
#
#ans1 = int(A_hund * B * 100)
#ans2 = int(A_res * B)
#ans = A*B
#ans = ans1+ans2
#ans = int(ans)
print(str(ans)) | A,B = input().split()
A = int(A)
B = float(B)
B_by100 = int(B*100+0.5)
ans_by100 = A*B_by100
#print(str(ans_by100)[:-2])
ans=ans_by100//100
print(str(ans)) | [
"assignment.change"
] | 382,101 | 382,102 | u615520489 | python |
p02659 | import os
import sys
from collections import defaultdict, Counter
from itertools import product, permutations,combinations, accumulate
from operator import itemgetter
from bisect import bisect_left,bisect
from heapq import heappop,heappush
from math import ceil, floor, sqrt, gcd
from copy import deepcopy
def main():
... | import os
import sys
from collections import defaultdict, Counter
from itertools import product, permutations,combinations, accumulate
from operator import itemgetter
from bisect import bisect_left,bisect
from heapq import heappop,heappush
from math import ceil, floor, sqrt, gcd
from copy import deepcopy
from decimal i... | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"call.function.change",
"io.output.change"
] | 382,136 | 382,137 | u928758473 | python |
p02659 | import os
import sys
from collections import defaultdict, Counter
from itertools import product, permutations,combinations, accumulate
from operator import itemgetter
from bisect import bisect_left,bisect
from heapq import heappop,heappush
from math import ceil, floor, sqrt, gcd
from copy import deepcopy
def main():
... | import os
import sys
from collections import defaultdict, Counter
from itertools import product, permutations,combinations, accumulate
from operator import itemgetter
from bisect import bisect_left,bisect
from heapq import heappop,heappush
from math import ceil, floor, sqrt, gcd
from copy import deepcopy
from decimal i... | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 382,138 | 382,137 | u928758473 | python |
p02659 | import sys
if __name__ == '__main__':
str = input().strip()
a, b = str.split()
aval = int(a)
bval = int(float(b) * 100)
print(aval * bval // 100)
| import sys
if __name__ == '__main__':
str = input().strip()
a, b = str.split()
aval = int(a)
bval = round(float(b) * 100)
print(aval * bval // 100)
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,144 | 382,145 | u806698335 | python |
p02659 | import sys
if __name__ == '__main__':
str = input().strip()
a, b = str.split()
aval = int(a)
bval = int(float(b) * 100)
print(aval * bval // 100)
| import sys
if __name__ == '__main__':
str = input().strip()
a, b = str.split()
aval = int(a)
bval = int(float(b) * 1000)
print(aval * bval // 1000)
| [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 382,144 | 382,147 | u806698335 | python |
p02659 | import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque
from decimal import *
import numpy as np
import math
if __name__ == '__main__':
a = [float(i) for i in input().split()]
b= int(a[0])
c = int(... | import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque
from decimal import *
import numpy as np
import math
if __name__ == '__main__':
a = [str(i) for i in input().split()]
b = int(a[0])
c = Decimal... | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change",
"call.add"
] | 382,148 | 382,149 | u290187182 | python |
p02659 | ab=input().split()
a=int(ab[0])
b=ab[1].replace('.','')
ans=a*b//100
print(ans)
| ab=input().split()
a=int(ab[0])
b=ab[1].replace('.','')
b=int(b)
ans=a*b//100
print(ans)
| [
"assignment.add"
] | 382,155 | 382,156 | u336968242 | python |
p02659 | import math
a, b = input().split()
a=int(a)
b=int(float(b)*100)
ans=a*b
print(ans//100)
| import math
a, b = input().split()
a=int(a)
b=int(float(b)*1000)
ans=a*b
print(ans//1000)
| [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 382,165 | 382,164 | u362031378 | python |
p02659 | a,b = input().split()
a = int(a)
b = float(b)
ans = int((a * int(b * 100))) // 100
print(ans) | a,b = input().split()
a = int(a)
b = float(b)
ans = int((a * int(b * 100 + 0.1))) // 100
print(ans)
| [
"assignment.change"
] | 382,170 | 382,171 | u102960641 | python |
p02659 | a,b = input().split()
a = int(a)
b = float(b)
ans = int((a * int(b * 100)) // 100)
print(ans) | a,b = input().split()
a = int(a)
b = float(b)
ans = int((a * int(b * 100 + 0.1))) // 100
print(ans)
| [
"call.arguments.add",
"call.arguments.change"
] | 382,172 | 382,171 | u102960641 | python |
p02659 | import math
s=input()
a, b = s.split()
b = int(b[0] + b[2:])
ans = math.floor((int(a) * b) / 100)
print(ans) | import math
s=input()
a, b = s.split()
b = int(b[0] + b[2:])
ans = (int(a) * b) // 100
print(ans) | [
"call.remove",
"expression.operator.arithmetic.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 382,192 | 382,193 | u646244131 | python |
p02659 | stdin = input().split()
print(int(int(stdin[0]) * float(stdin[1])))
| from decimal import Decimal
stdin = input().split()
print(int(Decimal(stdin[0]) * Decimal(stdin[1])))
| [
"identifier.change",
"call.function.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 382,194 | 382,195 | u012694084 | python |
p02659 | a,b = map(str,input().split())
#print(a,b)
b = float(b)
b = int(b*100)
a = int(a)
ans = (a*b)//100
print(ans)
| a,b = map(str,input().split())
#print(a,b)
b = float(b)
b = round(b*100)
a = int(a)
ans = (a*b)//100
print(ans)
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,202 | 382,203 | u905329882 | python |
p02659 | from decimal import Decimal
a,b = map(str,input().split())
#print(a,b)
b = Decimal(b)
a = int(a)
ans = a*b
print(round(ans))
| from decimal import Decimal
a,b = map(str,input().split())
#print(a,b)
b = Decimal(b)
a = int(a)
ans = a*b
print(int(ans))
| [
"identifier.change",
"call.function.change",
"call.arguments.change",
"io.output.change"
] | 382,204 | 382,205 | u905329882 | python |
p02659 | import numpy as np
A,B = map(str,input().split())
A = int(A)
B = int(B[0]+B[2]+B[3])
print(int(A*B/100)) | import numpy as np
A,B = map(str,input().split())
A = int(A)
B = int(B[0]+B[2]+B[3])
print(int(A*B//100)) | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 382,218 | 382,219 | u096294926 | python |
p02659 | a, b = input().split()
ans = int(a)*int(float(b)*100)
ans = ans//100
print(ans) | a, b = input().split()
ans = int(a)*int(float(b)*100+0.01)
ans = ans//100
print(ans) | [
"assignment.change"
] | 382,236 | 382,237 | u709304134 | python |
p02659 | a, b = input().split()
ans = int(a)*int(float(b)*100)
ans = ans//100
print(ans) | a, b = input().split()
ans = int(a)*int(float(b)*100+0.5)
ans = ans//100
print(ans) | [
"assignment.change"
] | 382,236 | 382,238 | u709304134 | python |
p02659 | a, b = map(float, input().split())
b = int(b * 100 + 0.5)
ans = a * b // 100
print(int(ans)) | a, b = map(float, input().split())
a = int(a)
b = int(b * 100 + 0.5)
ans = a * b // 100
print(int(ans)) | [
"assignment.add"
] | 382,243 | 382,244 | u867848444 | python |
p02659 | import math
a, b = map(float, input().split())
b *= 100
c = int(a) * int(b)
print(c // 100)
| a, b = map(float, input().split())
b *= 100
c = int(a) * int(b + 0.01)
print(c // 100)
| [
"assignment.change"
] | 382,247 | 382,248 | u265065462 | python |
p02659 | import math
a,b = input().split()
a = float(a)
b = float(b)
b = b*100
print(math.floor(a*b//100)) | import math
from decimal import *
a,b = input().split()
a = Decimal(a)
b = Decimal(b)
b = b*100
print(math.floor(a*b//100)) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,258 | 382,259 | u265213765 | python |
p02659 | import math
a, b = list(input().split())
a = int(a)
f = [0, 0, 0]
f[0] = int(b[0])
f[1] = int(b[2])
f[2] = int(b[3])
x = math.floor((a*100*f[0] + a*10*f[1] + a*f[2])/100)
print(x) | import math
a, b = list(input().split())
a = int(a)
f = [0, 0, 0]
f[0] = int(b[0])
f[1] = int(b[2])
f[2] = int(b[3])
x = (a*100*f[0] + a*10*f[1] + a*f[2])//100
print(x) | [
"call.remove",
"expression.operator.arithmetic.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 382,264 | 382,265 | u034385994 | python |
p02659 | import math
from decimal import *
getcontext().prec = 100
a,b=input().split()
a=int(a)
A=round(Decimal(a)*Decimal(b))
print(math.floor(A))
| import math
from decimal import *
getcontext().prec = 100
a,b=input().split()
a=int(a)
A=Decimal(a)*Decimal(b)
print(math.floor(A))
| [
"call.remove",
"call.arguments.change"
] | 382,269 | 382,270 | u263753244 | python |
p02659 | A,B = input().split()
print(int(A) * int(float(B)*100)//100)
| A,B = input().split()
print(int(A) * int(float(B)*1000)//1000) | [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 382,273 | 382,274 | u167874423 | python |
p02659 | a,b=input().split()
a=int(a)
b=list(b)
b=[int(b[0]),int(b[2]),int(b[3])]
c=a*b[0]+a*b[1]//10+a*b[2]//100
print(c) | a,b=input().split()
a=int(a)
b=list(b)
b=[int(b[0]),int(b[2]),int(b[3])]
c=(a*b[0]*100+a*b[1]*10+a*b[2])//100
print(c) | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 382,276 | 382,277 | u847923740 | python |
p02659 | import math
a,b = list(map(float, input().split()))
print(math.floor(a*b))
| import decimal
import math
a,b = list(map(decimal.Decimal, input().split()))
print(math.floor(a*b))
| [
"assignment.value.change",
"call.arguments.change"
] | 382,305 | 382,306 | u687574784 | python |
p02659 | import math
l = input().split(" ")
a = int(l[0])
b = float(l[1])
print(math.floor(a*b)) | import math
import decimal
l = input().split(" ")
a = int(l[0])
b = decimal.Decimal(l[1])
print(math.floor(a*b)) | [
"assignment.value.change"
] | 382,309 | 382,310 | u507656797 | python |
p02659 | from sys import stdin
[a, b] = stdin.readline().split()
b = int(float(b) * 100)
print(int(int(a) * b // 100))
| from sys import stdin
[a, b] = stdin.readline().split()
b = round(float(b) * 100)
print(int(a) * b // 100)
| [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.remove",
"call.arguments.change"
] | 382,323 | 382,324 | u374416262 | python |
p02659 | import math
s = input().split()
A = float(s[0])
B = float(s[1])
c = math.floor(A * B)
print(c)
| import math
from decimal import *
s = input().split()
A = Decimal(s[0])
B = Decimal(s[1])
c = math.floor(A * B)
print(c)
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,325 | 382,326 | u552058878 | python |
p02659 | import math
s = input().split()
A = int(s[0])
B = float(s[1])
c = math.floor(A * B)
print(c)
| import math
from decimal import *
s = input().split()
A = Decimal(s[0])
B = Decimal(s[1])
c = math.floor(A * B)
print(c)
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,327 | 382,326 | u552058878 | python |
p02659 | a, b = input().split()
a = int(a)
b = float(b)
print(int(a * b))
| from decimal import Decimal
a, b = input().split()
a = int(a)
b = Decimal(b)
print(int(a * b))
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,330 | 382,331 | u660899777 | python |
p02659 | import math
a,b = input().split()
a = int(a)
b = float(b)
print(math.floor(a*b)) | import math
import decimal
a,b = input().split()
a = int(a)
b = decimal.Decimal(b)
print(math.floor(a*b)) | [
"assignment.value.change"
] | 382,338 | 382,339 | u081365646 | python |
p02659 | import math
l = input().split()
a = int(l[0])
b = float(l[1])
##print(a,b)
print(int(a*b)) | from decimal import Decimal
l = input().split()
a = int(l[0])
b = Decimal(l[1])
##print(a,b)
##print(a*b)
print(int(a*b)) | [
"identifier.change",
"assignment.value.change",
"call.function.change"
] | 382,344 | 382,345 | u876616721 | python |
p02659 | import sys
def _sa(): return sys.stdin.readline().strip().split()
def main():
a, b = _sa()
a = int(a)
b = int(100 * float(b))
return (a * b) // 100
if __name__ == "__main__":
print(main())
| import sys
def _sa(): return sys.stdin.readline().strip().split()
def main():
a, b = _sa()
a = int(a)
b = round(100*float(b))
return (a * b) // 100
if __name__ == "__main__":
print(main())
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,348 | 382,349 | u591589288 | python |
p02659 | import math
a, b = map(float, input().split())
print(math.floor(a * b))
| from decimal import Decimal
import math
a, b = map(Decimal, input().split())
print(math.floor(a * b)) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 382,360 | 382,361 | u285022453 | python |
p02659 | from decimal import Decimal, ROUND_DOWN, getcontext
a, b = map(str, input().split())
getcontext().prec = 6
getcontext().rounding = ROUND_DOWN
x = Decimal(a)
y = Decimal(b)
print("{:f}".format(Decimal(int(x * y)), rounding=ROUND_DOWN))
| from decimal import Decimal, ROUND_DOWN, getcontext
a, b = map(str, input().split())
getcontext().prec = 19
getcontext().rounding = ROUND_DOWN
x = Decimal(a)
y = Decimal(b)
print("{:}".format(Decimal(int(x * y)), rounding=ROUND_DOWN))
| [
"literal.number.integer.change",
"assignment.value.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 382,371 | 382,372 | u165133750 | python |
p02659 | from decimal import Decimal, ROUND_DOWN, getcontext
a, b = map(str, input().split())
getcontext().prec = 6
getcontext().rounding = ROUND_DOWN
x = Decimal(a)
y = Decimal(b)
print("{:10f}".format(Decimal(x * y), rounding=ROUND_DOWN))
| from decimal import Decimal, ROUND_DOWN, getcontext
a, b = map(str, input().split())
getcontext().prec = 19
getcontext().rounding = ROUND_DOWN
x = Decimal(a)
y = Decimal(b)
print("{:}".format(Decimal(int(x * y)), rounding=ROUND_DOWN))
| [
"literal.number.integer.change",
"assignment.value.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"call.add"
] | 382,373 | 382,372 | u165133750 | python |
p02659 | from sys import stdin
import math
a,b = stdin.readline().rstrip().split()
a = int(a)
b = float(b)
print(math.floor(a*b)) | from sys import stdin
import math
from decimal import *
a,b = stdin.readline().rstrip().split()
a = Decimal(a)
b = Decimal(b)
print(math.floor(a*b)) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,374 | 382,375 | u396720407 | python |
p02659 | A,B = [float(i) for i in input().split()]
print(A*B//1) | from decimal import *
A,B = [Decimal(i) for i in input().split()]
print(A*B//1) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,376 | 382,377 | u722761145 | 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"
] | 382,394 | 382,395 | u415915510 | python |
p02659 | a, b = map(float, input().split())
b *= 100
a, b = int(a), int(b);
print(int(a * b // 100))
| a, b = map(float, input().split())
b *= 1000
a, b = int(a), int(b);
print(a * b // 1000)
| [
"literal.number.integer.change",
"call.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 382,405 | 382,406 | u642015143 | python |
p02659 | import math
ab = input().split()
a = float(ab[0])
b = float(ab[1])
ans = int(a*b)
print(ans) | from decimal import Decimal
ab = input().split()
a = Decimal(ab[0])
b = Decimal(ab[1])
ans = int(a*b)
print(ans) | [
"identifier.change",
"assignment.value.change",
"call.function.change"
] | 382,410 | 382,411 | u583285098 | python |
p02659 |
import math
a,b = input().split()
a = int(a)
b = float(b)
if a==0 or b==0:
print(0)
else:
print(int(math.floor(a*b)))
|
import math
from decimal import Decimal
a,b = input().split()
a = Decimal(a)
b = Decimal(b)
if a==0 or b==0:
print(0)
else:
print(int(math.floor(a*b)))
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,412 | 382,413 | u535803878 | python |
p02659 | #!/usr/bin/env python3
import sys
import numpy as np
def solve(A: int, B: float):
B100 = int(B*100)
ans = (A*B100)-((A*B100) % 100)
print(ans//100)
return
# Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this line by using... | #!/usr/bin/env python3
import sys
import numpy as np
def solve(A: int, B: float):
B100 = int(B*1000)
ans = (A*B100)-((A*B100) % 1000)
print(ans//1000)
return
# Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this line by us... | [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 382,421 | 382,422 | u915879510 | python |
p02659 | import decimal
A,B=map(str,input().split())
A=int(A)
B=decimal.Decimal(B)
print(B)
print(int(A*B)) | import decimal
A,B=map(str,input().split())
A=int(A)
B=decimal.Decimal(B)
print(int(A*B)) | [
"call.remove"
] | 382,423 | 382,424 | u683593500 | python |
p02659 | A,B=map(str,input().split())
A=int(A)
B=float(B)
print(int(A*B)) | import decimal
A,B=map(str,input().split())
A=int(A)
B=decimal.Decimal(B)
print(int(A*B)) | [
"assignment.value.change"
] | 382,425 | 382,424 | u683593500 | python |
p02659 | def main():
a,b = input().split()
print(int(int(a)*float(b)))
if __name__ == '__main__':
main() | import decimal
def main():
a,b = input().split()
print(int(int(a)*decimal.Decimal(b)))
if __name__ == '__main__':
main() | [
"call.arguments.change",
"expression.operation.binary.change"
] | 382,439 | 382,440 | u157232135 | python |
p02659 | M,N = input().rstrip().split(" ")
N2 = 0
N2 += int(N[0]) * 100
N2 += int(N[2]) * 10
N2 += int(N[3])
M = int(M)
print(int((N2 * M) / 100)) | M,N = input().rstrip().split(" ")
N2 = 0
N2 += int(N[0]) * 100
N2 += int(N[2]) * 10
N2 += int(N[3])
M = int(M) * 100
print((N2 * M) // 10000) | [
"call.arguments.change"
] | 382,443 | 382,444 | u017050982 | python |
p02659 | import math
a, b = input().split(" ")
print(int(math.floor(int(a)*float(b)))) | from decimal import Decimal
import math
a, b = input().split(" ")
print(int(math.floor(Decimal(a)*Decimal(b)))) | [
"identifier.change",
"call.function.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 382,445 | 382,446 | u452885705 | python |
p02659 |
# -*- coding: utf-8 -*-
import sys
l = list(map(lambda x: float(x), str(input()).split(" ")))
print(int(l[0] * l[1])) | # -*- coding: utf-8 -*-
import sys
from decimal import *
l = list(map(lambda x: Decimal(x), str(input()).split(" ")))
print(int(l[0] * l[1])) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 382,451 | 382,452 | u833242004 | python |
p02659 | from decimal import *
# a, b = map(str, input().split())
# print((int(a) * int(float(b)*100)) // 100)
a, b = map(float, input().split())
print(Decimal(a) * Decimal(b) // 1) | from decimal import *
# a, b = map(str, input().split())
# print((int(a) * int(float(b)*100)) // 100)
a, b = map(str, input().split())
print(Decimal(a) * Decimal(b) // 1) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 382,453 | 382,454 | u659481093 | python |
p02659 | tmp = input().split()
A = int(tmp[0])
B = float(tmp[1])
print(int(A*B)) | from decimal import Decimal
tmp = input().split()
A = int(tmp[0])
B = Decimal(tmp[1])
print(int(A*B)) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,457 | 382,458 | u463260769 | python |
p02659 | li=input().split()
a = int(li[0])
b = float(li[1])
print(int(a*b)) | import decimal
li=input().split()
a = int(li[0])
b = decimal.Decimal(li[1])
print(int(a*b)) | [
"assignment.value.change"
] | 382,469 | 382,470 | u080986047 | python |
p02659 | a,b = map(float,input().split())
import math
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
b = Decimal(str(b)).quantize(Decimal('0.01'), rounding=ROUND_HALF_UP)
print(b)
a = Decimal(a)
ans = a*b
print(math.floor(ans)) | a,b = map(float,input().split())
import math
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
b = Decimal(str(b)).quantize(Decimal('0.01'), rounding=ROUND_HALF_UP)
a = Decimal(a)
ans = a*b
print(math.floor(ans)) | [
"call.remove"
] | 382,471 | 382,472 | u342563578 | python |
p02659 | a,b = map(float, input().split())
a = round(a)
b = round(100*b)
c = a*b
c = c/100
print(int(c))
| a,b = map(float, input().split())
a = round(a)
b = round(100*b)
c = a*b
c = c//100
print(int(c))
| [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 382,473 | 382,474 | u492910842 | python |
p02659 | from math import floor
a, b = input().split()
a = int(a)
b = float(b)
print(floor(a*b)) | from decimal import Decimal
from math import floor
a, b = input().split()
a = int(a)
b = Decimal(b)
print(floor(a*b))
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,475 | 382,476 | u304099294 | python |
p02659 | import math as mt
AB = input().split()
a = int(AB[0])
b = float(AB[1])
c = a*b
d = mt.floor(c)
print(d) | import math as mt
from decimal import Decimal
AB = input().split()
a = int(AB[0])
b = Decimal(AB[1])
c = a*b
d = mt.floor(c)
print(d) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,483 | 382,484 | u217836256 | python |
p02659 | import math
ab = input().split()
a, b_f = int(ab[0]), float(ab[1])
b = int(math.floor(b_f * 100))
#a_a = a * b_f
#print(a, b_f)
#print(a, b)
#print(a*b)
a = a * b
#print(a_a)
print(a // 100) | import math
ab = input().split()
a, b_f = int(ab[0]), float(ab[1])
b = round(b_f * 100)
#a_a = a * b_f
#print(a, b_f)
#print(a, b)
#print(a*b)
a = a * b
#print(a_a)
print(a // 100) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 382,488 | 382,489 | u722868069 | python |
p02659 | import math
ab = input().split()
a, b_f = int(ab[0]), float(ab[1])
b = int(b_f * 100)
#a_a = a * b_f
#print(a, b_f)
#print(a, b)
#print(a*b)
a = a * b
#print(a_a)
print(a // 100) | import math
ab = input().split()
a, b_f = int(ab[0]), float(ab[1])
b = round(b_f * 100)
#a_a = a * b_f
#print(a, b_f)
#print(a, b)
#print(a*b)
a = a * b
#print(a_a)
print(a // 100) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,490 | 382,489 | u722868069 | python |
p02659 | import math
ab = input().split()
a, b_f = int(ab[0]), float(ab[1])
b = int(b_f * 100)
#print(a, b_f)
#print(a, b)
#print(a*b)
a = a * b
print(a // 100) | import math
ab = input().split()
a, b_f = int(ab[0]), float(ab[1])
b = round(b_f * 100)
#a_a = a * b_f
#print(a, b_f)
#print(a, b)
#print(a*b)
a = a * b
#print(a_a)
print(a // 100) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,492 | 382,489 | u722868069 | python |
p02659 | import math
ab = input().split()
a, b_f = int(ab[0]), float(ab[1])
b = int(b_f * 100)
#print(a, b_f)
#print(a, b)
#print(a*b)
print(a * b // 100) | import math
ab = input().split()
a, b_f = int(ab[0]), float(ab[1])
b = round(b_f * 100)
#a_a = a * b_f
#print(a, b_f)
#print(a, b)
#print(a*b)
a = a * b
#print(a_a)
print(a // 100) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.add"
] | 382,493 | 382,489 | u722868069 | python |
p02659 | A,B = map(float,input().split())
ans = int(A*B)
print(ans) | from decimal import Decimal
A,B = map(Decimal,input().split())
ans = int(A*B)
print(ans) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 382,496 | 382,497 | u145915236 | python |
p02659 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
import math
A,B = input().split()
A = int(A)
B = int(float(B)*100)
print((A*B)//100) |
#!/usr/bin/python
# -*- coding: utf-8 -*-
A,B = input().split()
A = int(A)
B = round(float(B)*100)
print((A*B)//100) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,500 | 382,501 | u471593927 | python |
p02659 | import sys
import math
if sys.platform =='ios':
sys.stdin=open('input_file.txt')
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
a,b=map(str,input().split())
a=int(a)
b=int(float(b)*100)
print((a*b)//100)
| import sys
import math
if sys.platform =='ios':
sys.stdin=open('input_file.txt')
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
a,b=map(str,input().split())
a=int(a)
b=int(float(b)*1000)
print((a*b)//1000)
| [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 382,502 | 382,503 | u474925961 | python |
p02659 | import fractions
import decimal
a,b = list(map(float,input().split()))
a = int(a)
b = decimal.Decimal(b)
print(int(a*b)) | import fractions
import decimal
a,b = list(map(float,input().split()))
a = int(a)
b = decimal.Decimal(str(b))
print(int(a*b)) | [
"call.add",
"call.arguments.change"
] | 382,514 | 382,515 | u896451538 | python |
p02659 | temp1 = input().split(" ")
a = float(temp1[0])
b = float(temp1[1])
ans = a * b
print(int(ans))
| from decimal import *
temp1 = input().split(" ")
a = Decimal(temp1[0])
b = Decimal(temp1[1])
ans = a * b
print(int(ans))
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,518 | 382,519 | u257823704 | python |
p02659 | temp1 = input().split(" ")
a = int(temp1[0])
b = float(temp1[1])
ans = a * b
print(int(ans)) | from decimal import *
temp1 = input().split(" ")
a = Decimal(temp1[0])
b = Decimal(temp1[1])
ans = a * b
print(int(ans))
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,520 | 382,519 | u257823704 | 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"
] | 382,528 | 382,529 | u291028869 | python |
p02659 | import math
from decimal import Decimal
a,b = input().split(" ")
# print(a,b)
a = Decimal(int(a))
b = Decimal(float(b))
mul = a * b
mul_floor = math.floor(a * b)
# print(mul)
print(mul_floor) | import math
from decimal import Decimal
a,b = input().split(" ")
# print(a,b)
a = Decimal(a)
b = Decimal(b)
mul = a * b
mul_floor = math.floor(a * b)
# print(mul)
print(mul_floor) | [
"call.remove",
"call.arguments.change"
] | 382,535 | 382,536 | u700929101 | python |
p02659 | import math
from decimal import Decimal
A,B = map(float, input().split())
print(int(math.floor(Decimal(A) * Decimal(B)))) | import math
from decimal import Decimal
A,B = map(Decimal, input().split())
print(int(math.floor(Decimal(A) * Decimal(B)))) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 382,537 | 382,538 | u695261159 | python |
p02659 | import math
from decimal import *
A, B = map(float, input().split())
print(math.floor(Decimal(A*B))) | import math
from decimal import *
A, B = map(Decimal, input().split())
print(math.floor(Decimal(A*B))) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 382,552 | 382,553 | u060582659 | python |
p02659 | A, B = input().split()
A = int(A)
B = int(float(B)*100)
print(int(A*B//100))
| A, B = input().split()
A = int(A)
B = int(float(B)*100.0+0.5)
print(int(A*B//100))
| [
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 382,554 | 382,555 | u537142137 | python |
p02659 | import math
input = list(map(float, input().split()))
print(math.floor(input[0]*input[1])) | from decimal import *
import math
input = list(map(Decimal, input().split()))
print(math.floor(input[0]*input[1]))
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 382,569 | 382,570 | u123600620 | python |
p02659 | A,B=input().split()
a=int(A)
b=float(B)
print(int(a*b)) | from decimal import Decimal
A,B=input().split()
a=int(A)
b=Decimal(B)
print(int(a*b))
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 382,571 | 382,572 | u127981515 | python |
p02659 | a = input().split()
print(int(int(a[0]) * float(a[1]))) | from decimal import *
a = input().split()
print(int(int(a[0]) * Decimal(a[1]))) | [
"identifier.change",
"call.function.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 382,573 | 382,574 | u944731949 | python |
p02659 | 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)) | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 382,575 | 382,576 | u480816516 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.