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
s789801199
p03697
u763881112
1578675138
Python
Python (3.4.3)
py
Runtime Error
17
2940
129
import numpy as np import fractions as fra h,w=map(int,input().split()) if(h+w>=10): print("error"): else: print(h+w)
s166851604
p03697
u609061751
1578039366
Python
Python (3.4.3)
py
Runtime Error
17
2940
137
import sys input = sys.stdin.readline A, B = [int(x) for x in inpput().split()] if A + B >= 10: print("error") else: print(A + B)
s979363834
p03697
u034882718
1577936886
Python
Python (3.4.3)
py
Runtime Error
17
2940
100
x = input() y = input() x = int(x) y = int(y) if x + y >= 10 : print("error") else: print(x+y)
s757578616
p03697
u034882718
1577936860
Python
Python (3.4.3)
py
Runtime Error
17
3064
77
x = input() y = input() if x + y >= 10 : print("error") else: print(x+y)
s046278949
p03697
u034882718
1577936762
Python
Python (3.4.3)
py
Runtime Error
17
2940
101
x = input() y = input() x = int(x) y = int(y) if(x + y >= 10): print("error") else: print(x+y)
s575697383
p03697
u034882718
1577936337
Python
Python (3.4.3)
py
Runtime Error
18
2940
77
x = input() y = input() if(x + y >= 10): print("error") else: print(x+y)
s059759889
p03697
u477343425
1577243847
Python
Python (3.4.3)
py
Runtime Error
17
2940
94
a, b = map(int, input().split()) sum = a + b if sum >= 10: print('error') else: print(ans)
s681154959
p03697
u987170100
1575239440
Python
Python (3.4.3)
py
Runtime Error
17
2940
393
fn read() -> (i32, i32) { let mut s = String::new(); std::io::stdin().read_line(&mut s).unwrap(); let vec: Vec<i32> = s .trim() .split_whitespace() .map(|x| x.parse().unwrap()) .collect(); (vec[0], vec[1]) } fn main() { let (a, b) = read(); if a + b < 10 { ...
s274608208
p03697
u609814378
1574621452
Python
Python (3.4.3)
py
Runtime Error
17
2940
142
A,B = map(int, input().split()) A_B = (A+B) if A_B < 10: print(A_B) elif A_B > 10: print("error") elif A_B = 10: print("error")
s811703416
p03697
u604439298
1574173879
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
a,b = map(int, input().Split()) print(a+b if a+b<10 else "error")
s236183116
p03697
u604439298
1574173591
Python
Python (3.4.3)
py
Runtime Error
17
3064
69
a,b = input() if (a + b) >= 10: print("error) else: print(a + b)
s846350395
p03697
u716530146
1573502954
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38256
75
a,b=map(int,input().split()) if a+b>=10: print('error') else: print(a+b
s089196883
p03697
u252805217
1572861900
Python
Python (3.4.3)
py
Runtime Error
19
3064
401
from math import ceil from bisect import bisect n, a, b = map(int, input().split()) raw_hs = [int(input()) for _ in range(n)] hs = sorted(raw_hs, reverse=True) diff = a - b c_min = 0 c_max = int(10e9) while c_max - c_min > 1: c = (c_min + c_max) // 2 tmp_hs = [h - c * b for h in hs] rem = sum([ceil(h / diff) for ...
s713804606
p03697
u626468554
1572113853
Python
Python (3.4.3)
py
Runtime Error
17
2940
177
#n = int(input()) #n,k = map(int,input().split()) #x = list(map(int,input().split())) a = int(input()) b = int(input()) if a+b >= 10: print("error") else: print(a+b)
s614713327
p03697
u426964396
1572047293
Python
Python (3.4.3)
py
Runtime Error
17
2940
118
s = input().split() if (int(s[0]) + int(s[1])>=10): print('error') else : print(int(s[0]) + int(s[1]))
s436514695
p03697
u723721005
1572046051
Python
PyPy3 (2.4.0)
py
Runtime Error
163
38256
74
a=input() b=input() if(a+b>=10): print("error") else: print(a+b)
s607368139
p03697
u071916806
1570913436
Python
Python (3.4.3)
py
Runtime Error
17
2940
86
A,B=input().spliy() a=int(A) b=int(B) x=a+b if x>10: print('error') else: print(x)
s130764612
p03697
u628965061
1570756969
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
a,b=int(input().split()) print("error" if a+b > 10 else a+b)
s845938796
p03697
u062484507
1569944757
Python
Python (3.4.3)
py
Runtime Error
18
2940
183
n = int(input()) s = [int(input()) for _ in range(n)] score = sum(s) s.sort() i = 0 while score % 10 == 0: score -= s[i] i += 1 if score == 0: break print(score)
s866306823
p03697
u747602774
1569773455
Python
Python (3.4.3)
py
Runtime Error
17
2940
75
A<B=map(int,input().split()) if A+B>9: print('error') else: print(A+B)
s658384957
p03697
u747602774
1569773446
Python
PyPy3 (2.4.0)
py
Runtime Error
183
38256
75
A<B=map(int,input().split()) if A+B>9: print('error') else: print(A+B)
s185185209
p03697
u740047492
1569350286
Python
Python (3.4.3)
py
Runtime Error
17
2940
81
a, b = int(input().split()) if a + b >= 10: print("error") else: print(a + b)
s258445892
p03697
u740047492
1569350258
Python
Python (3.4.3)
py
Runtime Error
17
2940
81
a, b = int(input().split()) if a + b >= 10: print("error") else: print(a + B)
s683060174
p03697
u223904637
1568424427
Python
Python (3.4.3)
py
Runtime Error
18
2940
81
a,b=map(int,input().split())) if a+b<10: print(a+b) else: print('error')
s105759505
p03697
u408791346
1568073845
Python
Python (3.4.3)
py
Runtime Error
17
3064
87
a, b = map(int, input().split()) if a+b >= 10: print('error') elif: print(a+b)
s151857245
p03697
u853185302
1567993775
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
print(sum(map(int,input().split())) if sum(map(int,input().split()))<10 else "error")
s246279831
p03697
u177411511
1567654253
Python
Python (3.4.3)
py
Runtime Error
17
2940
401
import sys import copy import math from _bisect import * from collections import * from operator import itemgetter from math import factorial """ from fractions import gcd def lcm(x, y): return (x * y) // gcd(x, y) """ stdin = sys.stdin ni = lambda: int(ns()) na = lambda: list(map(int, stdin.readline().split())) n...
s008533336
p03697
u871841829
1565671084
Python
Python (2.7.6)
py
Runtime Error
10
2568
72
a,b = map(int, input()) if a +b >= 10: print "error" else: print a+b
s953120383
p03697
u871841829
1565671054
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
a,b = map(int, input()) if a +b >= 10: print "error" else: print a+b
s553190236
p03697
u469953228
1565591778
Python
Python (3.4.3)
py
Runtime Error
17
3064
189
n=int(input()) li = [] for i in range(n): li += [int(input())] x = li[0] ans = -1 count=0 for i in range(n): x = li[x-1] count +=1 if x == 2: print(count+1) exit() print(-1)
s020850810
p03697
u971715376
1565307427
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
A,B=map(int,input()) if A+B>=10: print("error") else : print(A+B)
s364131168
p03697
u408620326
1565058297
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
a=sum[int(x) for x in input().split()] if a>=10: a='error' print(a)
s941691480
p03697
u676059589
1563552982
Python
Python (3.4.3)
py
Runtime Error
17
3060
205
import sys n = int(input()) s = [int(input()) for i in range(n)] s.sort() ans = sum(s) for i in s: if(ans%10==0): if(i%10!=0): print(ans-i) sys.exit() else: print(ans) sys.exit() print(0)
s322477467
p03697
u676059589
1563552243
Python
Python (3.4.3)
py
Runtime Error
19
2940
173
import sys n = int(input()) s = [int(input()) for i in range(n)] s.sort() ans = sum(s) for i in s: if(ans%10==0): ans -= i else: print(ans) sys.exit() print(ans)
s786014397
p03697
u663014688
1563281960
Python
Python (3.4.3)
py
Runtime Error
18
2940
86
A,B = map(input().split()) if A + B >= 10: print('error') else: print(A + B)
s711236900
p03697
u003501233
1562875107
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
A,B=int(input().split()) if A+B < 10: print(A+B) else: print("error")
s050392527
p03697
u774380666
1561179574
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
a,b=int(x) for x in input().split(' ') print("error" if a+b>=10 else a+b)
s439438530
p03697
u770077083
1560525117
Python
Python (3.4.3)
py
Runtime Error
17
2940
80
a, b = map(int, input().split()) if a + b >= 10: print("error") else: print(x+y)
s698600275
p03697
u770077083
1560525048
Python
Python (3.4.3)
py
Runtime Error
17
2940
80
a, b = map(int, input().split()) if x + y >= 10: print("error") else: print(x+y)
s986441780
p03697
u102461423
1560218290
Python
Python (3.4.3)
py
Runtime Error
17
2940
67
a,b = map(input().split()) x = a+b print('error' if x >= 10 else x)
s326316081
p03697
u144387560
1559148917
Python
Python (3.4.3)
py
Runtime Error
17
2940
112
a = int(input()) b = int(input()) ans = a + b if ans >= 10: print("error") else : print(ans)
s731544912
p03697
u778814286
1558918676
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
a, b = map(int, input().split()) print('error' if a+b >= 10 else a+b
s730306181
p03697
u928784113
1558386653
Python
Python (3.4.3)
py
Runtime Error
17
2940
302
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = Integer.parseInt(sc.next()); int b = Integer.parseInt(sc.next()); if (a+b >= 10){ System.out.println("error"); } else { System.out.println(a+b); } } }
s275622100
p03697
u436110200
1557436838
Python
Python (3.4.3)
py
Runtime Error
18
2940
59
a,b = input().split(" ") print("error" if a+b>=10 else a+b)
s707062881
p03697
u436110200
1557436783
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
a,b = input().split() print("error" if a+b>=10 else a+b)
s224299758
p03697
u788856752
1556295177
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
A, B = map(int, input().split()) print(["error", A + B] A + B < 10)
s532430960
p03697
u059262067
1556213674
Python
Python (3.4.3)
py
Runtime Error
17
2940
101
a, b = (int(i) for i in input().split()) if sum(a,b) > 9: print("error") else: print(sum(a,b))
s232305617
p03697
u187205913
1556193687
Python
Python (3.4.3)
py
Runtime Error
18
2940
76
a,b = map(int,input().split()) if a+b>=10: print(error) else: print(a+b)
s374966822
p03697
u623819879
1555944615
Python
PyPy3 (2.4.0)
py
Runtime Error
170
38256
2
g
s769411876
p03697
u885523920
1555368383
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
a,b=int(input().split()) if a+b>=10: print('error') else: print(a+b)
s462621762
p03697
u694810977
1554639441
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
a,b = map(int,input().split())) if a+b >= 10: print("error") else: print(str(a+b))
s773487029
p03697
u694810977
1554639331
Python
Python (3.4.3)
py
Runtime Error
17
2940
101
a,b = map(int,input().split())) if a+b >= 10: print("error") else: print(a+b)
s562330836
p03697
u859897687
1552832234
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
a,b=wap(int,input().split()) if a+b>9: print("error") else: print(a+b)
s698300441
p03697
u170324846
1552480810
Python
Python (3.4.3)
py
Runtime Error
19
2940
93
a, b = map(int, input().split()) if a + b >= 10: print("error") else: print(sum(a + b)
s840012267
p03697
u170324846
1552138499
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
print("error") if sum(input().split()) >= 10 else print(sum(input().split()))
s396793620
p03697
u143509139
1552003350
Python
Python (3.4.3)
py
Runtime Error
18
2940
72
a, b = int(input()) if a + b < 10: print(a + b) else: print('error')
s906205622
p03697
u865413330
1551611028
Python
Python (3.4.3)
py
Runtime Error
17
2940
175
n = int(input()) l = [int(input()) for i in range(n)] total = sum(l) i = 0 while total % 10 == 0: if i = n: break total = total - l[i] i += 1 print(total)
s783375438
p03697
u865413330
1551610725
Python
Python (3.4.3)
py
Runtime Error
18
2940
146
n = int(input()) l = [int(input()) for i in range(n)] total = sum(l) i = 0 while total % 10 == 0: total = total - l[i] i + 1 print(total)
s857416464
p03697
u865413330
1551608984
Python
Python (3.4.3)
py
Runtime Error
18
2940
75
a, b = int(input().split()) print(a + b) if a + b < 10 else print("error")
s905393136
p03697
u777028980
1550089159
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
a,b=map(int,input().spkit()) if(a+b>=10): print("error") else: print(a+b)
s236951137
p03697
u371467115
1546904961
Python
Python (3.4.3)
py
Runtime Error
17
2940
62
print(["error",A+B],[sum(list(map(int,input().split())))<10])
s474236383
p03697
u371467115
1546904862
Python
Python (3.4.3)
py
Runtime Error
18
2940
65
print(["error",A+B],[eval(input().split().replace(" ","+"))<10])
s085156680
p03697
u371467115
1544983596
Python
Python (3.4.3)
py
Runtime Error
18
2940
84
print(["error",eval(input().replace(" ","+"))],[eval(input().replace(" ","+"))<10])
s075094799
p03697
u371467115
1544983450
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
print(["error",A+B],[eval(input().replace(" ","+"))<10])
s810613191
p03697
u371467115
1544982686
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
A,B=map(int,input().split()) if A+B<10: print(A+B) else:A+B>=10: print("erorr")
s614950222
p03697
u258375111
1544226256
Python
Python (3.4.3)
py
Runtime Error
18
2940
76
a,b=map[int,input().split()] if a+b<10: print(a+b) else: print("error")
s448132286
p03697
u258375111
1544225675
Python
Python (3.4.3)
py
Runtime Error
17
2940
79
a=int(input()) b=int(input()) c=a+b if c<10: print(c) else: print('error')
s762790930
p03697
u258375111
1544225572
Python
Python (3.4.3)
py
Runtime Error
18
2940
83
a=int(input()) b=int(input()) if a+b<10: print('%d',a+b) else: print('error')
s288364521
p03697
u258375111
1544225433
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
a=input() b=input() if a+b<10: print('%d',a+b) else: print('error')
s194280315
p03697
u258375111
1544225224
Python
Python (3.4.3)
py
Runtime Error
18
2940
82
a=input() b=input() if int(a)+int(b)<10: print(a+b) else: print('error')
s669569998
p03697
u258375111
1544224806
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
a=input() b=input() if c>=10: print('error') else: print(a+b)
s760750198
p03697
u258375111
1544224763
Python
Python (3.4.3)
py
Runtime Error
18
2940
80
a=input() b=input() c=a+b if c>=10: print('error') else: print('c')
s077856539
p03697
u258375111
1544224475
Python
Python (3.4.3)
py
Runtime Error
18
2940
77
a=input() b=input() c=a+b if c>=10: print('error') else: print(c)
s550227255
p03697
u272557899
1543985446
Python
Python (3.4.3)
py
Runtime Error
18
3064
1015
import math n, a, b = map(int, input().split()) d = [] for i in range(n): d.append(input()) # [d1, d2, d3, ..., dN] h = [int(m) for m in d]#int型に直す #print(x) low = 0 high = math.ceil(max(h)/b) # t は中央番目の数 t = (low + high) // 2 # 探索の下限のlowが上限のhighになるまで探索 # lowがhighに達すると数は見つからなかっTrueたということ X = 0 Y = 0 s = 0 while h...
s703619269
p03697
u928784113
1543982409
Python
Python (3.4.3)
py
Runtime Error
18
2940
137
#!/usr/bin/env python # -*- coding: utf-8 -*- A,B=map(int,input(),split()) if A + B <10: print("{}".format(A+B)) else: print("error")
s229144219
p03697
u869728296
1541808007
Python
Python (3.4.3)
py
Runtime Error
18
2940
114
a=input()strip().split(" ") b=[int(i) for i in a] c=b[0]+b[1] if(c>=10): print("error") else: print(c)
s755215999
p03697
u869728296
1541807992
Python
Python (3.4.3)
py
Runtime Error
19
2940
113
a=input()strip().split(" ") b=[int(i) for i in a] c=b[0]+c[1] if(c>=10): print("error") else: print(c)
s756633975
p03697
u791664126
1541212487
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
s=input();a=s[0]+s[-1];print('error' if a>9 else a)
s233120585
p03697
u609062428
1540937254
Python
Python (3.4.3)
py
Runtime Error
20
3188
83
S,A,B = map(int, input().split()) S=A+B if S>=10: print('error') else: print(S)
s675286488
p03697
u052332717
1540911005
Python
Python (3.4.3)
py
Runtime Error
17
2940
96
x,y = map(int,input().split()) x+y = a if a >= 10: print('error') else: print(a)
s148488533
p03697
u052332717
1540910944
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
x,y = map(int,input().split()) if x+y >= 10: print('error') else: print(a+b)
s212346581
p03697
u102960641
1540869026
Python
Python (3.4.3)
py
Runtime Error
17
2940
152
s = input() a = [i for i in s] s = sorted(a) b = 1 for i in range(len(s)-1): if s[i] == s[i+1]: b = 0 print("yes") if b = 1 else print("no")
s908570184
p03697
u102960641
1540868556
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
a,b = map(int,input().split()) print "error" if a+b >=10 else print(a+b)
s127470432
p03697
u518556834
1538185940
Python
Python (3.4.3)
py
Runtime Error
17
2940
81
a,b = map(int(input().split())) if a+b >= 10: print("error") else: print(a+b)
s696116429
p03697
u274045692
1538075302
Python
Python (3.4.3)
py
Runtime Error
17
2940
92
a, b = map (int, input().split()) c = a + b if c < 10: print(c) else: print(error)
s803347876
p03697
u970523279
1537405281
Python
Python (3.4.3)
py
Runtime Error
291
19684
260
import numpy as np N, A, B = [int(n) for n in input().split()] h = [] for n in range(N): h.append(int(input())) h = np.array(h) count = 0 while True: if np.max(h) <= 0: break idx = np.argmax(h) h = h - B h[idx] = h[idx] - A + B count += 1 print(count)
s705097574
p03697
u201234972
1536459705
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
A, B = map( int, input().split) if A+B >= 10: print('error') else: print(A+B)
s318942626
p03697
u599547273
1536417576
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
x=input();z=eval(x[0]+"+"x[2]);print(z//10*"error"or z)
s527921787
p03697
u221345507
1535270783
Python
Python (3.4.3)
py
Runtime Error
17
3064
242
N=int(input()) data=[] no10=[] for i in range (N): a=int(input()) data.append(a) if a%10!=0: no10.append(a) ans=sum(data) if ans%10!=0: print (ans) elif len(no10)!=0: print(ans-no10[0]) else: print (0)
s154515566
p03697
u813102292
1533951158
Python
Python (3.4.3)
py
Runtime Error
17
2940
91
A,B = int(i) for i in input().split() if A+B >= 10: print("error") else: print(A+B)
s202737243
p03697
u761989513
1533779065
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
a, b = map(int, input().splt()) if a + b >= 10: print("error") else: print(a + b)
s795383868
p03697
u446687234
1532328601
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
a,b = input().split() if a+b < 10: print(a+b) else: print("error")
s587930182
p03697
u109256064
1531493722
Python
Python (2.7.6)
py
Runtime Error
10
2568
83
a, b = (int(x) for x in raw_input().split) print "error" if a + b > 9 else str(a+b)
s997704674
p03697
u597436499
1530819678
Python
Python (3.4.3)
py
Runtime Error
17
2940
80
a,b = map(int, input()) if a + b >= 10: print("error") else: print(a+b)
s122307623
p03697
u409064224
1529775390
Python
Python (3.4.3)
py
Runtime Error
17
2940
86
a = int(input()) b = int(input()) if a + b >= 10: print("error") else: print(a+b)
s186650358
p03697
u409064224
1529775303
Python
Python (3.4.3)
py
Runtime Error
17
2940
84
a,b = int(input()),int(input()) if a + b >= 10: print("error") else: print(a+b)
s741450604
p03697
u409064224
1529775269
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
a,b = int(input()) if a + b >= 10: print("error") else: print(a+b)
s153802827
p03697
u957084285
1522716781
Python
Python (3.4.3)
py
Runtime Error
17
3064
468
N, A, B = list(map(int, input().split())) H = [int(input()) for _ in range(N)] from math import ceil def can_korosu(t): count = 0 for h in H: count += ceil(max(0, h - t*B)/(A-B)) if count > t: return False return True lo = 0 hi = 10**9 p = (lo, hi) for _ in range(50): mid...
s080910293
p03697
u632369368
1521650290
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
A, B = map(int, input()) print('error' if A + B >= 10 else A + B)
s170751262
p03697
u227254381
1518752322
Python
Python (3.4.3)
py
Runtime Error
18
2940
88
a,b = map(int, input().split()) result = a+b if a+b < 10 else ‘Error’ print(result)