Datasets:

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
p02618
d = int(input()) c = list(map(int,input().split())) cmax = max(c) for al in range(26): if c[al] == cmax: maxc = al up = [] for _ in range(d): up.append(list(map(int,input().split()))) ans = [[-1] for _ in range(26)] for i in range(d): ans[maxc].append(i) task = [maxc for i in range(d)] #print(task) #ans[0].ap...
d = int(input()) c = list(map(int,input().split())) cmax = max(c) for al in range(26): if c[al] == cmax: maxc = al up = [] for _ in range(d): up.append(list(map(int,input().split()))) ans = [[-1] for _ in range(26)] for i in range(d): ans[maxc].append(i) task = [maxc for i in range(d)] #print(task) #ans[0].ap...
[ "call.remove" ]
327,797
327,799
u111365362
python
p02618
import numpy as np D = int(input()) C = ([int(x) for x in input().split()]) for d in range(D): exec('s{} = ([int(x) for x in input().split()])'.format(d)) d = 0 lday = np.array([0] * 26) C = np.array(C) while d != D: exec("curs = np.array(s{})".format(d)) pos_max_i = np.argmax(curs) decl = C * ...
import numpy as np D = int(input()) C = ([int(x) for x in input().split()]) for d in range(D): exec('s{} = ([int(x) for x in input().split()])'.format(d)) d = 0 lday = np.array([0] * 26) C = np.array(C) while d != D: exec("curs = np.array(s{})".format(d)) pos_max_i = np.argmax(curs) decl = C * ...
[ "expression.operation.binary.add" ]
327,821
327,822
u595833382
python
p02618
# -*- coding: utf-8 -*- import random random.seed(0) D = int(input()) C = list(map(int, input().split())) list_S = [list(map(int, input().split())) for _ in range(D)] answer = [] L = [0 for _ in range(26)] for S in list_S: contest_index = -1 contest_manzoku = -10**9 for i in range(26): i_manzoku = S[i]+C[i]...
# -*- coding: utf-8 -*- import random random.seed(0) D = int(input()) C = list(map(int, input().split())) list_S = [list(map(int, input().split())) for _ in range(D)] answer = [] L = [0 for _ in range(26)] for S in list_S: contest_index = -1 contest_manzoku = -10**9 for i in range(26): i_manzoku = S[i]+C[i]...
[ "identifier.change" ]
327,926
327,927
u249218427
python
p02618
d = int(input()) cl = list(map(int, input().split())) sl = [] for _ in range(d): sl.append(list(map(int, input().split()))) tl = [] # for _ in range(d): # tl.append(int(input())) last_di = [-1]*26 ans = 0 for day in range(d): best_t = 0 best_t_val = -999999999999 for t in range(26): curr_v...
d = int(input()) cl = list(map(int, input().split())) sl = [] for _ in range(d): sl.append(list(map(int, input().split()))) tl = [] # for _ in range(d): # tl.append(int(input())) last_di = [-1]*26 ans = 0 for day in range(d): best_t = 0 best_t_val = -999999999999 for t in range(26): curr_v...
[ "call.remove" ]
327,930
327,931
u493520238
python
p02618
d = int(input()) c = tuple(map(int, input().split())) s = [ tuple(map(int, input().split())) for _ in range(d) ] m = 0 ans = [] last = [0] * 26 for i in range(d): # for all contest mdmax = -10000000000000000 mdi = 0 for j, ss in enumerate(s[i]): md = 0 # choose one contest to op...
d = int(input()) c = tuple(map(int, input().split())) s = [ tuple(map(int, input().split())) for _ in range(d) ] m = 0 ans = [] last = [0] * 26 for i in range(d): # for all contest mdmax = -10000000000000000 mdi = 0 for j, ss in enumerate(s[i]): md = 0 # choose one contest to op...
[ "assignment.value.change", "identifier.change", "expression.operation.binary.change", "call.remove" ]
327,964
327,965
u622570247
python
p02618
d = int(input()) c = tuple(map(int, input().split())) s = [ tuple(map(int, input().split())) for _ in range(d) ] m = 0 ans = [] last = [0] * 26 for i in range(d): # for all contest mdmax = -10000000000000000 mdi = 0 for j, ss in enumerate(s[i]): md = 0 # choose one contest to op...
d = int(input()) c = tuple(map(int, input().split())) s = [ tuple(map(int, input().split())) for _ in range(d) ] m = 0 ans = [] last = [0] * 26 for i in range(d): # for all contest mdmax = -10000000000000000 mdi = 0 for j, ss in enumerate(s[i]): md = 0 # choose one contest to op...
[ "call.remove" ]
327,964
327,966
u622570247
python
p02618
D = int(input()) c = list(map(int,input().split())) s = list(list(map(int,input().split())) for i in range(D)) t = [] score = 0 last = [0]*26 #v = [0]*D def calc(d): """ 貪欲法でd日目のスコアが最も高くなるコンテストを出力 """ score = 0 t = 0 contest = 0 for i in range(26): temp = 0 temp += s[d][i] ...
D = int(input()) c = list(map(int,input().split())) s = list(list(map(int,input().split())) for i in range(D)) t = [] score = 0 last = [0]*26 #v = [0]*D def calc(d): """ 貪欲法でd日目のスコアが最も高くなるコンテストを出力 """ score = 0 t = 0 contest = 0 for i in range(26): temp = 0 temp += s[d][i] ...
[ "call.remove" ]
327,997
327,998
u285443936
python
p02618
###================================================== ### import #import bisect #from collections import Counter, deque, defaultdict #from copy import deepcopy #from functools import reduce, lru_cache #from heapq import heappush, heappop #import itertools #import math #import string import sys ### stdin def input(): re...
###================================================== ### import #import bisect #from collections import Counter, deque, defaultdict #from copy import deepcopy #from functools import reduce, lru_cache #from heapq import heappush, heappop #import itertools #import math #import string import sys ### stdin def input(): re...
[ "call.remove" ]
328,008
328,009
u762557532
python
p02618
import numpy as np D = int(input()) c = list(map(int,input().split())) s=[] for i in range(D): x = np.array(list(map(int, input().split()))) s.append(c[x.argmax()]) for i in range(D): print(s[i])
import numpy as np D = int(input()) c = list(map(int,input().split())) s=[] for i in range(D): x = np.array(list(map(int, input().split()))) s.append(x.argmax()) for i in range(D): print(s[i]+1)
[ "call.arguments.change" ]
328,021
328,022
u929996201
python
p02618
import numpy as np D = int(input()) c = list(map(int,input().split())) s=[] f=[] for i in range(D): if(i%26 == 0): f = [0]*26 x = np.array(list(map(int, input().split()))) for j in range(26): if(f[j]!=0): x.delete(1,j) s.append(x.argmax()) for i in range(D): print(s[i])
import numpy as np D = int(input()) c = list(map(int,input().split())) s=[] f=[] for i in range(D): if(i%26 == 0): f = [0]*26 x = np.array(list(map(int, input().split()))) for j in range(26): if(f[j]!=0): x.delete(1,j) s.append(x.argmax()) for i in range(D): print(s[i]+1)
[ "expression.operation.binary.add" ]
328,023
328,024
u929996201
python
p02618
def main(): D = int(input()) c = list(map(int, input().split())) last = [0] * 27 for d in range(1, D+1): s = list(map(int, input().split())) max_s = max(s) index_s = s.index(max_s) print(index_s) if __name__ == '__main__': main()
def main(): D = int(input()) c = list(map(int, input().split())) last = [0] * 27 for d in range(1, D+1): s = list(map(int, input().split())) max_s = max(s) index_s = s.index(max_s) print(index_s + 1) if __name__ == '__main__': main()
[ "expression.operation.binary.add" ]
328,025
328,027
u630237503
python
p02618
D = int(input()) C = [0] + list(map(int, input().split())) S = [0] + [[0] + list(map(int, input().split())) for _ in range(D)] last = [0] + [0 for _ in range(26)] for d in range(1, D+1): vmax = -float('inf') for i in range(1, 27): v = 0 last_ = [s for s in last] v += S[d][i] la...
D = int(input()) C = [0] + list(map(int, input().split())) S = [0] + [[0] + list(map(int, input().split())) for _ in range(D)] last = [0] + [0 for _ in range(26)] for d in range(1, D+1): vmax = -float('inf') for i in range(1, 27): v = 0 last_ = [s for s in last] v += S[d][i] la...
[ "identifier.change", "call.arguments.change", "io.output.change" ]
328,035
328,036
u384793271
python
p02618
N = 26 D = int(input()) C = [int(i) for i in input().split()] S = [] for i in range(D): s = [int(i) for i in input().split()] m = max(s) i = s.index(m) S.append(i) for i in S: print(i)
N = 26 D = int(input()) C = [int(i) for i in input().split()] S = [] for i in range(D): s = [int(i) for i in input().split()] m = max(s) i = s.index(m) S.append(i+1) for i in S: print(i)
[ "expression.operation.binary.add" ]
328,045
328,046
u608755339
python
p02618
D = int(input()) c = list(map(int, input().split())) S = [list(map(int, input().split())) for i in range(D)] #T = [int(input()) for i in range(D)] SUM = 0 last = [0] * 28 for d in range(1, D + 1): i = S[d - 1].index(max(S[d - 1])) print(i)
D = int(input()) c = list(map(int, input().split())) S = [list(map(int, input().split())) for i in range(D)] #T = [int(input()) for i in range(D)] SUM = 0 last = [0] * 28 for d in range(1, D + 1): i = S[d - 1].index(max(S[d - 1])) print(i + 1)
[ "expression.operation.binary.add" ]
328,047
328,048
u189397279
python
p02618
D = int(input()) c = list(map(int, input().split())) S = [list(map(int, input().split())) for i in range(D)] #T = [int(input()) for i in range(D)] SUM = 0 last = [0] * 28 for d in range(1, D + 1): i = S[d].index(max(S[d])) print(i)
D = int(input()) c = list(map(int, input().split())) S = [list(map(int, input().split())) for i in range(D)] #T = [int(input()) for i in range(D)] SUM = 0 last = [0] * 28 for d in range(1, D + 1): i = S[d - 1].index(max(S[d - 1])) print(i + 1)
[ "assignment.change", "expression.operation.binary.add" ]
328,049
328,048
u189397279
python
p02618
D = int(input())#D=365 c = list(map(int, input().split()))#0<=c<=100 s = [list(map(int, input().split())) for _ in range(D)]#0<=s<=20000 t = [] for d in range(D): t.append(s.index(max(s[d])) + 1) for i in range(D): print(t[i])
D = int(input())#D=365 c = list(map(int, input().split()))#0<=c<=100 s = [list(map(int, input().split())) for _ in range(D)]#0<=s<=20000 t = [] for d in range(D): t.append(s[d].index(max(s[d])) + 1) for i in range(D): print(t[i])
[]
328,094
328,095
u732870425
python
p02618
D = int(input()) C = list(map(int,input().split())) S = [list(map(int,input().split())) for _ in range(D)] # 初期化 Ans = 0 # 満足度 last = [-1]*26 # 満足度を計算 for d in range(D): max_ans = 0 max_i = 0 # 開催するコンテストID for contest_id in range(26): ans = 0 # 満足度をプラス ans += S[d][contest_id] ...
D = int(input()) C = list(map(int,input().split())) S = [list(map(int,input().split())) for _ in range(D)] # 初期化 Ans = 0 # 満足度 last = [-1]*26 # 満足度を計算 for d in range(D): max_ans = -999999999 max_i = 0 # 開催するコンテストID for contest_id in range(26): ans = 0 # 満足度をプラス ans += S[d][cont...
[ "assignment.value.change", "expression.operation.unary.add" ]
328,112
328,113
u281303342
python
p02618
D = int(input()) C = list(map(int,input().split())) S = [list(map(int,input().split())) for _ in range(D)] # 初期化 Ans = 0 # 満足度 last = [-1]*26 # 満足度を計算 for d in range(D): max_ans = 0 max_i = 0 # 開催するコンテストID for contest_id in range(26): ans = 0 # 満足度をプラス ans += S[d][contest_id] ...
D = int(input()) C = list(map(int,input().split())) S = [list(map(int,input().split())) for _ in range(D)] # 初期化 Ans = 0 # 満足度 last = [-1]*26 # 満足度を計算 for d in range(D): max_ans = 0 max_i = 0 # 開催するコンテストID for contest_id in range(26): ans = 0 # 満足度をプラス ans += S[d][contest_id] ...
[ "expression.operation.binary.add" ]
328,112
328,114
u281303342
python
p02618
d = int(input()) c = list(map(int, input().split())) s = np.array([list(map(int, input().split())) for _ in range(d)]) init = s.argmax(axis=1) + 1 for i in range(d): print(init[i])
import numpy as np d = int(input()) c = list(map(int, input().split())) s = np.array([list(map(int, input().split())) for _ in range(d)]) init = s.argmax(axis=1) + 1 for i in range(d): print(init[i])
[]
328,119
328,120
u860002137
python
p02618
#import math import numpy as np #import torch #import torch.nn as nn #import matplotlib.pyplot as plt #from decimal import Decimal #import itertools #import collections D=int(input()) #N,M,K = map(int,input().split()) #B,W = map(int,input().split()) #T=int(input()) C = list(map(int,input().split())) #S=str(input()) c=...
#import math import numpy as np #import torch #import torch.nn as nn #import matplotlib.pyplot as plt #from decimal import Decimal #import itertools #import collections D=int(input()) #N,M,K = map(int,input().split()) #B,W = map(int,input().split()) #T=int(input()) C = list(map(int,input().split())) #S=str(input()) c=...
[ "call.add", "call.arguments.change" ]
328,151
328,152
u991619971
python
p02618
d = int(input()) c = list(map(int, input().split())) for i in range(d): s = list(map(int, input().split())) num = max(s) print(l.index(num)+1)
d = int(input()) c = list(map(int, input().split())) for i in range(d): s = list(map(int, input().split())) num = max(s) print(s.index(num)+1)
[ "identifier.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
328,153
328,154
u771167374
python
p02619
D = int(input()) c = list(map(int,input().split())) s = [list(map(int,input().split())) for _ in range(D)] t = [int(input()) for _ in range(D)] S = 0 last = [-1]*26 score = 0; for d in range(D): S += s[d][t[d]] last[t[d]] = d for i in range(26): S-=c[i]*(d - last[i]) score +=max(10**6+S,0) ...
D = int(input()) c = list(map(int,input().split())) s = [list(map(int,input().split())) for _ in range(D)] t = [int(input())-1 for _ in range(D)] S = 0 last = [-1]*26 score = 0; for d in range(D): S += s[d][t[d]] last[t[d]] = d for i in range(26): S-=c[i]*(d - last[i]) score +=max(10**6+S,0) ...
[ "assignment.change" ]
328,164
328,165
u986025116
python
p02619
def read_input(): D = int(input()) C = input().split() C = [int(i) for i in C] S = [list(map(int, input().split())) for _ in range(D)] T = [int(input()) for _ in range(D)] return D, C, S, T def scoring(S, D, T, C): res = [] last = [0 for _ in range(26)] final = 0 for i in rang...
def read_input(): D = int(input()) C = input().split() C = [int(i) for i in C] S = [list(map(int, input().split())) for _ in range(D)] T = [int(input()) for _ in range(D)] return D, C, S, T def scoring(S, D, T, C): res = [] last = [0 for _ in range(26)] final = 0 for i in range...
[ "assignment.change" ]
328,172
328,173
u274126492
python
p02619
D=int(input()) C=list(map(int,input().split())) import sys S=list() for i in range(D): S.append(list(map(int,input().split()))) t=list() for i in range(D): t.append(int(input())) M=0 di=[0]*26 for d in range(D): for i in range(26): if i==t[d]-1: di[i]=0 else: di[i]+=1 M+=S[d][t[d]-1] for ...
D=int(input()) C=list(map(int,input().split())) S=list() for i in range(D): S.append(list(map(int,input().split()))) t=list() for i in range(D): t.append(int(input())) M=0 di=[0]*26 for d in range(D): for i in range(26): if i==t[d]-1: di[i]=0 else: di[i]+=1 M+=S[d][t[d]-1] for i in range(...
[ "expression.operation.binary.remove" ]
328,190
328,191
u364027015
python
p02619
d =int(input()) c = list(map(int, input().split())) s = [] t = [] d_l = [] score = 0 soft = 0 for i in range(d): s.append(0) s[i] = list(map(int, input().split())) for i in range(26): d_l.append(0) for i in range(d): t = int(input()) soft = 0 for j in range(26): if t-1 == j...
d =int(input()) c = list(map(int, input().split())) s = [] t = [] d_l = [] score = 0 soft = 0 for i in range(d): s.append(0) s[i] = list(map(int, input().split())) for i in range(26): d_l.append(0) for i in range(d): t = int(input()) soft = 0 for j in range(26): if t-1 == j...
[ "assignment.value.change" ]
328,222
328,223
u981418135
python
p02619
def complain(comp,c,k,last_hold,i): # print(k) if(k > 26): # print("___") return comp comp += c[k-1]*((i+1) - last_hold[k-1]) k += 1 # print(comp,"comp") return complain(comp,c,k,last_hold,i) D = int(input()) c = list(map(int,input().split())) s = ["_"]*(D) print(c) for i in ra...
def complain(comp,c,k,last_hold,i): # print(k) if(k > 26): # print("___") return comp comp += c[k-1]*((i+1) - last_hold[k-1]) k += 1 # print(comp,"comp") return complain(comp,c,k,last_hold,i) D = int(input()) c = list(map(int,input().split())) s = ["_"]*(D) # print(c) for i in ...
[ "call.remove" ]
328,224
328,225
u802234211
python
p02619
# -*- coding: utf-8 -*- import time import numpy as np start = time.time() limit_time = 1.8 # 整数の入力 d = int(input()) c = [int(i) for i in input().split()] s = [[int(i) for i in input().split()] for j in range(d)] def point(t): result = 0 map = { 0: 0, 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 0, 9...
# -*- coding: utf-8 -*- import time import numpy as np start = time.time() limit_time = 1.8 # 整数の入力 d = int(input()) c = [int(i) for i in input().split()] s = [[int(i) for i in input().split()] for j in range(d)] def point(t): result = 0 map = { 0: 0, 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 0, 9...
[ "call.add" ]
328,235
328,236
u324739185
python
p02619
import sys input = sys.stdin.readline def I(): return int(input()) def MI(): return map(int, input().split()) def LI(): return list(map(int, input().split())) d = I() contest = LI() mylist = [LI() for i in range(26)] day = [0] * 26 result = 0 for i in range(d): temp = I() result += mylist[i][temp-1] day =...
# coding: utf-8 # Your code here! import sys input = sys.stdin.readline def I(): return int(input()) def MI(): return map(int, input().split()) def LI(): return list(map(int, input().split())) d = I() contest = LI() mylist = [LI() for i in range(d)] day = [0] * 26 result = 0 for i in range(d): temp = I() re...
[ "assignment.value.change", "identifier.replace.add", "literal.replace.remove", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
328,256
328,257
u591808161
python
p02618
import random d = int(input()) c = list(map(int, input().split())) s = [] for i in range(d): s = list(map(int, input().split())) print(1+s.index(max(x)))
import random d = int(input()) c = list(map(int, input().split())) s = [] for i in range(d): s = list(map(int, input().split())) print(1+s.index(max(s)))
[ "identifier.change", "call.arguments.change", "expression.operation.binary.change" ]
328,310
328,311
u072606168
python
p02618
from statistics import mean from typing import List import sys def read_data(file_name: str, std_in=True): satisfactions_list = list() file = sys.stdin if std_in else open(file_name, 'r') days = int(file.readline().rstrip()) satisfaction_decreases = [int(c) for c in file.readline().rstrip().split(" ")...
from statistics import mean from typing import List import sys def read_data(file_name: str, std_in=True): satisfactions_list = list() file = sys.stdin if std_in else open(file_name, 'r') days = int(file.readline().rstrip()) satisfaction_decreases = [int(c) for c in file.readline().rstrip().split(" ")...
[ "literal.number.integer.change", "function.return_value.change", "call.remove" ]
328,312
328,313
u597234807
python
p02618
from statistics import mean from typing import List import sys def read_data(file_name: str, std_in=True): satisfactions_list = list() file = sys.stdin if std_in else open(file_name, 'r') days = int(file.readline().rstrip()) satisfaction_decreases = [int(c) for c in file.readline().rstrip().split(" ")...
from statistics import mean from typing import List import sys def read_data(file_name: str, std_in=True): satisfactions_list = list() file = sys.stdin if std_in else open(file_name, 'r') days = int(file.readline().rstrip()) satisfaction_decreases = [int(c) for c in file.readline().rstrip().split(" ")...
[ "literal.number.integer.change", "function.return_value.change", "call.remove" ]
328,312
328,314
u597234807
python
p02618
import numpy as np D = int(input()) c = list(map(int, input().split())) c = np.array(c) S = np.zeros([D, 26], dtype=int) for i in range(D): S[i, :] = list(map(int, input().split())) T = [] last = np.zeros(26) for i in range(D): score = S[i, :] - (i-last)*np.array(c) argmax = score.argmax() t = argmax last[...
import numpy as np D = int(input()) c = list(map(int, input().split())) c = np.array(c) S = np.zeros([D, 26], dtype=int) for i in range(D): S[i, :] = list(map(int, input().split())) T = [] last = np.zeros(26) for i in range(D): score = S[i, :] - (i-last)*np.array(c) argmax = score.argmax() t = argmax+1 las...
[ "assignment.change" ]
328,315
328,317
u401686269
python
p02618
import sys import numpy as np sys.setrecursionlimit(10 ** 8) ini = lambda: int(sys.stdin.readline()) inm = lambda: map(int, sys.stdin.readline().split()) inl = lambda: list(inm()) ins = lambda: sys.stdin.readline().rstrip() debug = lambda *a, **kw: print("\033[33m", *a, "\033[0m", **dict(file=sys.stderr, **kw)) D = ...
import sys import numpy as np sys.setrecursionlimit(10 ** 8) ini = lambda: int(sys.stdin.readline()) inm = lambda: map(int, sys.stdin.readline().split()) inl = lambda: list(inm()) ins = lambda: sys.stdin.readline().rstrip() debug = lambda *a, **kw: print("\033[33m", *a, "\033[0m", **dict(file=sys.stderr, **kw)) D = ...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
328,318
328,319
u345966487
python
p02618
# -*- coding: utf-8 -*- ############# # Libraries # ############# import time START = (int(time.time() * 1000)) import random import sys input = sys.stdin.readline import math #from math import gcd import bisect import heapq from collections import defaultdict from collections import deque from collections import ...
# -*- coding: utf-8 -*- ############# # Libraries # ############# import time START = (int(time.time() * 1000)) import random import sys input = sys.stdin.readline import math #from math import gcd import bisect import heapq from collections import defaultdict from collections import deque from collections import ...
[ "identifier.replace.remove", "literal.replace.add", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
328,368
328,369
u493130708
python
p02618
import random from copy import deepcopy d = int(input()) c = list(map(int,input().split())) s = [list(map(int,input().split())) for _ in range(d)] def min_max(l): l_min = min(l) l_max = max(l) return [1+(i-l_min)/(l_max-l_min) for i in l] dd = [max(s[i]) for i in range(d)] qq = min_max(c) dd = min_max(dd...
import random from copy import deepcopy d = int(input()) c = list(map(int,input().split())) s = [list(map(int,input().split())) for _ in range(d)] def min_max(l): l_min = min(l) l_max = max(l) return [1+(i - l_min) / (l_max - l_min) for i in l] dd = [max(s[i]) for i in range(d)] qq = min_max(c) dd = min_...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.remove" ]
328,384
328,385
u987164499
python
p02618
def main(): INF = 10 ** 9 + 10 D = int(input()) *C, = map(int, input().split()) # C[type] # sum(ci*(d-last(d,i) for ci in C)だけ下がる S = [[int(x) for x in input().split()] for _ in range(D)] # S[day][type]:=happiness last = [-1] * 26 def diff(d, t): ret = S[d][t] ret ...
def main(): INF = 10 ** 9 + 10 D = int(input()) *C, = map(int, input().split()) # C[type] # sum(ci*(d-last(d,i) for ci in C)だけ下がる S = [[int(x) for x in input().split()] for _ in range(D)] # S[day][type]:=happiness last = [-1] * 26 def diff(d, t): ret = S[d][t] ret ...
[ "expression.operation.binary.add" ]
328,484
328,485
u562935282
python
p02618
from random import randint random.seed(0) D = int(input()) C = [int(i) for i in input().split()] S = [[int(i) for i in input().split()] for j in range(D)] def score_calc(T): total = 0 last = [0] * 26 for i in range(1, D+1): t = T[i-1] total += S[i-1][t-1] last[t-1] = i for ...
import random from random import randint random.seed(0) D = int(input()) C = [int(i) for i in input().split()] S = [[int(i) for i in input().split()] for j in range(D)] def score_calc(T): total = 0 last = [0] * 26 for i in range(1, D+1): t = T[i-1] total += S[i-1][t-1] last[t-1] = ...
[ "literal.number.integer.change", "assignment.value.change" ]
328,532
328,533
u884323674
python
p02618
from random import randint random.seed(0) D = int(input()) C = [int(i) for i in input().split()] S = [[int(i) for i in input().split()] for j in range(D)] def score_calc(T): total = 0 last = [0] * 26 for i in range(1, D+1): t = T[i-1] total += S[i-1][t-1] last[t-1] = i for ...
import random from random import randint random.seed(0) D = int(input()) C = [int(i) for i in input().split()] S = [[int(i) for i in input().split()] for j in range(D)] def score_calc(T): total = 0 last = [0] * 26 for i in range(1, D+1): t = T[i-1] total += S[i-1][t-1] last[t-1] = ...
[ "literal.number.integer.change", "assignment.value.change" ]
328,532
328,534
u884323674
python
p02618
from random import randint random.seed(0) D = int(input()) C = [int(i) for i in input().split()] S = [[int(i) for i in input().split()] for j in range(D)] def score_calc(T): total = 0 last = [0] * 26 for i in range(1, D+1): t = T[i-1] total += S[i-1][t-1] last[t-1] = i for ...
import random from random import randint random.seed(0) D = int(input()) C = [int(i) for i in input().split()] S = [[int(i) for i in input().split()] for j in range(D)] def score_calc(T): total = 0 last = [0] * 26 for i in range(1, D+1): t = T[i-1] total += S[i-1][t-1] last[t-1] = ...
[ "literal.number.integer.change", "assignment.value.change" ]
328,532
328,535
u884323674
python
p02618
D = int(input()) c = [int(i) for i in input().split()] s = [] for i in range(D): s.append([int(j) for j in input().split()]) for i, s_i in enumerate(s): print(s_i.index(max(s_i)))
# -*- coding: utf-8 -*- D = int(input()) c = [int(i) for i in input().split()] s = [] for i in range(D): s.append([int(j) for j in input().split()]) for i, s_i in enumerate(s): print(s_i.index(max(s_i)) + 1)
[ "expression.operation.binary.add" ]
328,546
328,547
u619090855
python
p02618
D = int(input()) c = [int(i) for i in input().split()] s = [] for i in range(D): s.append([int(j) for j in input().split()]) for i, s_i in enumerate(s): print(s.index(max(s_i)))
# -*- coding: utf-8 -*- D = int(input()) c = [int(i) for i in input().split()] s = [] for i in range(D): s.append([int(j) for j in input().split()]) for i, s_i in enumerate(s): print(s_i.index(max(s_i)) + 1)
[ "identifier.change", "call.arguments.change", "io.output.change" ]
328,548
328,547
u619090855
python
p02618
INF=10**30 D=int(input()) c=list(map(int,input().split())) s=[list(map(int,input().split())) for i in range(D)] last=[0]*26 ans=[] point=0 for i in range(D): d=i+1 res=-INF z=-1 for j in range(26): p=s[i][j] for k in range(26): if k==j: continue p-...
INF=10**30 D=int(input()) c=list(map(int,input().split())) s=[list(map(int,input().split())) for i in range(D)] last=[0]*26 ans=[] point=0 for i in range(D): d=i+1 res=-INF z=-1 for j in range(26): p=s[i][j] for k in range(26): if k==j: continue p-...
[ "call.remove" ]
328,586
328,587
u930705402
python
p02618
dd = int(input()) c = list(list(map(int, input().split()))) s = [[0]*26]*dd v = [[0]*26]*dd vs = [[0]*26]*dd ans = [0]*dd lastdate = [0]*26 for i in range(dd): s[i] = list(list(map(int, input().split()))) for i in range(dd): for j in range(dd): v[i][j] = s[i][j] + c[i] *(i-lastdate[j]) maxv = -...
dd = int(input()) c = list(list(map(int, input().split()))) s = [[0]*26]*dd v = [[0]*26]*dd vs = [[0]*26]*dd ans = [0]*dd fdate = [0]*26 for i in range(dd): s[i] = list(list(map(int, input().split()))) for i in range(dd): for j in range(26): v[i][j] = s[i][j] + c[j] *(i-fdate[j]) maxv = -100000...
[ "assignment.variable.change", "identifier.change", "identifier.replace.remove", "literal.replace.add", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "assignment.value.change", "variable_access.subscript.index.change", "expression.operation.binary.change" ]
328,614
328,613
u881675205
python
p02618
from collections import defaultdict import heapq as hq d = int(input()) c = list(map(int,input().split())) s = [0] for i in range(d): s.append([0]+list(map(int,input().split()))) dic = defaultdict(int) contest = [[] for _ in range(27)] contests = [-1]*(d+1) for i in range(1,d+1): maxscore = 0 maxcontest = -...
from collections import defaultdict import heapq as hq d = int(input()) c = [0]+list(map(int,input().split())) s = [0] for i in range(d): s.append([0]+list(map(int,input().split()))) dic = defaultdict(int) contest = [[] for _ in range(27)] contests = [-1]*(d+1) for i in range(1,d+1): maxscore = 0 maxcontest...
[ "assignment.change" ]
328,633
328,634
u201928947
python
p02618
import numpy as np TYPE_NUM = 26 def resolve(): inp = sys.stdin.readlines() D = int(inp[0]) c = np.array(list(map(int, inp[1].split(' ')))) s = [] last = np.zeros(TYPE_NUM, dtype=int) types = [] for i in range(2, len(inp)): s.append(list(map(int, inp[i].split(' ')))) s = np.ar...
import sys import numpy as np TYPE_NUM = 26 def resolve(): inp = sys.stdin.readlines() D = int(inp[0]) c = np.array(list(map(int, inp[1].split(' ')))) s = [] last = np.zeros(TYPE_NUM, dtype=int) types = [] for i in range(2, len(inp)): s.append(list(map(int, inp[i].split(' ')))) ...
[]
328,659
328,660
u801533740
python
p02618
import sys, re from math import ceil, floor, sqrt, pi, factorial, gcd from copy import deepcopy from collections import Counter, deque from heapq import heapify, heappop, heappush from itertools import accumulate, product, combinations, combinations_with_replacement from bisect import bisect, bisect_left, bisect_right ...
import sys, re from math import ceil, floor, sqrt, pi, factorial, gcd from copy import deepcopy from collections import Counter, deque from heapq import heapify, heappop, heappush from itertools import accumulate, product, combinations, combinations_with_replacement from bisect import bisect, bisect_left, bisect_right ...
[ "expression.operation.binary.add" ]
328,675
328,676
u197956883
python
p02618
D = int(input()) c = list(map(int, input().split())) sdi = [list(map(int, input().split())) for i in range(D)] lastdi = [0 for i in range(26)] ans_c = [] for d in range(D): day_s = sdi[d] sloss = [day_s[i] + c[i]*(d - lastdi[i]) for i in range(26) ] ans = sloss.index(max(sloss)) ans_c.append( ans ) ...
D = int(input()) c = list(map(int, input().split())) sdi = [list(map(int, input().split())) for i in range(D)] lastdi = [0 for i in range(26)] ans_c = [] for d in range(D): day_s = sdi[d] sloss = [day_s[i] + c[i]*(d - lastdi[i]) for i in range(26) ] ans = sloss.index(max(sloss)) ans_c.append( ans+1 ) ...
[ "expression.operation.binary.add" ]
328,707
328,708
u405276711
python
p02618
def choose(D, c, s, d, last, depth, point): maxpoint = -999999 maxnum = 0 if depth > 0: for i in range(26): point = s[d][i] point += changepoint(c, d, i, last) if point >= maxpoint: maxpoint = point maxnum = i return maxnum...
def choose(D, c, s, d, last, depth, point): maxpoint = -999999 maxnum = 0 if depth > 0: for i in range(26): point = s[d][i] point += changepoint(c, d, i, last) if point >= maxpoint: maxpoint = point maxnum = i return maxnum,...
[ "expression.operation.binary.add" ]
328,719
328,720
u490195279
python
p02618
D = int(input()) c = list(map(int,input().split())) s = [list(map(int, input().split())) for l in range(D)] last = [0]*26 def score_down(d): ans = 0 for i in range(26): ans += c[i]*(d - last[i]) return ans for d in range(D): score = [(s[d][i] - score_down(d+1)) for i in range(D)] t = score...
D = int(input()) c = list(map(int,input().split())) s = [list(map(int, input().split())) for l in range(D)] last = [0]*26 def score_down(d): ans = 0 for i in range(26): ans += c[i]*(d - last[i]) return ans for d in range(D): score = [(s[d][i] - score_down(d+1)) for i in range(26)] t = scor...
[ "assignment.value.change", "identifier.replace.remove", "literal.replace.add", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
328,754
328,755
u556657484
python
p02618
D = int(input()) c = list(map(int,input().split())) s = [list(map(int, input().split())) for l in range(D)] last = [0]*26 def score_down(d): ans = 0 for i in range(26): ans += c[i]*(d - last[i]) return ans for d in range(D): score = [(s[d][i] - score_down(d)) for i in range(D)] t = score.i...
D = int(input()) c = list(map(int,input().split())) s = [list(map(int, input().split())) for l in range(D)] last = [0]*26 def score_down(d): ans = 0 for i in range(26): ans += c[i]*(d - last[i]) return ans for d in range(D): score = [(s[d][i] - score_down(d+1)) for i in range(26)] t = scor...
[ "assignment.value.change", "identifier.replace.remove", "literal.replace.add", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
328,756
328,755
u556657484
python
p02618
D = int(input()) c = list(map(int,input().split())) s = [list(map(int, input().split())) for l in range(D)] last = [0]*26 def score_down(d): ans = 0 for i in range(26): ans += c[i]*(d - last[i]) return ans for d in range(D): score = [(s[d][i] - score_down(d)) for i in range(D)] t = score.i...
D = int(input()) c = list(map(int,input().split())) s = [list(map(int, input().split())) for l in range(D)] last = [0]*26 def score_down(d): ans = 0 for i in range(26): ans += c[i]*(d - last[i]) return ans for d in range(D): score = [(s[d][i] - score_down(d+1)) for i in range(26)] t = scor...
[ "assignment.value.change", "identifier.replace.remove", "literal.replace.add", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
328,757
328,755
u556657484
python
p02618
from collections import Counter D = int(input()) c = list(map(int, input().split())) s = [] for i in range(D): temp_s = list(map(int, input().split())) s.append(temp_s) my_count = Counter() for i in range(D): for j in range(26): my_count[j] = s[i][j] print(max(my_count, key=my_count.get))
from collections import Counter D = int(input()) c = list(map(int, input().split())) s = [] for i in range(D): temp_s = list(map(int, input().split())) s.append(temp_s) my_count = Counter() for i in range(D): for j in range(26): my_count[j + 1] = s[i][j] print(max(my_count, key=my_count.get))
[ "assignment.change" ]
328,796
328,797
u179025808
python
p02618
import time t0 =time.time() D=int(input()) c = list(map(int,input().split())) s=[None]*D for i in range(D): s[i] = list(map(int,input().split())) def maxarg(l): nl=len(l) ma=-10**20 idx=-1 for i in range(nl): if l[i]>ma: ma=l[i] idx=i return (idx,ma) last=[0]*2...
import time t0 =time.time() D=int(input()) c = list(map(int,input().split())) s=[None]*D for i in range(D): s[i] = list(map(int,input().split())) def maxarg(l): nl=len(l) ma=-10**20 idx=-1 for i in range(nl): if l[i]>ma: ma=l[i] idx=i return (idx,ma) last=[0]*2...
[ "expression.operation.binary.remove" ]
328,822
328,823
u586759271
python
p02618
import numpy as np D = int(input()) c = np.array(list(map(int, input().split()))) s = np.array([list(map(int, input().split())) for x in range(D)]) l_opt = s.argmax(axis=1) for l in l_opt: print(l)
import numpy as np D = int(input()) c = np.array(list(map(int, input().split()))) s = np.array([list(map(int, input().split())) for x in range(D)]) l_opt = s.argmax(axis=1) for l in l_opt: print(l + 1)
[ "expression.operation.binary.add" ]
328,907
328,908
u183256664
python
p02620
import sys input = sys.stdin.readline def scoring(): last = [0] * 26 res = 0 penalty = 0 for i in range(D): t = out[i] res += S[i][t] penalty += SC - (i + 1 - last[t]) * C[t] res -= penalty last[t] = i return res D = int(input()) C = list(map(int, input().sp...
import sys input = sys.stdin.readline def scoring(sc): last = [0] * 26 res = 0 penalty = 0 for i in range(D): t = out[i] res += S[i][t] penalty += sc - (i + 1 - last[t]) * C[t] res -= penalty last[t] = i + 1 return res D = int(input()) C = list(map(int, inpu...
[ "identifier.change", "expression.operation.binary.change", "assignment.variable.change", "call.arguments.change" ]
328,917
328,918
u450956662
python
p02620
from bisect import bisect_left D = int(input()) C = [0]+list(map(int, input().split())) S = [0]+[[0] + list(map(int, input().split())) for _ in range(D)] contest = [[0] for _ in range(27)] #SL:満足度、sch:スケジュール SL, sch = 0, [0] #tの日程でコンテストを行った時の満足度を計算 for d in range(1, D+1): t = int(input()) sch.append(t) ...
from bisect import bisect_left D = int(input()) C = [0]+list(map(int, input().split())) S = [0]+[[0] + list(map(int, input().split())) for _ in range(D)] contest = [[0] for _ in range(27)] #SL:満足度、sch:スケジュール SL, sch = 0, [0] #tの日程でコンテストを行った時の満足度を計算 for d in range(1, D+1): t = int(input()) sch.append(t) ...
[ "call.add" ]
328,929
328,930
u830054172
python
p02620
import sys sys.setrecursionlimit(300000) from collections import defaultdict def I(): return int(sys.stdin.readline()) def MI(): return map(int, sys.stdin.readline().split()) def MI0(): return map(lambda s: int(s) - 1, sys.stdin.readline().split()) def LMI(): return list(map(int, sys.stdin.readline().split())) def LMI...
import sys sys.setrecursionlimit(300000) from collections import defaultdict def I(): return int(sys.stdin.readline()) def MI(): return map(int, sys.stdin.readline().split()) def MI0(): return map(lambda s: int(s) - 1, sys.stdin.readline().split()) def LMI(): return list(map(int, sys.stdin.readline().split())) def LMI...
[ "identifier.change", "control_flow.continue.remove", "control_flow.break.add", "assignment.value.change", "call.function.change" ]
328,941
328,942
u380772254
python
p02620
NTEST = 26 D=int(input()) C=list(map(int,input().split())) SL=list() SL.append([0 for i in range(NTEST)]) for d in range(D): S=list(map(int,input().split())) SL.append(S) tests=list() tests.append(0) for d in range(D): tests.append(int(input())) def calcSat(test_applied): lastDay = [0 for i in rang...
NTEST = 26 D=int(input()) C=list(map(int,input().split())) SL=list() SL.append([0 for i in range(NTEST)]) for d in range(D): S=list(map(int,input().split())) SL.append(S) tests=list() tests.append(0) for d in range(D): tests.append(int(input())) def calcSat(test_applied): lastDay = [0 for i in rang...
[ "call.remove" ]
328,943
328,944
u343744945
python
p02620
import sys input=sys.stdin.readline D=int(input()) c=list(map(int,input().split())) s=[] for i in range(D): sub=list(map(int,input().split())) s.append(sub) t=[] for i in range(D): t.append(int(input())) h=0 last=[-1]*26 for i in range(D): h+=s[i][t[i]-1] last[t[i]-1]=i for j in range(26): ...
import sys input=sys.stdin.readline D=int(input()) c=list(map(int,input().split())) s=[] for i in range(D): sub=list(map(int,input().split())) s.append(sub) t=[] for i in range(D): t.append(int(input())) h=0 last=[-1]*26 for i in range(D): h+=s[i][t[i]-1] last[t[i]-1]=i for j in range(26): ...
[ "identifier.change", "variable_access.subscript.index.change", "control_flow.branch.if.condition.change" ]
328,945
328,946
u877470159
python
p02620
D = int(input()) c = list(map(int, input().split())) s = [list(map(int, input().split())) for i in range(D)] t = [int(input()) for i in range(D)] last = [[-1] for i in range(26)] # before query ans = 0 for i in range(D): op = t[i]-1 ans += s[i][op] last[op].append(i) for j in range(26): ans -= c...
D = int(input()) c = list(map(int, input().split())) s = [list(map(int, input().split())) for i in range(D)] t = [int(input()) for i in range(D)] last = [[-1] for i in range(26)] # before query ans = 0 for i in range(D): op = t[i]-1 ans += s[i][op] last[op].append(i) for j in range(26): ans -= c...
[ "assignment.value.change", "identifier.change", "variable_access.subscript.index.change", "expression.operation.binary.change" ]
328,953
328,954
u802234509
python
p02621
a = int(input()) print(a*(1+a(1+a)))
a = int(input()) print( a*(1+a*(1+a)) )
[ "call.arguments.change" ]
328,977
328,978
u644171993
python
p02621
num = int(input()) print(num + num * mum + num ** 3)
num = int(input()) print(num + num ** 2 + num ** 3)
[]
328,992
328,993
u221940831
python
p02621
a = input() print(a + a**2 + a**3)
a = int(input()) print(a + a**2 + a**3)
[ "call.add", "call.arguments.change" ]
328,994
328,995
u587429593
python
p02621
a = int(input()) ans = a+a*2+a*3 print(ans)
a = int(input()) ans = a+a**2+a**3 print(ans)
[ "assignment.value.change", "expression.operation.binary.change" ]
329,005
329,006
u572612802
python
p02621
a = int(input()) ans = (a+a*2+a*3) print(ans)
a = int(input()) ans = a+a**2+a**3 print(ans)
[ "assignment.value.change", "expression.operation.binary.change" ]
329,007
329,006
u572612802
python
p02621
a = int(input()) print(int(a+a^2+a^3))
a = int(input()) print(int(a+a**2+a**3))
[ "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
329,014
329,015
u493318999
python
p02621
a = input() print(a + a ** 2 + a ** 3)
a = int(input()) print(a + a ** 2 + a ** 3)
[ "call.add", "call.arguments.change" ]
329,018
329,019
u860966226
python
p02621
a = input() print(a+a*a+a*a*a)
a = int(input()) print(a+a*a+a*a*a)
[ "call.add", "call.arguments.change" ]
329,020
329,021
u672822010
python
p02621
a = int(input) n = a + a*a + a*a*a print(n)
a = int(input()) n = a + a*a + a*a*a print(n)
[ "call.add" ]
329,022
329,023
u266262808
python
p02621
A = input() print(A+A**2+A**3)
A = int(input()) print(A+A**2+A**3)
[ "call.add", "call.arguments.change" ]
329,024
329,025
u599547273
python
p02621
a=input() print(a+a*a+a*a*a)
a=int(input()) print(a+a*a+a**3)
[ "call.add", "call.arguments.change", "expression.operation.binary.remove" ]
329,028
329,029
u270535768
python
p02621
a=input() print(a+a*a+a*a*a)
a=input() a=int(a) print(a+a*a+a*a*a)
[ "assignment.add" ]
329,028
329,030
u270535768
python
p02621
num=int(input()) print(a+a*a+a*a*a)
a=int(input()) print(a+a*a+a*a*a)
[ "assignment.variable.change", "identifier.change" ]
329,035
329,036
u654517927
python
p02621
def sep(): return map(int,input().strip().split(" ")) def lis(): return list(sep()) n=int(input()) print(n* n*n + n*n*n)
def sep(): return map(int,input().strip().split(" ")) def lis(): return list(sep()) n=int(input()) print(n + n*n + n*n*n)
[ "expression.operator.arithmetic.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
329,061
329,062
u304602561
python
p02621
import sys a = int(input()) print('hello') print(a + a * a + a * a * a)
import sys a = int(input()) print('hello', file=sys.stderr) print(a + a * a + a * a * a)
[ "call.arguments.add" ]
329,067
329,068
u588093355
python
p02621
a = int(input()) print(a+a^2+a^3)
a = int(input()) print(a+a**2+a**3)
[ "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
329,073
329,074
u332135290
python
p02621
a = int(intput()) print(a + a*a + a*a*a)
a = int(input()) print(a + a*a + a*a*a)
[ "assignment.value.change", "identifier.change", "call.function.change", "call.arguments.change" ]
329,086
329,087
u926266624
python
p02621
a = int(input()) b = a + a^2 + a^3 print(int(b))
a = int(input()) b = a + a*a + a*a*a print(int(b))
[ "assignment.change" ]
329,096
329,097
u217571418
python
p02621
a=int(input()) print(a+a*2+a**3)
a=int(input()) print(a+a**2+a**3)
[ "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
329,100
329,101
u829364446
python
p02621
a=int(input("a=")) print(a+a**2+a**3)
a=int(input()) print(a+a**2+a**3)
[]
329,102
329,101
u829364446
python
p02621
a = input() my_result = a + a**2 + a**3 print(my_result)
a = int(input()) my_result = a + a**2 + a**3 print(my_result)
[ "call.add", "call.arguments.change" ]
329,109
329,110
u174536291
python
p02621
a =int(input()) ans = a+a**2+2**3 print(ans)
a = int(input()) print(a+a**2+a**3)
[ "identifier.replace.add", "literal.replace.remove", "expression.operation.binary.change", "call.remove" ]
329,119
329,120
u040642458
python
p02621
a =int(input()) print(a+a**2+2**3)
a = int(input()) print(a+a**2+a**3)
[ "identifier.replace.add", "literal.replace.remove", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
329,121
329,120
u040642458
python
p02621
a=int(input()) print(a+1**2+a**3)
a=int(input()) print(a+a*a+a*a*a)
[ "expression.operation.binary.add" ]
329,132
329,133
u583363497
python
p02621
num = input() print(num+num**2+num**3)
num =int(input()) print(num +num**2 +num**3)
[ "call.add", "call.arguments.change" ]
329,140
329,141
u940452097
python
p02621
ソースコード Copy Copy def a172(a): return a + a**2 + a**3 def main(): a = int(input()) print(a172(a)) if __name__ == '__main__': main()
def a172(a): return a + a**2 + a**3 def main(): a = int(input()) print(a172(a)) if __name__ == '__main__': main()
[]
329,142
329,143
u940452097
python
p02621
number = int(intput()) print(number + number**2 + number**3)
number = int(input()) print(number + number**2 + number**3)
[ "assignment.value.change", "identifier.change", "call.function.change", "call.arguments.change" ]
329,146
329,148
u688649934
python
p02621
a = int(input()) class calculate: def __init__(self,a): self.check = a def get_ans(self,a): return a + a**2 + a**3 valuable = calculate(a) #Sprint(valuable.check) ans = valuable.get_ans(10) print(ans)
a = int(input()) class calculate: def __init__(self,a): self.check = a def get_ans(self,a): return a + a**2 + a**3 valuable = calculate(a) #Sprint(valuable.check) ans = valuable.get_ans(a) print(ans)
[ "assignment.value.change", "identifier.replace.add", "literal.replace.remove", "call.arguments.change" ]
329,157
329,158
u949327459
python
p02621
a = input() print(a + a * a + a * a * a)
a = int(input()) print(a + a * a + a * a * a)
[ "call.add", "call.arguments.change" ]
329,161
329,162
u954191567
python
p02621
a = int(input) ans = a + a*a + a*a*a print(ans)
a = int(input()) ans = a + a*a + a*a*a print(ans)
[ "call.add" ]
329,171
329,172
u994935583
python
p02621
a=input() print(a+a**2+a**3)
a=int(input()) print(int(a+a**2+a**3))
[ "call.add", "call.arguments.change", "call.arguments.add" ]
329,179
329,180
u414050834
python
p02621
a = int(input()) b = int(a + a^2 + a^3) print(b)
a = int(input()) b = int(a + a * a + a * a * a) print(b)
[ "assignment.change" ]
329,181
329,182
u233891622
python
p02621
#https://atcoder.jp/contests/abc172/tasks/abc172_a a= int(input("a::")) print(a+ pow(a, 2)+ pow(a, 3))
#https://atcoder.jp/contests/abc172/tasks/abc172_a a= int(input("\n")) print(a+ pow(a, 2)+ pow(a, 3))
[ "literal.string.change", "assignment.value.change", "call.arguments.change" ]
329,183
329,184
u449352114
python
p02621
a = input() print(a+a**2+a**3)
a = int(input()) print(a+a**2+a**3)
[ "call.add", "call.arguments.change" ]
329,189
329,190
u259522160
python
p02621
import sys def LI(): return list(map(int, sys.stdin.buffer.readline().split())) def I(): return int(sys.stdin.buffer.readline()) def LS(): return sys.stdin.buffer.readline().rstrip().decode('utf-8').split() def S(): return sys.stdin.buffer.readline().rstrip().decode('utf-8') def IR(n): return [I() for i in range(n)] de...
import sys def LI(): return list(map(int, sys.stdin.buffer.readline().split())) def I(): return int(sys.stdin.buffer.readline()) def LS(): return sys.stdin.buffer.readline().rstrip().decode('utf-8').split() def S(): return sys.stdin.buffer.readline().rstrip().decode('utf-8') def IR(n): return [I() for i in range(n)] de...
[ "call.add" ]
329,191
329,192
u190850294
python
p02621
a = int(input()) ans = a+a*a+a*a*a return ans
a = int(input()) ans = a+a*a+a*a*a print(ans)
[ "function.return_value.change", "call.arguments.change" ]
329,214
329,215
u096147269
python
p02621
a = int(input()) ans = a+a*2+a*3 print(ans)
a = int(input()) ans = a+a*a+a*a*a print(ans)
[ "assignment.value.change", "identifier.replace.add", "literal.replace.remove", "expression.operation.binary.change" ]
329,217
329,215
u096147269
python
p02621
a=input() print(int(a+a**2+a**3))
a=input() a=int(a) print(int(a+a**2+a**3))
[ "assignment.add" ]
329,233
329,234
u011202375
python
p02621
a = int(a) x = a + a**2 + a**3 print(x)
a = int(input()) x = a + a**2 + a**3 print(x)
[ "assignment.value.change", "call.arguments.change", "call.add" ]
329,291
329,292
u300297722
python
p02621
a = 1 a = int(a) x = a + a**2 + a**3 print(x)
a = int(input()) x = a + a**2 + a**3 print(x)
[ "assignment.value.change", "call.arguments.change", "call.add" ]
329,293
329,292
u300297722
python