s_id
stringlengths
10
10
p_id
stringlengths
6
6
u_id
stringlengths
10
10
date
stringlengths
10
10
language
stringclasses
1 value
original_language
stringclasses
11 values
filename_ext
stringclasses
1 value
status
stringclasses
1 value
cpu_time
stringlengths
1
5
memory
stringlengths
1
7
code_size
stringlengths
1
6
code
stringlengths
1
539k
s406832035
p02396
u362494298
1505175379
Python
Python3
py
Runtime Error
0
0
119
count = 1 while True: x = input() if x == 0:break else: print("Case"count": "x) count += 1
s402944124
p02396
u362494298
1505175783
Python
Python3
py
Runtime Error
0
0
96
count = 1 x = input() while x != "0": print("Case"count": "x) x = input() count += 1
s164938695
p02396
u362494298
1505176145
Python
Python3
py
Runtime Error
0
0
105
count = 1 x = input() while x != "0": print("Case{}: {}".format(c, x)) x = input() count += 1
s162497686
p02396
u972637506
1505288332
Python
Python3
py
Runtime Error
0
0
146
from itertools import count for i in count(1): s = input() if s = "0": break else: print("Case {}: {}".format(i, s))
s135280487
p02396
u972637506
1505288385
Python
Python3
py
Runtime Error
0
0
179
from itertools import count ?? for i in count(1): ????????s = input() ?? ????????if s == "0": ????????????????break ????????else: ????????????????print("Case {}: {}".format(i, s))
s892593999
p02396
u972637506
1505288444
Python
Python3
py
Runtime Error
0
0
129
from itertools import count for i in count(1): if i == 10: break else: print("Case {}: {}".format(i, s))
s360508596
p02396
u664228906
1506324465
Python
Python3
py
Runtime Error
0
0
61
i = 0 while x=int(input()): i++ print("Case {i}:{x}", i, x)
s285674561
p02396
u664228906
1506324511
Python
Python3
py
Runtime Error
0
0
67
i = 0 while x=int(input()): i = i + 1 print("Case {i}:{x}", i, x)
s686977559
p02396
u664228906
1506324640
Python
Python3
py
Runtime Error
0
0
72
i = 0 while x=int(input()) != 0: i = i + 1 print("Case {i}:{x}", i, x)
s929979778
p02396
u664228906
1506324685
Python
Python3
py
Runtime Error
0
0
74
i = 0 while x=int(input()) != 0: i = i + 1 print("Case " + i + ": " + x)
s497004378
p02396
u664228906
1506324713
Python
Python3
py
Runtime Error
0
0
84
i = 0 while x=int(input()) != 0: i = i + 1 print("Case " + str(i) + ": " + str(x))
s566056182
p02396
u664228906
1506325053
Python
Python3
py
Runtime Error
0
0
95
i=0 x=int(input()) while x=int(input()) != 0: i = i+1 print("Case " + str(i) + ": " + str(x))
s842644137
p02396
u480053997
1506825703
Python
Python3
py
Runtime Error
0
0
132
for i, x in enumerate((input()).strip()): x = int(input()) if x == '0': break print('case ' + str(i) + ': ' + x)
s344948098
p02396
u256256172
1506934965
Python
Python3
py
Runtime Error
0
0
146
import sys sum = 1; for i in sys.stdin.strip(): if i != "0": print('Case {}: {}'.format(sum, i)) sum++ else: break
s782604942
p02396
u256256172
1506935005
Python
Python3
py
Runtime Error
0
0
148
import sys sum = 1; for i in sys.stdin.strip(): if i != "0": print('Case {}: {}'.format(sum, i)) sum+= 1 else: break
s892797557
p02396
u505411588
1507716807
Python
Python3
py
Runtime Error
0
0
228
import sys args = sys.argv[1] #??????????????????????????????????????????????????§???????????????????????? with open(args) as f: x = f.readlists() i = 0 while x[i] != 0: print("Case " + str(i+1) + ":" + str(x)) i += 1
s394841066
p02396
u505411588
1507717054
Python
Python3
py
Runtime Error
0
0
228
import sys args = sys.argv[1] #??????????????????????????????????????????????????§???????????????????????? with open(args) as f: x = f.readlines() i = 0 while x[i] != 0: print("Case " + str(i+1) + ":" + str(x)) i += 1
s325959167
p02396
u505411588
1507717523
Python
Python3
py
Runtime Error
0
0
240
import sys args = sys.argv[1] #??????????????????????????????????????????????????§???????????????????????? with open(args) as f: x = f.readline() i = 0 while x != 0: print("Case " + str(i+1) + ":" + str(x)) i += 1 x = f.readline()
s880038771
p02396
u043968625
1509263020
Python
Python3
py
Runtime Error
0
0
187
flag=0 i=0 while flag==0: num=input() if num==0 or num=="": flag=1 else: print("Case {0}: {1}".format(i + 1, num)) i = i + 1 num = int(input())
s158055563
p02396
u518939641
1509380904
Python
Python3
py
Runtime Error
0
0
124
s=list(map(int,input().split()) i=1 while true: if s[i-1]==0: break else print('Case '+str(i)+': '+str(s[i-1])) i+=1
s547407081
p02396
u518939641
1509380929
Python
Python3
py
Runtime Error
0
0
125
s=list(map(int,input().split())) i=1 while true: if s[i-1]==0: break else print('Case '+str(i)+': '+str(s[i-1])) i+=1
s328366523
p02396
u518939641
1509381003
Python
Python3
py
Runtime Error
0
0
126
s=list(map(int,input().split())) i=1 while True: if s[i-1]==0: break else: print('Case '+str(i)+': '+str(s[i-1])) i+=1
s944149805
p02396
u518939641
1509381056
Python
Python3
py
Runtime Error
0
0
126
s=list(map(int,input().split())) i=1 while True: if s[i-1]==0: break else: print('Case '+str(i)+': '+str(s[i-1])) i+=1
s740160242
p02396
u518939641
1509457750
Python
Python3
py
Runtime Error
0
0
188
n=[] line='' i=0 while line != '0': line=input() if line != '0' n.append(int(line)) i+=1 print(i) for x in range(len(n)): print('Case %d: %d'%(x, n[x]))
s700049320
p02396
u518939641
1509457793
Python
Python3
py
Runtime Error
0
0
189
n=[] line='' i=0 while line != '0': line=input() if line != '0' n.append(int(line)) i=i+1 print(i) for x in range(len(n)): print('Case %d: %d'%(x, n[x]))
s316443843
p02396
u102664642
1509458370
Python
Python3
py
Runtime Error
0
0
112
a = [] i = 0 while true: n = input() if n == 0: break a.append(n) print('Case {0}: {1}'.format(i,n))
s614044599
p02396
u102664642
1509458497
Python
Python3
py
Runtime Error
0
0
118
a = [] i = 0 while true: n = input() if n == 0: break a.append(n) print('Case {0}: {1}'.format(i,a)) i++
s320686932
p02396
u102664642
1509637298
Python
Python3
py
Runtime Error
0
0
97
i = 1 while True: n = input() if n == 0: break print("Case {0}: {1}").format(i,n) i++
s749972142
p02396
u102664642
1509637685
Python
Python3
py
Runtime Error
0
0
100
i = 1 while True: n = input() if n == 0: break print("Case {0}: {1}").format(i,n) i += 1
s593444743
p02396
u102664642
1509637855
Python
Python3
py
Runtime Error
0
0
100
i = 1 while True: n = input() if n == 0: break print("Case {0}: {1}".format(i,n)) i += 1
s823554006
p02396
u521963900
1509762272
Python
Python3
py
Runtime Error
0
0
184
a = [] while True: num = int(input()) if n == 0: break a.append(n) count = 0 for i in a: count += 1 print("Case " + str(count) + ":" + str(n))
s178828935
p02396
u521963900
1509765386
Python
Python3
py
Runtime Error
0
0
202
import sys for line in sys.stdin.readlines(): if line == 0: break else: count = 0 if i in line: count += 1 print("Case " + str(count) + ": " + str(line))
s236538605
p02396
u521963900
1509766063
Python
Python3
py
Runtime Error
0
0
163
N = [i for i in range(1, 10000)] count = 0 for i in N: if i == 0: break else: count += 1 print("Case " + str(count) + ": " + str(line))
s386659004
p02396
u521963900
1509773610
Python
Python3
py
Runtime Error
0
0
262
import sys a = [] for line in sys.stdin.readlines: count = 0 for j in line: a.append(j) for i in a: if i == 0: break else: count += 1 print("Case " + str(count) + ": " + str(i))
s564267508
p02396
u899891332
1510469364
Python
Python3
py
Runtime Error
0
0
109
for i in range(10000) line = int(input()) if line == 0: break print('Case {}:{}'.format(i+1, line))
s330873476
p02396
u899891332
1510469428
Python
Python3
py
Runtime Error
0
0
110
for i in range(10000) line = int(input()) if line == 0: break print('Case {}: {}'.format(i+1, line))
s848822575
p02396
u279483260
1510569478
Python
Python3
py
Runtime Error
0
0
113
while True: x = int(input()) if x == 0: break else: print("Case {}: {}".format(i, x))
s088724351
p02396
u409699893
1510805385
Python
Python
py
Runtime Error
0
0
94
x = map(int,raw_input().split()) i = 0 while x[i] <> 0: print "Case %d: %d" %d(i,x[i]) i++
s306837459
p02396
u409699893
1510805455
Python
Python
py
Runtime Error
0
0
96
x = map(int,raw_input().split()) i = 0 while x[i] <> 0: print "Case %d: %d" %(i,x[i]) i += 1
s143128589
p02396
u409699893
1510805473
Python
Python
py
Runtime Error
0
0
96
x = map(int,raw_input().split()) i = 0 while x[i] <> 0: print "Case %d: %d" %(i,x[i]) i += 1
s676433325
p02396
u409699893
1510805652
Python
Python
py
Runtime Error
0
0
96
x = map(int,raw_input().split()) i = 0 while x[i] <> 0: print "Case %s: %s" %(i,x[i]) i += 1
s479878139
p02396
u234837959
1510996639
Python
Python
py
Runtime Error
0
0
12
import numpy
s699829049
p02396
u045830275
1511147752
Python
Python3
py
Runtime Error
0
0
245
def main() : lst = list(map(int, input().split())) count = 1 for n in lst : if n == 0 : break else : print(f"case {count}: {n}") count += 1 if __name__ == '__main__' : main()
s893188482
p02396
u045830275
1511147796
Python
Python3
py
Runtime Error
0
0
245
def main() : lst = list(map(int, input().split())) count = 1 for n in lst : if n == 0 : break else : print(f"case {count}: {n}") count += 1 if __name__ == '__main__' : main()
s429919067
p02396
u780025254
1511531103
Python
Python3
py
Runtime Error
0
0
114
while True: x = int(input()) if x == 0: break print('Case {}: {}'.format(i, x)) i += 1
s955022523
p02396
u780025254
1511531248
Python
Python3
py
Runtime Error
0
0
114
while True: x = int(input()) if x == 0: break print('Case {}: {}'.format(i, x)) i += 1
s919227804
p02396
u744506422
1511852061
Python
Python3
py
Runtime Error
0
0
134
w="test" a=[] i=0 while(w!=""): w=input() a.append(w) a.remove("") for k in a: i+=1 print("Case {0}: {1}".format(i,k))
s396671720
p02396
u217069758
1512181206
Python
Python3
py
Runtime Error
0
0
137
i = 1 while 1: x = input().int() if i > 10000 or x = 0 or (1 <= x <= 10000): break print('Case ' + str(i) + ': ' + x)
s973302029
p02396
u706217959
1512799906
Python
Python3
py
Runtime Error
0
0
522
def main(): data = [] while 1: n = input().split() ans = int(n[0]) length = data.__len__() data.append(ans) if n == 0: break if length > 10001: print("Too Large") break else: for i in range(0,9999): d_val = data[i] if d_val != 0: print("Case{0}:{1}".format(i+1,d_val)) else: break if __name__ == '__main__': main()
s497697323
p02396
u706217959
1512800523
Python
Python3
py
Runtime Error
0
0
470
def main(): data = [] while 1: n = input().split() ans = int(n[0]) length = data.__len__() data.append(ans) if ans == 0: break if length > 10000: print("Too Large") else: for i in range(0,10000): d_val = data[i] if d_val != 0: print("Case{0}:{1}".format(i+1,d_val)) else: break if __name__ == '__main__': main(
s285841662
p02396
u150984829
1513050545
Python
Python3
py
Runtime Error
0
0
67
l=raw_input().split() for i in range(l): print(f"Case{i}: {l[i]}")
s603940761
p02396
u150984829
1513050586
Python
Python3
py
Runtime Error
0
0
74
l=raw_input().split() for i in range(len(l)): print(f"Case{i+1}: {l[i]}")
s565320658
p02396
u150984829
1513050705
Python
Python3
py
Runtime Error
0
0
118
a=[] while True: n = input() if n == 0: break a.append(n) for i in range(len(a)): print(f'Case{i+1}: {a[i]}')
s309093891
p02396
u150984829
1513050742
Python
Python3
py
Runtime Error
0
0
122
a=[] while True: n = raw_input() if n == 0: break a.append(n) for i in range(len(a)): print(f'Case{i+1}: {a[i]}')
s620211141
p02396
u150984829
1513050750
Python
Python3
py
Runtime Error
0
0
124
a=[] while True: n = raw_input() if n == "0": break a.append(n) for i in range(len(a)): print(f'Case{i+1}: {a[i]}')
s379508314
p02396
u150984829
1513063191
Python
Python3
py
Runtime Error
0
0
116
a=[] while True: n = input() if n == -1: break a.append(n) for i in range(len(a)) print(f'Case {i+1}: {a[i]}')
s416707310
p02396
u150984829
1513063215
Python
Python3
py
Runtime Error
0
0
115
a=[] while True: n = input() if n == 0: break a.append(n) for i in range(len(a)) print(f'Case {i+1}: {a[i]}')
s918294201
p02396
u150984829
1513063360
Python
Python3
py
Runtime Error
0
0
110
a=[] while True: n=input() if n==0: break a.append(n) for i in range(len(a)): print(f'Case {i+1}: {a[i]}')
s520018390
p02396
u150984829
1513063427
Python
Python3
py
Runtime Error
0
0
112
a=[] while True: n=input() if n==0: break a.append(n) for i in range(len(a)): print(f'Case {i+1}: {a[i]}')
s527657732
p02396
u150984829
1513082858
Python
Python3
py
Runtime Error
0
0
51
i=1 while s=int(input)!=0: print(f'Case {i}: {s}')
s131255386
p02396
u150984829
1513082901
Python
Python3
py
Runtime Error
0
0
69
i=1 while True: s=int(input) if s==0:break print(f'Case {i}: {s}')
s280643678
p02396
u150984829
1513108170
Python
Python3
py
Runtime Error
0
0
71
while 1: ??a=input() ??if int(a)==0:break print(f'Case {i+1}: {a[i]}')
s760038619
p02396
u150984829
1513108195
Python
Python3
py
Runtime Error
0
0
79
i=1 while 1: ??a=input() ??if int(a)==0:break print(f'Case {i}: {a[i]}') i+=1
s126534815
p02396
u150984829
1513108212
Python
Python3
py
Runtime Error
0
0
76
i=1 while 1: ??a=input() ??if int(a)==0:break print(f'Case {i}: {a}') i+=1
s078725415
p02396
u150984829
1513108242
Python
Python3
py
Runtime Error
0
0
71
i=1 while 1: ??a=input() ??if a==0:break print(f'Case {i}: {a}') i+=1
s061314512
p02396
u150984829
1513108355
Python
Python3
py
Runtime Error
0
0
69
i=1 while 1: a=input() if a==0:break print(f'Case {i}: {a}') i+=1
s328108404
p02396
u150984829
1513108505
Python
Python3
py
Runtime Error
0
0
84
import sys i=1 for s in sys.stdin: if s=='0\n':break print(f'Case {i}: {a}') i+=1
s489633962
p02396
u017523606
1513261595
Python
Python3
py
Runtime Error
0
0
156
count = 1 count = int(count) while True: num = input() if num == 0: break print('Case {0}: {1}'.format(count,num)) count = count + 1
s348338993
p02396
u050511799
1514281604
Python
Python3
py
Runtime Error
0
0
134
count = 0 while true: count += 1 n = int(input()) if n == 0: break print('Case ' + str(count) + ' :' + str(n))
s882221353
p02396
u365686736
1514635557
Python
Python3
py
Runtime Error
0
0
105
import sys a=1 for b in sys.stdin:b=b.strip() if b=="0":break print("Case %d: %s"%(a,b)) a+=1
s183875583
p02396
u365686736
1514635657
Python
Python3
py
Runtime Error
0
0
102
import sys a=1 for b in sys.stdin:b=b.strip() if b=="0":break print(f'Case {a}: {b}') a+=1
s356081173
p02396
u365686736
1514635821
Python
Python3
py
Runtime Error
0
0
93
import sys a=1 for b in sys.stdin:b=b.strip() if b=='0':break print(f'Case {a}: {b}') a+=1
s102838012
p02396
u365686736
1514635960
Python
Python3
py
Runtime Error
0
0
93
import sys i=1 for a in sys.stdin:a=a.strip() if a=='0':break print(f'Case {i}: {a}') i+=1
s332592626
p02396
u365686736
1514637287
Python
Python3
py
Runtime Error
0
0
179
newArray = [] x = input() while x != "0": newArray.append(x) x = input() for i in range(len(newArray)): print("Case {}:{}".format((str(i + 1)),(newArray[i]))
s210192080
p02396
u365686736
1514637421
Python
Python3
py
Runtime Error
0
0
229
newArray = [] x = input() while x != "0": newArray.append(x) x = input() for i in range(len(newArray)): #print("Case " + str(i + 1) + ": " + newArray[i]) print("Case %d: %s"%((str(i + 1)),(newArray[i])))
s880026899
p02396
u365686736
1514638079
Python
Python3
py
Runtime Error
0
0
84
x=input() i=1 while x!=0: print("Case {}:{}".format(i,x)) x=input() i+=1
s190686755
p02396
u365686736
1514639647
Python
Python3
py
Runtime Error
0
0
92
x=int(input()) i=1 while x!="0": print("Case %d: %s" %(i,x)) x=int(input()) i+=1
s349413445
p02396
u100875060
1515233165
Python
Python3
py
Runtime Error
0
0
112
i = 0 while True: i += 1 n = input() if (n == 0): break print("Case " + str(i) + ": " + str(n))
s664911213
p02396
u874332113
1515341151
Python
Python3
py
Runtime Error
0
0
73
for i in range(10000): print("Case {}: {}".format(i+1, int(input()))
s608279736
p02396
u113501470
1515792698
Python
Python3
py
Runtime Error
0
0
109
sentinel = '\n' cn=1 for line in iter(input, sentinel): print('Case {}: {}'.format(cn,line)) cn = cn + 1
s923537743
p02396
u179070318
1515921852
Python
Python3
py
Runtime Error
0
0
179
x = input() counter = 0 while True: if x == '0': break else: counter = counter+1 return('Case %d:%s' %(counter,x))
s937006921
p02396
u303842929
1516000400
Python
Python3
py
Runtime Error
0
0
159
i = 1 while True: case = input() print("Case "+str(i)+":"+case) if case == None: print("Case "+str(i)+":"+case) break i += 1
s420975726
p02396
u072855832
1516004753
Python
Python3
py
Runtime Error
0
0
135
count = 0 while true: set = int(input()) count +=1 if set == 0: break print('Case {}: {}'.format(count, set))
s287152582
p02396
u072855832
1516004802
Python
Python3
py
Runtime Error
0
0
118
i = 0 while True: x = int(input()) i +=1 if set == 0: break print('Case {}: {}'.format(i,x))
s668771638
p02396
u072855832
1516005066
Python
Python3
py
Runtime Error
0
0
136
count = 0 while True: set = int(input()): count +=1 if set == 0: break print('Case {0}:{1}'.format(count,set))
s458035637
p02396
u506468108
1516118220
Python
Python3
py
Runtime Error
0
0
125
max = max(x) for i in range(max): if x[i] == 0: break else: print("Case {0}: {1}".format(i+1, x[i]))
s625311725
p02396
u506468108
1516118736
Python
Python3
py
Runtime Error
0
0
142
num = 1 while True: x = int(input()) if x == 0: break else print ("Case {0}: {1}".format(num,x)) num += 1
s163795212
p02396
u546968095
1516679113
Python
Python3
py
Runtime Error
0
0
120
i = 0 def printcase(n): i = i + 1 print("Case ", i, n) if __name__ == "__main__": ret = printcase(input())
s497249032
p02396
u546968095
1516684925
Python
Python3
py
Runtime Error
0
0
120
i = 0 def printcase(n): i = i + 1 print("Case ", i, n) if __name__ == "__main__": ret = printcase(input())
s380159157
p02396
u546968095
1516685610
Python
Python3
py
Runtime Error
0
0
117
i = 0 def printcase(): n = input() print("Case ",i": " ,n) if __name__ == "__main__": ret = printcase()
s588611091
p02396
u546968095
1516685892
Python
Python3
py
Runtime Error
0
0
146
i = 0 def printcase(): n = input() if n == 0: break print("Case",i ,":" ,n) if __name__ == "__main__": ret = printcase()
s007083678
p02396
u546968095
1516692318
Python
Python3
py
Runtime Error
0
0
194
def printcase(): i = 0 n = input() while n != 0: print("Case",i ,":" ,n) n = input() i = i + 1 return 0 if __name__ == "__main__": ret = printcase()
s336229377
p02396
u639135641
1516713927
Python
Python3
py
Runtime Error
0
0
156
### Repetitive Processing - Print Test Cases i = 0 while True: x = int(input()); i += 1 if x == 0: break print("Case {}: {}".format(c, i))
s481059286
p02396
u177808190
1517067566
Python
Python3
py
Runtime Error
0
0
41
a=list() while True: a.append(input())
s111224780
p02396
u177808190
1517068100
Python
Python3
py
Runtime Error
0
0
150
a = list() while True: n = input() if n == 0: break a.append(n) for i in range(len(a)): print ('case {}: {}'.format(i, a[i]))
s092712758
p02396
u177808190
1517068270
Python
Python3
py
Runtime Error
0
0
124
a = list() c = 1 while True: n = input() if n == 0: break print ('case {}: {}'.format(c, n)) c += 1
s867386412
p02396
u177808190
1517068439
Python
Python3
py
Runtime Error
0
0
113
c = 1 while True: n = input() if n == 0: break print ('case {}: {}'.format(c, n)) c += 1
s743649955
p02396
u640809202
1517667100
Python
Python3
py
Runtime Error
0
0
75
n=0 while i = input() != "0": n++ print("Case " + str(n) + ":" +i)
s265440102
p02396
u640809202
1517667162
Python
Python3
py
Runtime Error
0
0
76
n=0 while i = input() != "0": n+=1 print("Case " + str(n) + ":" +i)
s793023987
p02396
u640809202
1517667190
Python
Python3
py
Runtime Error
0
0
76
n=0 while i = input() != "0": n+=1 print("Case " + str(n) + ":" +i)