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
s606427724
p02396
u327546577
1528136282
Python
Python3
py
Runtime Error
0
0
105
i = 1 while True: x = int(input) if x == 0: break print(f"Case {i}: {x}") i += 1
s047193964
p02396
u767368698
1528419405
Python
Python3
py
Runtime Error
0
0
82
cnt = 1 while input() != 0: print('Case '+str(cnt)+': '+input()) cnt += 1
s718763837
p02396
u767368698
1528419480
Python
Python3
py
Runtime Error
0
0
98
cnt = 1 c = input() while c != 0: print('Case '+str(cnt)+': '+c) c = input() cnt += 1
s672988721
p02396
u138224929
1528609996
Python
Python3
py
Runtime Error
0
0
262
#include <iostream> #include <sstream> #include <sstring> using namespace std; int main(){ int i i == 1 while (1){ int x; cin >> x; cout<< "Case " << i << ": " << x << endl; if (x == 0){ break; }else{ i++ ; } } }
s694288487
p02396
u138224929
1528610102
Python
Python3
py
Runtime Error
0
0
279
#include <iostream> #include <sstream> #include <sstring> using namespace std; int main(){ int i i == 1 while (1){ int x; cin >> x; cout<< "Case " << i << ": " << x << endl; if (x == 0){ break; abort(); }else{ i++ ; } } }
s682263181
p02396
u559106458
1528636665
Python
Python3
py
Runtime Error
0
0
103
n = 1 for x in input() if x=0: break else if 1<=x<=1000: print("Case",n+":",x) print(\n) n = n + 1
s380541337
p02396
u504401399
1529130892
Python
Python3
py
Runtime Error
0
0
174
li=[] while(a!=0): a=int(input()) li.append(a) for i in range(1,len(li)+1): if li[i]!=0: print("case {0}: {1}".format(i,li[i])) else: break
s863245940
p02396
u119807026
1529986102
Python
Python3
py
Runtime Error
0
0
123
While (True): i += 1 x = int(input()) if x == 0: break else: print("Case %d: %d %(i, x))
s600531718
p02396
u987236471
1530478115
Python
Python3
py
Runtime Error
0
0
97
i = 0 while True: i += i+1 n=int(input()) if x == 0: break print("Case {}: {}".format(i,x))
s435623311
p02396
u987236471
1530478278
Python
Python3
py
Runtime Error
0
0
134
i = 0 while True:     x = int(input())     if x == 0: break     i = i + 1     print("Case " + str(i) + ": " + str(x))
s667975298
p02396
u987236471
1530478355
Python
Python3
py
Runtime Error
0
0
134
i = 0 while True:     x = int(input())     if x == 0: break     i = i + 1     print("Case " + str(i) + ": " + str(x))
s979028140
p02396
u987236471
1530478362
Python
Python3
py
Runtime Error
0
0
135
i = 0 while True:     x = int(input())     if x == 0: break     i = i + 1     print("Case " + str(i) + ": " + str(x))
s896157951
p02396
u987236471
1530478378
Python
Python3
py
Runtime Error
0
0
141
i = 0 while True:     x = int(input())     if x == 0: break     i = i + 1     print("Case " + str(i) + ": " + str(x))
s770433290
p02396
u763301852
1363007692
Python
Python
py
Runtime Error
0
0
110
i = 0 while True: x = input() if x == 0: return 0 i += 1 print("Case %d: %d" % (i, x))
s295275540
p02396
u912237403
1370856523
Python
Python
py
Runtime Error
0
0
95
import sys c = 0 for x in sys.stdin.readline(): c += 1 print 'Case %d: %s' %(c, int(x))
s641270008
p02396
u912237403
1370856700
Python
Python
py
Runtime Error
0
0
138
import sys c = 0 line = sys.stdin.readline(): while line: c += 1 print 'Case %d: %s' %(c, int(x)) line = sys.stdin.readline():
s672083512
p02396
u912237403
1370856791
Python
Python
py
Runtime Error
0
0
141
import sys c = 0 line = sys.stdin.readline(): while line: c += 1 print 'Case %d: %s' %(c, int(line)) line = sys.stdin.readline():
s902196875
p02396
u912237403
1370858647
Python
Python
py
Runtime Error
0
0
112
import sys c = 0 for line in sys.stdin: if line='0': break c += 1 print 'Case %d: %d' %(c,int(line))
s919876585
p02396
u912237403
1371208789
Python
Python
py
Runtime Error
0
0
119
c = 0 while True: a = map(int, raw_input().split()) if a == 0: break c += 1 print 'Case %d: %d' %(c, a)
s886946624
p02396
u912237403
1371209213
Python
Python
py
Runtime Error
0
0
101
c = 0 while True: a = raw_input() if a == 0: break c += 1 print 'Case %d: %d' %(c, a)
s267143403
p02396
u140201022
1381694234
Python
Python
py
Runtime Error
0
0
73
for i,w in enumerate(sys.stdin): print 'Case %s: ' % str(i+1) +w[:-1]
s405145333
p02396
u904989881
1391647586
Python
Python
py
Runtime Error
0
0
88
while True: i = input() if i != 0: print 'Case i: %d' %i else: False
s524235498
p02396
u633068244
1393316582
Python
Python
py
Runtime Error
0
0
123
a = map(str,map(int, raw_input())) for i in a: if a[i] /= 0: print "Case",i+1,":",a[i] else: break
s235661150
p02396
u633068244
1393316979
Python
Python
py
Runtime Error
0
0
131
import sys i = 1 for line in sys.stdin: if line != 0: print "Case %d: %d" % (i, line) else: break i += 1
s517964002
p02396
u633068244
1393317202
Python
Python
py
Runtime Error
0
0
190
from __future__ import division, print_function from sys import stdin i = 1 for line in sys.stdin: if line != 0: print "Case %d: %d" % (i, line) else: break i += 1
s676471089
p02396
u633068244
1393317214
Python
Python
py
Runtime Error
0
0
186
from __future__ import division, print_function from sys import stdin i = 1 for line in stdin: if line != 0: print "Case %d: %d" % (i, line) else: break i += 1
s933578486
p02396
u633068244
1393317282
Python
Python
py
Runtime Error
0
0
186
from __future__ import division, print_function from sys import stdin i = 1 for line in stdin: if line != 0: print "Case %d: %d" % (i, line) else: break i += 1
s222639199
p02396
u633068244
1393317373
Python
Python
py
Runtime Error
0
0
201
from __future__ import division, print_function from sys import stdin i = 1 for line in stdin: x = int(line) if line != 0: print "Case %d: %d" % (i, x) else: break i += 1
s472325581
p02396
u633068244
1393317422
Python
Python
py
Runtime Error
0
0
201
from __future__ import division, print_function from sys import stdin i = 1 for line in stdin: x = int(line) if line != 0: print "Case %d: %d" % (i, x) else: break i += 1
s443761807
p02396
u633068244
1393317465
Python
Python
py
Runtime Error
0
0
184
from __future__ import division, print_function from sys import stdin i = 1 for line in stdin: x = int(line) if not x: break print "Case %d: %d" % (i, x) i += 1
s462129593
p02396
u633068244
1393317490
Python
Python
py
Runtime Error
0
0
188
from __future__ import division, print_function from sys import stdin i = 1 for line in stdin: x = int(line) if not x: break print "Case {}: {}".format(i, x) i += 1
s083644560
p02396
u633068244
1393317504
Python
Python
py
Runtime Error
0
0
188
from __future__ import division, print_function from sys import stdin i = 1 for line in stdin: x = int(line) if not x: break print 'Case {}: {}'.format(i, x) i += 1
s774622693
p02396
u971748390
1398312805
Python
Python
py
Runtime Error
0
0
86
i=0 while 1: x = raw_input() i = i+1 if x == 0: break print 'Case %d :%d' %(i,x)
s481284189
p02396
u971748390
1398312893
Python
Python
py
Runtime Error
0
0
86
i=0 while 1: x = raw_input() i = i+1 if x == 0: break print 'Case %d :%d' %(i,x)
s203749680
p02396
u971748390
1398312931
Python
Python
py
Runtime Error
0
0
86
i=0 while 1: x = raw_input() i = i++ if x == 0: break print 'Case %d :%d' %(i,x)
s275289490
p02396
u971748390
1398312931
Python
Python
py
Runtime Error
0
0
86
i=0 while 1: x = raw_input() i = i++ if x == 0: break print 'Case %d :%d' %(i,x)
s740576880
p02396
u971748390
1398312931
Python
Python
py
Runtime Error
0
0
86
i=0 while 1: x = raw_input() i = i++ if x == 0: break print 'Case %d :%d' %(i,x)
s892246379
p02396
u971748390
1398312931
Python
Python
py
Runtime Error
0
0
86
i=0 while 1: x = raw_input() i = i++ if x == 0: break print 'Case %d :%d' %(i,x)
s251063985
p02396
u814387366
1402555587
Python
Python
py
Runtime Error
0
0
69
i=0 while True : x=input() i+=1 print "Case "+str(i)+": "+str(x)
s721729038
p02397
u907607057
1530863319
Python
Python3
py
Runtime Error
0
0
178
while True: x, y = [int(i) for i in sys.stdin.readline().split(' ')] if x == 0 & y == 0: break elif x <= y: print(x, y) else: print(y, x)
s082862207
p02397
u800021849
1531466176
Python
Python3
py
Runtime Error
0
0
115
while 1: a = list(map(int, input().split())) if a == 0 and b == 0: break print(min(a), max(a))
s588495619
p02397
u452254177
1531495162
Python
Python3
py
Runtime Error
0
0
167
while True: x,y = [int(i) for i in input().split()] if x >= y: print (y,x) elif x < y : print (x,y) elif x==0 and y==0: break
s496334105
p02397
u452254177
1531496036
Python
Python3
py
Runtime Error
0
0
165
while True: x,y=[int (i) for i in input().split()] if x==0 and y==0: break if x >= y: print (y,x) elif x < y : print (x,y)
s458999660
p02397
u404682284
1535026516
Python
Python3
py
Runtime Error
0
0
155
package main import "fmt" func main(){ var a, b int for ;;{ fmt.Scan(&a, &b) if a == 0 && b == 0 { break } fmt.Printf("%d %d\n", b, a) } }
s154317350
p02397
u365921604
1535073526
Python
Python3
py
Runtime Error
0
0
165
for i in range(0, 3000): array = map(int, input().split(' ')) if x == 0 and y == 0: break else: print(' '.join(map(str, sorted(array))))
s969454334
p02397
u365921604
1535073566
Python
Python3
py
Runtime Error
0
0
179
for i in range(0, 3000): array = map(int, input().split(' ')) if array[0] == 0 and array[1] == 0: break else: print(' '.join(map(str, sorted(array))))
s197445151
p02397
u365921604
1535073598
Python
Python3
py
Runtime Error
0
0
196
for i in range(0, 3000): array = map(int, input().split(' ')) print(array) if array[0] == 0 and array[1] == 0: break else: print(' '.join(map(str, sorted(array))))
s882243765
p02397
u883600689
1535354679
Python
Python3
py
Runtime Error
0
0
113
while True: a,b=[int(x) for x in input().split()] if a==0 and b==0: break elif a<b: print(a,b) else: print(b,a)
s039134405
p02397
u677096240
1535432315
Python
Python3
py
Runtime Error
0
0
205
def check(lis): if lis[0] > lis[1]: return lis[::-1] else: return lis while True: l = list(map(int, input().spilt())) if sum(l) == 0: break print(*check(l))
s223471744
p02397
u281808376
1540287386
Python
Python3
py
Runtime Error
0
0
244
while True: str=input().split int=[int(s) for s in str] if int[0]==0 and int[1]==0: break if int[0]<int[1]: print("{} {}".format(int[0],int[1])) if int[0]>int[1]: print("{} {}".format(int[1],int[0]))
s494771656
p02397
u281808376
1540287441
Python
Python3
py
Runtime Error
0
0
257
while True: str_=input().split int_=[int(s) for s in str_] if int_[0]==0 and int_[1]==0: break if int_[0]<int_[1]: print("{} {}".format(int_[0],int_[1])) if int_[0]>int_[1]: print("{} {}".format(int_[1],int_[0]))
s098624211
p02397
u281808376
1540287529
Python
Python3
py
Runtime Error
0
0
218
while True: x=input().split y=[int(s) for s in x] if y[0]==0 and y[1]==0: break if y[0]<y[1]: print("{} {}".format(y[0],y[1])) if y[0]>y[1]: print("{} {}".format(y[1],y[0]))
s141195319
p02397
u281808376
1540287625
Python
Python3
py
Runtime Error
0
0
220
while True: x=input().split y=[int(x[0]),int(x[1])] if y[0]==0 and y[1]==0: break if y[0]<y[1]: print("{} {}".format(y[0],y[1])) if y[0]>y[1]: print("{} {}".format(y[1],y[0]))
s855278238
p02397
u281808376
1540287659
Python
Python3
py
Runtime Error
0
0
224
while True: x=input().split y=[int(x[0]),int(x[1])] if y[0]==0 and y[1]==0: break elif y[0]<y[1]: print("{} {}".format(y[0],y[1])) elif y[0]>y[1]: print("{} {}".format(y[1],y[0]))
s735042146
p02397
u596993252
1540456268
Python
Python3
py
Runtime Error
0
0
170
while True: input=input() a,b=map(int,input.split()) if a==b==0: break if a<b: print(f"{a} {b}") else: print(f"{b} {a}")
s232475497
p02397
u596993252
1540456362
Python
Python3
py
Runtime Error
0
0
194
while True: input=input() a,b=map(int,input.split()) if (a==b): if (a==0): break if (a<b): print(f"{a} {b}") else: print(f"{b} {a}")
s818894501
p02397
u035064179
1540456535
Python
Python3
py
Runtime Error
0
0
188
x, y = map(int, input().split()) for i in range(0, 10001): if x == 0 && y == 0: break if x > y: temp = int(x) x = y y = temp print(f'{x} {y}')
s699977411
p02397
u861678859
1540456569
Python
Python3
py
Runtime Error
0
0
120
while True: x,y = map(int,input().split()) if x > y: print(f'{y}{x}) else : print(f'{x}{y})
s395372600
p02397
u861678859
1540456642
Python
Python3
py
Runtime Error
0
0
159
while True: x,y = map(int,input().split()) if x > y: print(f'{y}{x}) else : print(f'{x}{y}) if x == 0 or y == 0: break
s949799829
p02397
u861678859
1540456663
Python
Python3
py
Runtime Error
0
0
164
while True: x,y = map(int,input().split()) if x > y: print(f'{y}{x}) elif x < y: print(f'{x}{y}) if x == 0 or y == 0: break
s056921802
p02397
u861678859
1540456686
Python
Python3
py
Runtime Error
0
0
165
while True: x,y = map(int,input().split()) if x > y: print(f'{y}{x}) elif x < y: print(f'{x}{y}) if x == 0 and y == 0: break
s610144619
p02397
u861678859
1540456705
Python
Python3
py
Runtime Error
0
0
167
while True: x,y = map(int,input().split()) if x > y: print(f'{y}{x}) elif x < y: print(f'{x}{y}) elif x == 0 and y == 0: break
s389230839
p02397
u861678859
1540457010
Python
Python3
py
Runtime Error
0
0
214
while True: x,y = map(int,input().split()) if x > y: print(f"{y} {x}") elif x < y: print(f"{x} {y}") elif x == y: print(f"{x} {y}") elif x == 0 and y == 0: break
s295872407
p02397
u861678859
1540457345
Python
Python3
py
Runtime Error
0
0
172
while True: x,y = map(int,input().split()) if x > y: print(f"{y} {x}") elif x <= y: print(f"{x} {y}") elif x == 0 and y == 0: break
s834243807
p02397
u184749404
1540731371
Python
Python3
py
Runtime Error
0
0
115
x,y=map(int,input().split()) if x>y : print(y,x) elif x=y=0: print() else : print(x,y) for i in :
s078384816
p02397
u184749404
1540731483
Python
Python3
py
Runtime Error
0
0
125
while True : x,y=map(int,input().split()) if x>y : print(y,x) elif x=y=0: print(end) else : print(x,y)
s487273080
p02397
u901205536
1540814029
Python
Python3
py
Runtime Error
0
0
145
repetition = True while repetition == True: a, b = map(int, input().split(" ")) if a > b: a, b = b, a print("%d %d" % (a,b))
s908329434
p02397
u184749404
1541161518
Python
Python3
py
Runtime Error
0
0
132
x,y = int(input()) while True if x == y: break elif x < y: print(x,y) else: print(y,x)
s058840088
p02397
u184749404
1541161594
Python
Python3
py
Runtime Error
0
0
146
x,y = map(int. input ().split()) while True if x == y: break elif x < y: print(x,y) else: print(y,x)
s809940668
p02397
u184749404
1541161733
Python
Python3
py
Runtime Error
0
0
150
x,y = map(int. input ().split()) while True if x == y == 0 break elif x < y: print(x,y) else: print(y,x)
s197948991
p02397
u184749404
1541161753
Python
Python3
py
Runtime Error
0
0
156
x,y = map(int. input ().split()) while True if x == 0 and y == 0 break elif x < y: print(x,y) else: print(y,x)
s611297220
p02397
u184749404
1541161762
Python
Python3
py
Runtime Error
0
0
158
x,y = map(int. input ().split()) while True if x == 0 and y == 0 : break elif x < y: print(x,y) else: print(y,x)
s752898481
p02397
u184749404
1541161794
Python
Python3
py
Runtime Error
0
0
155
x,y = map(int,input().split()) while True if x == 0 and y == 0: break elif x < y: print(x,y) else: print(y,x)
s311807838
p02397
u184749404
1541162068
Python
Python3
py
Runtime Error
0
0
140
while True: x,y = int(input()) if x == 0 and y == 0: break elif x < y: print(x,y) else: print(y,x)
s932160026
p02397
u550922601
1545473309
Python
Python3
py
Runtime Error
0
0
92
while True: x, y = list(map(int, input().split())) if x == 0 and y == 0:
s165404653
p02397
u962909487
1545814567
Python
Python3
py
Runtime Error
0
0
137
while True: x,y = map(int(input().split()) if (x,y) ==(0,0): break if x < y: print(x,y) else: print(y,x)
s468111982
p02397
u316246166
1545831615
Python
Python3
py
Runtime Error
0
0
143
for i in range(10000): a, b = map(int, input().split()) if a > b: print(a, b) else print(b, a)
s515871739
p02397
u316246166
1545831652
Python
Python3
py
Runtime Error
0
0
144
for i in range(3000): a, b = map(int(), input().split()) if a > b: print(a, b) else print(b, a)
s743116572
p02397
u316246166
1545831738
Python
Python3
py
Runtime Error
0
0
142
for i in range(3000): a, b = map(int, input().split()) if a > b: print(a, b) else print(b, a)
s894178974
p02397
u316246166
1545831806
Python
Python3
py
Runtime Error
0
0
183
for i in range(3000): a, b = map(int, input().split()) if a == 0 and b == 0 break elif a > b: print(a, b) else print(b, a)
s231584821
p02397
u316246166
1545831844
Python
Python3
py
Runtime Error
0
0
183
for i in range(3000): a, b = map(int, input().split()) if a == 0 and b == 0 break elif a < b: print(a, b) else print(b, a)
s899892471
p02397
u316246166
1545832042
Python
Python3
py
Runtime Error
0
0
177
for i in range(3000): a, b = map(int, input().split()) if a == b == 0 break elif a < b: print(a, b) else print(b, a)
s014135383
p02397
u316246166
1545832050
Python
Python3
py
Runtime Error
0
0
180
for i in range(3000): a, b = map(int, input().split()) if a == b == 0 break if a < b: print(a, b) else print(b, a)
s016169446
p02397
u643542669
1545842374
Python
Python3
py
Runtime Error
0
0
163
while True: x, y = map(int, inpu().split()) if x == 0 and y == 0: break if x > y: z = x x = y y = z print(x, y)
s325930440
p02397
u013132149
1546159397
Python
Python
py
Runtime Error
0
0
107
while True x,y = (int,input().split) if x!=0 and y!=0: print(min([x,y]), max([x,y]))
s557188031
p02397
u013132149
1546159518
Python
Python3
py
Runtime Error
0
0
113
for i in range(3000): x,y = (int,input().split) if x!=0 and y!=0: print(min([x,y]), max([x,y]))
s694666627
p02397
u013132149
1546159531
Python
Python3
py
Runtime Error
0
0
102
while True x,y = (int,input().split) if x!=0 and y!=0: print(min([x,y]), max([x,y]))
s604656137
p02397
u013132149
1546159574
Python
Python3
py
Runtime Error
0
0
137
for i in range(3000): x,y = (int,input().split) if x!=0 and y!=0: print(min([x,y]), max([x,y])) else: break
s524793610
p02397
u013132149
1546159709
Python
Python3
py
Runtime Error
0
0
166
while True x,y = (int,input().split) if (x,y) == (0,0): break else: if x < y: print(x,y) else: print(y,x)
s614380123
p02397
u013132149
1546159750
Python
Python3
py
Runtime Error
0
0
169
while True x,y = map(int,input().split) if (x,y) == (0,0): break else: if x < y: print(x,y) else: print(y,x)
s795483646
p02397
u013132149
1546159833
Python
Python3
py
Runtime Error
0
0
171
while True: x,y = map(int,input().split) if (x,y) == (0,0): break else: if x < y: print(x,y) else: print(y,x)
s844116349
p02397
u563075864
1546413712
Python
Python
py
Runtime Error
0
0
143
while(1): a,b = [int(i) for i in input().split()] if a == 0 and b == 0: break c = [a,b] c.sort() print(*c,sep=" ")
s126661046
p02397
u733357255
1551418170
Python
Python3
py
Runtime Error
0
0
108
while True: a,b = map(int, input().split()) if a,b = 0,0: break if a > b: a,b = b,a print(f"{a} {b}")
s491012935
p02397
u733357255
1551418238
Python
Python3
py
Runtime Error
0
0
109
while True: a,b = map(int, input().split()) if a,b == 0,0: break if a > b: a,b = b,a print(f"{a} {b}")
s602202142
p02397
u175224634
1551533681
Python
Python3
py
Runtime Error
0
0
160
while True: a, b = map(int, input().split()) if a == 0 and b == 0: break if a > b: print(f"b a"") else: print(f"a b"")
s661298001
p02397
u175224634
1551533763
Python
Python3
py
Runtime Error
0
0
158
while True: a, b = map(int, input().split()) if a == 0 and b == 0: break if a > b: print(f'b a") else: print(f"a b")
s953771744
p02397
u984892564
1551540731
Python
Python3
py
Runtime Error
0
0
198
for i in range(3000): string = input() numbers = string.split(' ') x, y = numbers if x = 0 and y = 0: break elif x < y: print(x, y) else: print(y, x)
s295201728
p02397
u605451279
1555758812
Python
Python3
py
Runtime Error
0
0
157
for i in range(3000): a = input().split() x = int(a[0]) y = int(a[1]) if x == y: print(x,y) elif x < y: print(x,y) else: print(y,x)
s587779323
p02397
u928633434
1555812508
Python
Python3
py
Runtime Error
0
0
110
i = 1 while True: x = input() if x == "0": break print ("Case " + str(i) + ": " + str(x)) i += 1
s584737457
p02397
u928633434
1555812579
Python
Python3
py
Runtime Error
0
0
181
while True: x,y = (int(x) for x in input().split()) if x == "0" and y == "0": break if x > y: print (str(x) + " " + str(y)) else: print (str(y) + " " + str(x))