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 |
|---|---|---|---|---|---|---|---|
p02730 | s = input()
n = len(s)
ans = "Yes"
if s != s[::-1]:
ans = "no"
else:
if s[:(n//2):-1] != s[:(n//2)]:
ans = "no"
if s[n//2 + 1::] != s[:(n//2):-1]:
ans = "no"
print(ans) | s = input()
n = len(s)
ans = "Yes"
if s != s[::-1]:
ans = "No"
else:
if s[:(n//2):-1] != s[:(n//2)]:
ans = "No"
if s[n//2 + 1::] != s[:(n//2):-1]:
ans = "No"
print(ans) | [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 508,126 | 508,127 | u399721252 | python |
p02730 | s = input()
m = (len(s)-1)//2
def isK(s):
return s == s[::-1]
print('Yes' if isK(s[:m]) and isK(s[m+1:]) else 'No') | s = input()
m = (len(s)-1)//2
def isK(s):
return s == s[::-1]
print('Yes' if isK(s[:m]) and isK(s[m+1:]) and isK(s) else 'No') | [] | 508,132 | 508,133 | u384094369 | python |
p02730 | s = str(input())
t = s[::-1]
if(s != t):
print("No")
exit
c = ""
for i in range((len(s)-1)//2):
c += s[i]
e = c[::-1]
if(e != c):
print("No")
exit()
r = ""
for i in range(((len(s)+3)//2)-1,len(s),1):
r += s[i]
y = r[::-1]
if(r != y):
print("No")
exit()
print("Yes")
"""
print(s,t)
print(e... | s = str(input())
t = s[::-1]
if(s != t):
print("No")
exit()
c = ""
for i in range((len(s)-1)//2):
c += s[i]
e = c[::-1]
if(e != c):
print("No")
exit()
r = ""
for i in range(((len(s)+3)//2)-1,len(s),1):
r += s[i]
y = r[::-1]
if(r != y):
print("No")
exit()
print("Yes")
"""
print(s,t)
print... | [
"call.add"
] | 508,159 | 508,160 | u244416763 | python |
p02730 | # class Solution:
# def solve(self, a, b, c, s):
# return str(a + b + c) + " " + s
def main():
inp = lambda: [int(x) for x in input().split()]
s = input()
n = (len(s)) // 2
is_paliny = lambda a: a == a[::-1]
ans = "YES" if is_paliny(s) and is_paliny(s[:n]) else "NO"
print(ans)
if... | # class Solution:
# def solve(self, a, b, c, s):
# return str(a + b + c) + " " + s
def main():
inp = lambda: [int(x) for x in input().split()]
s = input()
n = (len(s)) // 2
is_paliny = lambda a: a == a[::-1]
ans = "Yes" if is_paliny(s) and is_paliny(s[:n]) else "No"
print(ans)
if... | [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 508,165 | 508,166 | u151171672 | python |
p02730 | S = input()
N = len(S)
ng = False
for i in range(N):#First
if S[i] != S[-i]:
ng = True
for i in range(N//2):#Second
if S[i] != S[ N // 2 - i - 1]:
ng = True
print('No') if ng else print('Yes')
| S = input()
N = len(S)
ng = False
for i in range(N):#First
if S[i] != S[-i-1]:
ng = True
for i in range(N//2):#Second
if S[i] != S[ N // 2 - i - 1]:
ng = True
print('No') if ng else print('Yes')
| [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change",
"misc.off_by_one"
] | 508,167 | 508,168 | u779728630 | python |
p02730 | S = input()
N = len(S)
ng = False
for i in range(N):#First
if S[i] != S[-i]:
ng = True
for i in range(N):#Second
if S[i] != S[ N // 2 - i - 1]:
ng = True
print('No') if ng else print('Yes') | S = input()
N = len(S)
ng = False
for i in range(N):#First
if S[i] != S[-i-1]:
ng = True
for i in range(N//2):#Second
if S[i] != S[ N // 2 - i - 1]:
ng = True
print('No') if ng else print('Yes')
| [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change",
"misc.off_by_one"
] | 508,169 | 508,168 | u779728630 | python |
p02730 | S=input()
N=len(S)
def chk(s):
n=len(s)
for i in range(n//2):
if s[i]!=s[n-1-i]:
return False
if chk(S) and chk(S[:((N-1)//2)+1]) and chk(S[(N+3)//2:]):
print('Yes')
else:
print('No') | S=input()
N=len(S)
def chk(s):
n=len(s)
for i in range(n//2):
if s[i]!=s[n-1-i]:
return False
return True
if chk(S) and chk(S[:((N-1)//2)]) and chk(S[(N+3)//2-1:]):
print('Yes')
else:
print('No') | [
"control_flow.return.add",
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 508,170 | 508,171 | u204616996 | python |
p02730 | def isPalindrome(s):
for i in range(len(s) // 2):
if s[i] != s[len(s) - i - 1]:
return False
return True
s = input()
N = len(s)
print("Yes" if isPalindrome(s[:(N - 1) // 2]) and isPalindrome(s[(N + 3) // 2 - 1:]) else "No")
| def isPalindrome(s):
for i in range(len(s) // 2):
if s[i] != s[len(s) - i - 1]:
return False
return True
s = input()
N = len(s)
print("Yes" if isPalindrome(s) and isPalindrome(s[:(N - 1) // 2]) and isPalindrome(s[(N + 3) // 2 - 1:]) else "No")
| [] | 508,188 | 508,189 | u814265211 | python |
p02730 | s = input()
p = len(s) - 1 // 2
t = s[:p]
u = s[p+1:]
res = s == s[::-1] and t == t[::-1] and u == u[::-1]
print("Yes" if res else "No")
| s = input()
p = (len(s) - 1) // 2
t = s[:p]
u = s[p+1:]
res = s == s[::-1] and t == t[::-1] and u == u[::-1]
print("Yes" if res else "No")
| [] | 508,199 | 508,200 | u330690418 | python |
p02730 | s = input().split()[0]
n = len(s)
l = s[:n//2]
r = s[n//2+1:]
cnt = 0
for i in range(n//2):
if l[i] == l[n//2 - 1 - i]:
cnt += 1
if r[i] == r[n//2 - 1 - i]:
cnt += 1
if cnt == n - 1:
print('Yes')
else:
print('No') | s = input().split()[0]
n = len(s)
l = s[:n//2]
r = s[n//2+1:]
cnt = 0
for i in range(n//2):
if l[i] == l[n//2 - 1 - i]:
cnt += 1
if r[i] == r[n//2 - 1 - i]:
cnt += 1
if l == r and cnt == n - 1:
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 508,210 | 508,211 | u872191059 | python |
p02730 | s=input()
def kaibun(aa) :
for i in range(len(aa)):
if aa[i]!=aa[-i-1] :
return False
return True
b=int((len(s)-1)/2)
c=int((len(s)+3)/2)
mae=s[:b]
ato=s[c:]
if kaibun(s) and kaibun(mae) and kaibun(ato) :
print ('Yes')
else :
print('No') | s=input()
def kaibun(aa) :
for i in range(len(aa)):
if aa[i]!=aa[-i-1] :
return False
return True
b=int((len(s)-1)/2)
c=int((len(s)+3)/2)
mae=s[:b]
ato=s[c-1:]
if kaibun(s) and kaibun(mae) and kaibun(ato) :
print ('Yes')
else :
print('No') | [
"assignment.change"
] | 508,228 | 508,229 | u876295560 | python |
p02730 | import sys
S = input()
# S = 'akasaka'
N = len(S)
S_rev = S[::-1]
if S != S_rev:
print('No')
sys.exit(1)
sub_S = S[:int((N - 1)/2)+1]
sub_S_rev = S[int((N + 3)/2)-1:]
if sub_S != sub_S_rev:
print('No')
sys.exit(1)
print('Yes') | import sys
S = input()
# S = 'akasaka'
N = len(S)
S_rev = S[::-1]
if S != S_rev:
print('No')
sys.exit(0)
sub_S = S[:int((N - 1)/2)]
sub_S_rev = S[int((N + 3)/2)-1:]
if sub_S != sub_S_rev:
print('No')
sys.exit(0)
print('Yes') | [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.remove"
] | 508,234 | 508,233 | u759726213 | python |
p02730 | S = input()
left = ((len(S) - 1) // 2)
right = ((len(S) + 3) // 2) - 1
l_s = S[0:left]
r_s = S[right:len(S)]
if(S == S[::1] and l_s == l_s[::-1] and r_s == r_s[::-1]):
print("Yes")
else:
print("No") | S = input()
left = ((len(S) - 1) // 2)
right = ((len(S) + 3) // 2) - 1
l_s = S[0:left]
r_s = S[right:len(S)]
if(S == S[::-1] and l_s == l_s[::-1] and r_s == r_s[::-1]):
print("Yes")
else:
print("No") | [
"expression.operation.unary.add",
"control_flow.branch.if.condition.change"
] | 508,235 | 508,236 | u450904670 | python |
p02730 | # -*- coding: utf-8 -*-
s = list(input())
fl = True
sf = list(s)
sf.reverse()
if sf != s:
fl = False
else:
s1 = s[:len(s)//2]
s1r = list(s1)
s1r.reverse()
if s1 != s1r:
fl = False
else:
s2 = s[:(len(s) + 3) // 2]
s2r = list(s2)
s2r.reverse()
if s2r != s... | # -*- coding: utf-8 -*-
s = list(input())
fl = True
sf = list(s)
sf.reverse()
if sf != s:
fl = False
else:
s1 = s[:len(s)//2]
s1r = list(s1)
s1r.reverse()
if s1 != s1r:
fl = False
else:
s2 = s[(len(s) + 3) // 2 - 1:]
s2r = list(s2)
s2r.reverse()
if s2r ... | [] | 508,247 | 508,248 | u214245159 | python |
p02730 | letter = str(input())
N = len(letter)
l_1 = letter[:int((N-1)/2)]
l_2 = letter[int((N+3)/2-1):]
if(l == l[::-1] and l_1 == l_1[::-1] and l_2 == l_2[::-1]):
ans = "Yes"
else:
ans = "No"
# print(l_1)
# print(l_2)
print(ans)
| letter = str(input())
N = len(letter)
l_1 = letter[:int((N-1)/2)]
l_2 = letter[int((N+3)/2-1):]
if(letter == letter[::-1] and l_1 == l_1[::-1] and l_2 == l_2[::-1]):
ans = "Yes"
else:
ans = "No"
# print(l_1)
# print(l_2)
print(ans)
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 508,259 | 508,260 | u549278479 | python |
p02730 | n=input()
s=len(n)
d=int((s-1)/2)
p=int(s+3)/2
m=n[::-1]
n1=n[0:d-1]
n2=n1[::-1]
n3=n[p-1:]
n4=n3[::-1]
if n==m and n1==n2 and n3==n4:
print("Yes")
else:
print("No") | n=input()
s=len(n)
d=int((s-1)/2)
p=int((s+3)/2)
m=n[::-1]
n1=n[0:d]
n2=n1[::-1]
n3=n[p-1:]
n4=n3[::-1]
if n==m and n1==n2 and n3==n4:
print("Yes")
else:
print("No") | [
"call.arguments.change",
"expression.operation.binary.remove"
] | 508,263 | 508,264 | u771538568 | python |
p02730 | n = input()
m = len(n)
if n == n[::-1]:
k = n[0:(m-1)//2]
l = n[(m+3)//2-1:m]
print(k,l)
if k == k[::-1]:
if l == l[::-1]:
print('Yes')
exit()
print('No')
| n = input()
m = len(n)
if n == n[::-1]:
k = n[0:(m-1)//2]
l = n[(m+3)//2-1:m]
if k == k[::-1]:
if l == l[::-1]:
print('Yes')
exit()
print('No')
| [
"call.remove"
] | 508,269 | 508,270 | u468206018 | python |
p02730 | s = input()
res = 'Yes'
if s != s[::-1]:
res = 'No'
t = s[:(len(s)-1)//2]
if t != t[::-1]:
res = 'Yes'
u = s[((len(s)+3)//2)-1:len(s)]
if u != u[::-1]:
res = 'No'
print(res)
| s = input()
res = 'Yes'
if s != s[::-1]:
res = 'No'
t = s[:(len(s)-1)//2]
if t != t[::-1]:
res = 'No'
u = s[((len(s)+3)//2)-1:len(s)]
if u != u[::-1]:
res = 'No'
print(res)
| [
"literal.string.change",
"assignment.value.change"
] | 508,273 | 508,274 | u367965715 | python |
p02730 | string = str(input())
N = len(string)
zenhan = string[:int((N-1)/2)]
kouhan = string[int((N-1)/2)+1:]
def IsKaibun(string):
if string == string[::-1]:
return True
else:
return False
if IsKaibun(zenhan) and IsKaibun(kouhan):
print("Yes")
else:
print("No") | string = str(input())
N = len(string)
zenhan = string[:int((N-1)/2)]
kouhan = string[int((N-1)/2)+1:]
def IsKaibun(string):
if string == string[::-1]:
return True
else:
return False
if IsKaibun(string) and IsKaibun(zenhan) and IsKaibun(kouhan):
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 508,275 | 508,276 | u103520789 | python |
p02730 | import sys
S = input()
def is_palindrome(S):
P = S[::-1]
print(P)
if S == P:
return True
return False
if is_palindrome(S):
N = len(S)
if is_palindrome(S[0:(N-1)//2]) and is_palindrome(S[(N+3)//2-1:N]):
print('Yes')
sys.exit(0)
print('No') | import sys
S = input()
def is_palindrome(S):
P = S[::-1]
if S == P:
return True
return False
if is_palindrome(S):
N = len(S)
if is_palindrome(S[0:(N-1)//2]) and is_palindrome(S[(N+3)//2-1:N]):
print('Yes')
sys.exit(0)
print('No') | [
"call.remove"
] | 508,309 | 508,310 | u617037231 | python |
p02730 | s = input()
n = len(s)
def f(x):
return x == x[::-1]
if f(s[:(n-1)//2]) and f(s[(n+3)//2-1:]):
print("Yes")
else:
print("No")
| s = input()
n = len(s)
def f(x):
return x == x[::-1]
if f(s) and f(s[:(n-1)//2]) and f(s[(n+3)//2-1:]):
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 508,311 | 508,312 | u664031692 | python |
p02730 | s = input()
n = len(s)
cnt = 0
if s == s[::-1]:
cnt += 1
idx = (n-1)//2
if s[:idx] == s[:idx][::-1]:
cnt += 1
idx = (n+3)//2
if s[idx:] == s[idx:][::-1]:
cnt += 1
print("Yes" if cnt == 3 else "No")
| s = input()
n = len(s)
cnt = 0
if s == s[::-1]:
cnt += 1
idx = (n-1)//2
if s[:idx] == s[:idx][::-1]:
cnt += 1
idx = (n+3)//2-1
if s[idx:] == s[idx:][::-1]:
cnt += 1
print("Yes" if cnt == 3 else "No")
| [
"assignment.change"
] | 508,315 | 508,316 | u790710233 | python |
p02730 | def palindrome(s):
return s == s[::-1]
def judge(s):
return palindrome(s) and palindrome(s[0:len(s)-1//2]) and palindrome(s[len(s)-1//2:])
S = input()
print('Yes' if judge(S) else 'No')
| def palindrome(s):
return s == s[::-1]
def judge(s):
return palindrome(s) and palindrome(s[0:(len(s)-1)//2]) and palindrome(s[(len(s)-1)//2+1:])
S = input()
print('Yes' if judge(S) else 'No')
| [
"call.arguments.change",
"function.return_value.change"
] | 508,339 | 508,340 | u897302879 | python |
p02730 | def isparin(t):
#print(t)
M=len(t)
for i in range(M):
if t[i]!=t[M-1-i]:
return False
return True
S=input()
N=len(S)
res=isparin(S[:(N-1)//2]) and isparin(S[(N+1)//2:])
print("Yes" if res else "No")
| def isparin(t):
#print(t)
M=len(t)
for i in range(M):
if t[i]!=t[M-1-i]:
return False
return True
S=input()
N=len(S)
res=isparin(S) and isparin(S[:(N-1)//2]) and isparin(S[(N+1)//2:])
print("Yes" if res else "No")
| [] | 508,361 | 508,362 | u692632484 | python |
p02730 | s = input()
n = len(s)
t = s[:(n - 1) // 2]
u = s[(n + 3) // 2 - 1:]
print(t, u)
if s == s[::-1] and t == t[::-1] and u == u[::-1]:
print('Yes')
else:
print('No')
| s = input()
n = len(s)
t = s[:(n - 1) // 2]
u = s[(n + 3) // 2 - 1:]
if s == s[::-1] and t == t[::-1] and u == u[::-1]:
print('Yes')
else:
print('No')
| [
"call.remove"
] | 508,367 | 508,368 | u668923019 | python |
p02730 | def kai(s):
n = len(s)
for i in range(n):
if s[i]!=s[n-i-1]:
return False
else:
return True
s = input()
n = len(s)
if kai(s) and kai(s[:(n-1)//2]) and kai(s[(n+3)//2:]):
print('Yes')
else:
print('No')
| def kai(s):
n = len(s)
for i in range(n):
if s[i]!=s[n-i-1]:
return False
else:
return True
s = input()
n = len(s)
if kai(s) and kai(s[:(n-1)//2]) and kai(s[(n+1)//2]):
print('Yes')
else:
print('No')
| [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 508,410 | 508,411 | u036340997 | python |
p02730 | S = input()
N = len(S)
def p(T):
for i in range(len(T)):
if T[i] != T[-i-1]:
return False
return True
if p(S[:(N-1)//2]) and p(S[(N+3)//2-1:]):
print("Yes")
else:
print("No")
| S = input()
N = len(S)
def p(T):
for i in range(len(T)):
if T[i] != T[-i-1]:
return False
return True
if p(S) and p(S[:(N-1)//2]) and p(S[(N+3)//2-1:]):
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 508,413 | 508,414 | u736729525 | python |
p02731 | l=int(input())
print(L**3/27) | l=int(input())
print(l**3/27) | [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 508,435 | 508,436 | u344813796 | python |
p02731 | print((int(input))**3/27) | print(int(input())**3/27) | [
"call.arguments.change"
] | 508,446 | 508,447 | u112247039 | python |
p02731 | L = int(input())
A = int(L/3)
B = int((L-A)/2)
C = L - A - B
print(A * B * C) | L = int(input())
A = L/3
B = (L-A)/2
C = L - A - B
print(A * B * C) | [
"call.remove",
"call.arguments.change"
] | 508,448 | 508,449 | u739843002 | python |
p02731 | l=int(input())
a=l//3
print(a*a*a) | l=int(input())
a=l/3
print(a*a*a) | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 508,453 | 508,454 | u087118202 | python |
p02731 | print((int(input())/12)**3) | print((int(input())/3)**3) | [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 508,465 | 508,466 | u203239974 | python |
p02731 | L = input()
returnVal = (L/3)**3
print(returnVal) | L = float(input())
returnVal = (L/3)**3
print(returnVal) | [
"call.add",
"call.arguments.change"
] | 508,467 | 508,468 | u037069148 | python |
p02731 | L = int(input())
print((L//3)**3) | L = int(input())
print((L/3)**3)
| [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 508,478 | 508,479 | u240630407 | python |
p02731 | L = int(input())
a = L // 3
b = L // 3
c = L - a - b
print(a * b * c) | L = int(input())
a = L / 3
b = L / 3
c = L - a - b
print(a * b * c) | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 508,484 | 508,485 | u898109279 | python |
p02731 | L = int(input())
print(L/3**3) | L = int(input())
print((L/3) ** 3) | [
"call.arguments.change"
] | 508,498 | 508,499 | u426205961 | python |
p02731 | L=int(input())
print(pow(L//3,3)) | L=int(input())
print(pow(L/3,3)) | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 508,520 | 508,521 | u729939940 | python |
p02731 | L = int(input())
l = int(L / 3)
L -= l
b = L / 2
h = L - b
print(l * b * h) | L = int(input())
l = L / 3
L -= l
b = L / 2
h = L - b
print(l * b * h) | [
"call.remove",
"call.arguments.change"
] | 508,523 | 508,524 | u729939940 | python |
p02731 | L = int(input())
result = L / 3
print(result)
| L = int(input())
result = (L / 3) ** 3
print(result)
| [
"assignment.change"
] | 508,572 | 508,573 | u891516200 | python |
p02731 | L = int(input().split())
print((L**3)/27) | L = int(input())
print((L**3)/27)
| [
"call.remove"
] | 508,653 | 508,654 | u757274384 | python |
p02731 | print((int(input()))**3/9) | print((int(input())**3 / 27)) | [
"call.arguments.change",
"literal.number.integer.change",
"expression.operation.binary.change",
"io.output.change"
] | 508,680 | 508,681 | u749742659 | python |
p02731 | N=int(input())
print((N**3)//27) | N=int(input())
print((N**3)/27) | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 508,682 | 508,683 | u969708690 | python |
p02731 | l=int(input())
if l%3==0:
k=l/3
print(k**3)
else:
n=int(l/3)
m=l-2*n
print(n*n*m) | l=int(input())
if l%3==0:
k=l/3
print(k**3)
else:
n=l/3
m=l-2*n
print(n*n*m) | [
"call.remove",
"call.arguments.change"
] | 508,704 | 508,705 | u938718404 | python |
p02731 | L = input()
print((L/3)**3) | # coding: utf-8
L = int(input())
print((L/3)**3.0) | [
"call.add",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 508,714 | 508,715 | u044220565 | python |
p02731 | L = int(input())
print(L ** 3 / 9) | L = int(input())
print(L ** 3 / 27) | [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 508,726 | 508,727 | u536034761 | python |
p02731 | l=int(input())
ans((l/3.0)**3) | l=int(input())
print((l/3)**3) | [
"identifier.change",
"call.function.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 508,744 | 508,745 | u093861603 | python |
p02731 | l=int(input())
ans((l/3.0)**3) | l=int(input())
print((l/3.0)**3) | [
"identifier.change",
"call.function.change"
] | 508,744 | 508,746 | u093861603 | python |
p02731 | # ABC159C
# 縦,横,高さの合計が len である直方体のうち,体積が最大のものの体積はいくつか
def f(len):
print((len / 3) * 3)
f(int(input()))
| # ABC159C
# 縦,横,高さの合計が len である直方体のうち,体積が最大のものの体積はいくつか
def f(len):
print((len / 3) ** 3)
f(int(input()))
| [
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 508,747 | 508,748 | u437215432 | python |
p02731 | a=int(input())
print((a/3)*3) | a=int(input())
print((a/3)**3) | [
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 508,754 | 508,755 | u115877451 | python |
p02731 | L = int(input())
a = L // 3
print(a*a*a)
| L = int(input())
a = L / 3
print(a*a*a)
| [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 508,775 | 508,776 | u384379887 | python |
p02731 | n = input()
n = n/3
a = n**3
print(a) | n = int(input())
n = n/3
a = n**3
print(a) | [
"call.add",
"call.arguments.change"
] | 508,779 | 508,780 | u950567701 | python |
p02731 | l = int(input())
print((l**3)/9) | l = int(input())
print((l**3)/27) | [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 508,787 | 508,788 | u709079466 | python |
p02731 | n=int(input())
print((n**3)/3) | n=int(input())
print((n**3)/27) | [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 508,793 | 508,794 | u266264498 | python |
p02731 | l = input()
V = (l/3)**3
print(V) | l = int(input())
V = (l/3)**3
print(V)
| [
"call.add",
"call.arguments.change"
] | 508,819 | 508,820 | u316649390 | python |
p02731 | # C - Maximum Volume
# https://atcoder.jp/contests/abc159/tasks/abc159_c
L = int(input())
center = (L/3)
pre = center - 0.1
follow = center + 0.1
# print(pre)
# print(center)
# print(follow)
print(pre*center*follow) | # C - Maximum Volume
# https://atcoder.jp/contests/abc159/tasks/abc159_c
L = int(input())
center = (L/3)
pre = center - 0.1
follow = center + 0.1
# print(pre)
# print(center)
# print(follow)
print(center*center*center) | [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 508,827 | 508,828 | u189089176 | python |
p02731 | l = int(input())
print(pow(l/3),3) | l = int(input())
print(pow(l/3,3)) | [
"call.arguments.change"
] | 508,845 | 508,846 | u217086212 | python |
p02731 | L = int(input())
v = (L / 3) ^ 3
print(v) | L = int(input())
v = (L / 3) ** 3
print(v)
| [
"assignment.value.change",
"expression.operation.binary.change"
] | 508,849 | 508,850 | u429476630 | python |
p02731 | l = int(input())
a = l // 3
b = (l-a)/2
c = b
print(a*b*c) | l = int(input())
a = l / 3
b = (l-a)/2
c = b
print(a*b*c) | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 508,856 | 508,857 | u652656291 | python |
p02731 | l = int(input())
a = l // 3
b = (l-a)//2
c = b
print(a*b*c) | l = int(input())
a = l / 3
b = (l-a)/2
c = b
print(a*b*c) | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 508,858 | 508,857 | u652656291 | python |
p02731 | l = int(input())
ll = float(l)
a=0
b=0
c=0
if(ll%3 == 0):
a=ll/3
b=ll/3
c=ll/3
else:
a=ll/3
b=11/3
c=ll-a-b
print(a*b*c) | l = int(input())
ll = float(l)
a=0
b=0
c=0
if(ll%3 == 0):
a=ll/3
b=ll/3
c=ll/3
else:
a=ll/3
b=a
c=ll-a-b
print(a*b*c) | [
"assignment.value.change",
"identifier.replace.add",
"literal.replace.remove",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 508,871 | 508,872 | u810066979 | python |
p02731 | n = int(input())
print(n/3**3) | n = int(input())
print((n/3)**3) | [
"call.arguments.change"
] | 508,876 | 508,877 | u084320347 | python |
p02731 | L=int(input())
a=L/3
b=a**3
print("{;.12f}".format(b)) | L=int(input())
a=L/3
b=a**3
print("{:.12f}".format(b))
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 508,917 | 508,918 | u109617108 | python |
p02731 | print(int(input())/3**3) | print((int(input())/3)**3)
| [
"call.arguments.change"
] | 508,923 | 508,924 | u608007704 | python |
p02731 | L = int(input())
print(format((L*3/9),'.20f')) | L = int(input())
print(format((L**3/27),'.20f')) | [
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"literal.number.integer.change"
] | 508,950 | 508,951 | u425762225 | python |
p02731 | L = int(input())
print(format((L*3/27),'.20f')) | L = int(input())
print(format((L**3/27),'.20f')) | [
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 508,952 | 508,951 | u425762225 | python |
p02731 | l = int(input())
v = (l/3)**2
print(v) | l = int(input())
v = (l/3)**3
print(v)
| [
"literal.number.integer.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 508,968 | 508,969 | u936285815 | python |
p02731 | l = input()
v = (l/3)**2
print(v)
| l = int(input())
v = (l/3)**3
print(v)
| [
"call.add",
"call.arguments.change",
"literal.number.integer.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 508,970 | 508,969 | u936285815 | python |
p02731 | L = int(input())
x = (l / 3)
print(pow(x, 3)) | l = int(input())
x = (l / 3)
print(pow(x, 3)) | [
"assignment.variable.change",
"identifier.change"
] | 508,973 | 508,974 | u596979123 | python |
p02731 | l = int(input());
ans = (l / 3) ^ 3;
print(ans);
| l = int(input());
ans = (l / 3) ** 3;
print(ans);
| [
"assignment.value.change",
"expression.operation.binary.change"
] | 508,975 | 508,976 | u508061226 | python |
p02731 | l = input();
ans = (l / 3) ^ 3;
print(ans);
| l = int(input());
ans = (l / 3) ** 3;
print(ans);
| [
"call.add",
"call.arguments.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 508,977 | 508,976 | u508061226 | python |
p02731 | import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product, groupby
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_... | import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product, groupby
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_... | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 508,998 | 508,999 | u285891772 | python |
p02731 | import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product, groupby
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_... | import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product, groupby
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_... | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 508,998 | 509,000 | u285891772 | python |
p02731 | l = input().split()
m = int(l)
N = m/3
v = pow(N,3)
print(v) | l = input()
m = int(l)
N = m/3
v = pow(N,3)
print(v)
| [
"call.remove"
] | 509,004 | 509,005 | u641393644 | python |
p02731 | L = int(input)
print((L**3)/27) | L = int(input())
print((L**3)/27) | [
"call.add"
] | 509,006 | 509,007 | u875449556 | python |
p02731 | print(pow(int(input) / 3, 3)) | print(pow(int(input()) / 3, 3)) | [
"call.add"
] | 509,024 | 509,025 | u934868410 | python |
p02731 | L = int(input())
volume = L ** 3 / 9
print(volume)
| L = int(input())
# volume = (L / 3) * (L / 3) * (L / 3)
volume = L ** 3 / 27
print(volume)
| [
"literal.number.integer.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 509,026 | 509,027 | u017624958 | python |
p02731 | L = int(input())
volume = L ** 3 / 3
print(volume)
| L = int(input())
# volume = (L / 3) * (L / 3) * (L / 3)
volume = L ** 3 / 27
print(volume)
| [
"literal.number.integer.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 509,028 | 509,027 | u017624958 | python |
p02731 | f = int(input()) / 3.0
print("{.9f}".format(f * f * f))
| f = int(input()) / 3.0
print("{:.9f}".format(f * f * f))
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 509,039 | 509,040 | u743272507 | python |
p02731 | L=input()
x=L/6
y=L/6
z=L/6
print(x*y*z) | L=int(input())
x=L/3
y=L/3
z=L/3
print(x*y*z) | [
"call.add",
"call.arguments.change",
"literal.number.integer.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 509,043 | 509,044 | u224119985 | python |
p02731 | l = int(input())
print(pow(1/3,3)) | l = int(input())
print(pow(l/3,3)) | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 509,049 | 509,050 | u644568755 | python |
p02731 | n = int(input())
print(n**3//27) | n = int(input()); print(n**3/27) | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 509,056 | 509,057 | u078181689 | python |
p02731 | n = int(input())
print(n**3//27) | n = int(input())
print(n**3/27) | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 509,056 | 509,058 | u078181689 | python |
p02731 | print(float((input())**3/27))
| print(int(input())**3/27)
| [
"identifier.change",
"call.function.change",
"call.arguments.change",
"io.output.change"
] | 509,063 | 509,064 | u062754605 | python |
p02731 | #整数の入力
N = int(input())
a = int(N/3)
print(a*a*a) | #整数の入力
N = int(input())
a = N/3
print(a*a*a) | [
"call.remove",
"call.arguments.change"
] | 509,080 | 509,081 | u964521959 | python |
p02731 | L = int(input())
num = L//3
print(num*num*num) | L = int(input())
num = L/3
print(num*num*num) | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 509,104 | 509,105 | u934788990 | python |
p02731 | print(float(input()) / 3 ** 3) | print((float(input()) / 3) ** 3) | [
"call.arguments.change"
] | 509,108 | 509,109 | u057993957 | python |
p02731 | l = input()
print(l/3 ** 3) | l = int(input())
print((l/3) ** 3) | [
"call.add",
"call.arguments.change"
] | 509,114 | 509,115 | u540631540 | python |
p02731 | L=int(input())
l=L//3
print(l*l*(L-2*l))
| L=int(input())
l=L/3
print(l*l*(L-2*l)) | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 509,124 | 509,125 | u798557584 | python |
p02731 | l = int(input())
if l%3 == 0:
print((l//3)**3)
else:
t = l//3
if l%3 == 1:
print(t**3+t**2+t/3+1/27)
else:
print(t**3+2*t**2+2*t/3+8/27)
| l = int(input())
if l%3 == 0:
print((l//3)**3)
else:
t = l//3
if l%3 == 1:
print(t**3+t**2+t/3+1/27)
else:
print(t**3+2*t**2+4*t/3+8/27)
| [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 509,157 | 509,158 | u933129390 | python |
p02731 | L = int(input())
print((L / 2) ** 3)
| L = int(input())
print((L / 3) ** 3)
| [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 509,159 | 509,160 | u945181840 | python |
p02731 | L = int(input().strip())
print(L/3**3) | L = int(input().strip())
print((L/3)**3) | [
"call.arguments.change"
] | 509,189 | 509,190 | u970133396 | python |
p02731 | s = input(int())
print(s*s*s/27) | s = int(input())
print(s*s*s/27) | [
"call.remove",
"call.arguments.add"
] | 509,198 | 509,199 | u363080243 | python |
p02731 | l =input();
l = int(l);
print((L/3)^3) | l = input();
l = int(l);
print((l/3)**3)
| [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 509,210 | 509,211 | u338644171 | python |
p02731 | l = float(input())
print((l//3)**3) | l = float(input())
print((l/3)**3)
| [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 509,238 | 509,239 | u677400065 | python |
p02731 | L=int(input())
print(L/27) | L=int(input())
print(L**3/27) | [
"expression.operation.binary.add"
] | 509,253 | 509,254 | u023328467 | python |
p02731 | L = float(input())
ans = float((L/3)**3) | L = float(input())
ans = float((L/3)**3)
print(ans) | [
"call.add"
] | 509,274 | 509,275 | u606146341 | python |
p02731 | l = int(input())
print(l**3) | l = int(input())
print((l/3)**3)
| [
"call.arguments.change"
] | 509,282 | 509,283 | u265118937 | python |
p02731 | L = int(input())
print((L//3.0) ** 3) | L = int(input())
print((L/3.0) ** 3) | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 509,287 | 509,288 | u908505367 | python |
p02731 | L = int(input())
print((L//3) ** 3) | L = int(input())
print((L/3.0) ** 3) | [] | 509,289 | 509,288 | u908505367 | python |
p02731 | L = int(input())
print(L//3 ** 3) | L = int(input())
print((L/3.0) ** 3) | [
"call.arguments.change"
] | 509,290 | 509,288 | u908505367 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.