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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s809632227 | p03696 | u667024514 | 1520483515 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 253 | import math
n = int(input())
lis = []
cou = 0
ans = 0
li = list(map(int,input().split()))
for i in range(n):
if li[i] >= 3200:
cou += 1
else:
if math.floor(li[i] / 400) not in lis:
ans += 1
print(ans,min(8,ans + cou)) |
s203713981 | p03696 | u867069435 | 1518488884 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 315 | n = int(input())
s = list(input())
j = []
now = 0
unclosen = 0
opened = 0
for i in s:
if i == ")":
now -= 1
if opened:
opened -= 1
else:
unclosen += 1
else:
now += 1
opened += 1
j = np.array(j)
print("(" * unclosen + "".join(s) + ")" * opened) |
s005077684 | p03696 | u665415433 | 1505334037 | Python | Python (3.4.3) | py | Runtime Error | 27 | 3316 | 340 | n = int(input())
N = input()
L = 0
R = 0
num = 0
while N[num] == ')':
L += 1
num += 1
num = n-1
while N[num] == '(':
R += 1
num -= 1
a = N.count('(')
b = len(N) - a
c = a - b + L -R
if (c) < 0:
for i in range(abs(c)):
N = '(' + N
elif (c) > 0:
for i in range(abs(c)):
N = N + ')'
... |
s227455387 | p03696 | u665415433 | 1505327174 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 238 | n = int(input())
N = input()
num = 0
while N[num] == ')':
N = '(' + N
num += 2
a = N.count('(')
b = len(N)-a
if (a - b) < 0:
for i in range(b-a):
N = '(' + N
else:
for i in range(a-b):
N = N + ')'
print(N) |
s580036364 | p03696 | u591287669 | 1500649683 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 312 | n=int(input())
s=input()
stack=[]
for c in s:
if len(stack)>0 and stack[-1]=='(' and c==')':
stack.pop()
else:
stack.append(c)
if len(stack)==0:
print(s)
else:
l=0
r=0
for c in stack:
if c==')':
l+=1
else:
r+=1
print('('*l+s+')'*r)
|
s192080601 | p03696 | u293267652 | 1497422263 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 588 | n = int(input())
a = list(input())
b = []
cou1=0
for i in a:
if i=="(":
cou1 += 1
b.append("(")
else:
b.append(")")
if cou1==0:
b.insert(0,"(")
continue
cou1 -= 1
for _ in range(cou1):
b.append(")")
print(*b,sep='')n = int(input())
a = list(... |
s646959857 | p03696 | u351527281 | 1497383391 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 274 | N = input()
string = input()
arrange = string
while True:
after_arrange = arrage.replace('()','')
if after_arrange == arrage:
break
arrange = after_arrange
left = after_arrange.count(')')
right = after_arrange.count('(')
print('('*left+string+')'*right)
|
s542985745 | p03696 | u351527281 | 1497383311 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 273 | N = input()
string = input()
arrange = string
while True:
after_arrange = arrage.replace('()','')
if after_arrange == arrage
break
arrange = after_arrange
left = after_arrange.count(')')
right = after_arrange.count('(')
print('('*left+string+')'*right)
|
s544885228 | p03696 | u351527281 | 1497383019 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 256 | N = input()
string = input()
arrange = string.replace('()','')
while True:
if arrange == arrage.replace('()',''):
break
arrange = arrage.replace('()','')
left = arrange.count(')')
right = arrange.count('(')
print('('*left+string+')'*right)
|
s582429692 | p03696 | u523153297 | 1497326553 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 832 |
N=int(input())
a=[int(i) for i in input().split()]
color=[0,0,0,0,0,0,0,0]
alles=0
for i in range(N) :
if a[i]<400 :
color[0]+=1
elif a[i]<800 :
color[1]+=1
elif a[i]<1200 :
color[2]+=1
elif a[i]<1600 :
color[3]+=1
elif a[i]<2000 :
color[4]+=1
eli... |
s395081217 | p03696 | u606174760 | 1497243880 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 770 | # -*- coding: utf-8 -*-
import sys
N = input()
S = input()
res = ''
left, right = 0, 0
lit = S.split(')(')
for i, l in enumerate(lit):
if len(lit) > 1:
kakko = l + ')' if i % 2 == 0 else '(' + l
j = 0
while True:
if len(kakko)-1 < j:
break
if kakko[j] == '(':
... |
s577306957 | p03696 | u125205981 | 1497150672 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3060 | 369 | def main():
N = int(input())
S = input()
s = S
while True:
s = s.replace('()', '')
if s.count('()') == 0:
break
left = ''
right = ''
l = s.count('(')
r = s.count(')')
if s[0] == ')':
left = '(' * r
if s[-1] == '(':
right = ')' * l
... |
s335710516 | p03696 | u067983636 | 1497149414 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 371 | N = int(input())
S = input()
a1 = 0
a2 = 0
while S[a1] =="(":
a1 += 1
while S[N - a2 - 1] == ")":
a2 += 1
S_ = S[a1:N - a2]
S1 = "".join(S_.split(")("))
S2 = "".join(S1.split(")("))
d = (S1 == S_ or S1 == S2)
a = S2.count("(") + 2 - d - a2
b = S2.count(")") + 2 - d - a1
if b < 0 or a < 0:
m = min(a, b)
... |
s949664284 | p03696 | u067983636 | 1497148908 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 381 | N = int(input())
S = input()
a1 = 0
a2 = 0
while S[a1] =="(":
a1 += 1
while S[N - a2 - 1] == ")":
a2 += 1
S_ = S[a1:N - a2]
S1 = "".join(S_.split(")("))
S2 = "".join(S1.split(")("))
d = (S1 == S_ or S1 == S2)
a = S2.count("(") + 2 - d
b = S2.count(")") + 2 - d
b -= a1
a -= a2
if b < 0:
a -= b
b = 0
... |
s269084127 | p03696 | u067983636 | 1497148857 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 386 | N = int(input())
S = input()
a1 = 0
a2 = 0
while S[a1] =="(":
a1 += 1
while S[N - a2 - 1] == ")":
a2 += 1
S_ = S[a1:N - a2]
S1 = "".join(S_.split(")("))
S2 = "".join(S1.split(")("))
d = (S1 == S_ or S1 == S2)
a = S2.count("(") + 2 - d
b = S2.count(")") + 2 - d
b -= a1
a -= a2
if b < 0:
a -= b
b = 0
... |
s945128474 | p03696 | u067983636 | 1497148697 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 421 | N = int(input())
S = input()
a1 = 0
a2 = 0
while S[a1] =="(":
a1 += 1
while S[N - a2 - 1] == ")":
a2 += 1
S_ = S[a1:N - a2]
S1 = "".join(S_.split(")("))
S2 = "".join(S1.split(")("))
d = (S1 == S_ or S1 == S2)
a = S2.count("(") + 2 - d
b = S2.count(")") + 2 - d
if b - a1 < 0:
a += a1 - b - a2
b = 0
el... |
s269102209 | p03696 | u239375815 | 1497148685 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 544 | n = int(input())
s = list(input())
t = s[::-1]
u = s[0::]
#できるだけ左から(を追加 &右から)を追加
#右から数えて最初に(より左にある)の数 と )より右にある(の数?
v = []
si = s.index(")")
ti = t.index("(")
stock = 0
i = 0
for i in s:
if i=="(":
stock+=1
v.append("(")
else:
if stock ==0:
v.insert(0,"(")
v.ap... |
s666053323 | p03696 | u706884679 | 1497147214 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3064 | 386 | N = int(input())
S = input()
ls = list(S)
b = ls.index('(')
ls.reverse()
a = ls.index(')')
if a + b != N:
sli = ls[a:N-b]
k = sli.count(')')
l = sli.count('(')
m = k - l
else:
k = 0
l = 0
m = 0
if m > 0:
n = m + b
ls.append('(' * n)
ls.reverse()
ls.append(')' * a)
print(''.join(ls))
else:
n = a - m
ls.app... |
s830660170 | p03696 | u706884679 | 1497147156 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 379 | N = int(input())
S = input()
ls = list(S)
b = ls.index('(')
ls.reverse()
a = ls.index(')')
if a + b != N:
sli = ls[a:N-b]
k = sli.count(')')
l = sli.count('(')
m = k - l
else:
k = 0
l = 0
if m > 0:
n = m + b
ls.append('(' * n)
ls.reverse()
ls.append(')' * a)
print(''.join(ls))
else:
n = a - m
ls.append('('... |
s704301495 | p03696 | u706884679 | 1497146872 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 340 | N = int(input())
S = input()
ls = list(S)
b = ls.index('(')
ls.reverse()
a = ls.index(')')
sli = ls[a:N-b]
k = sli.count(')')
l = sli.count('(')
m = k - l
if m > 0:
n = m + b
ls.append('(' * n)
ls.reverse()
ls.append(')' * a)
print(''.join(ls))
else:
n = a - m
ls.append('(' * b)
ls.reverse()
ls.append(')' * n)... |
s541641132 | p03696 | u706884679 | 1497146344 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 289 | N = int(input())
S = input()
ls = list(S)
ls.reverse()
a = ls.index(')')
sli = ls[a:N]
k = sli.count(')')
l = sli.count('(')
m = k - l
if m > 0:
ls.append('(' * m)
ls.reverse()
ls.append(')' * a)
print(''.join(ls))
else:
n = a - m
ls.reverse()
ls.append(')' * n)
print(''.join(ls)) |
s285585846 | p03696 | u768951609 | 1497145871 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 332 | N=int(raw_input())
S=raw_input()
op=0
cl=0
i=0
j=len(S)-1
while i<=j:
if i==j:
if S[i]=='(':
cl+=1
else:
op+=1
break
while S[i]!='(':
i+=1
op+=1
while S[j]!=')':
j-=1
cl+=1
if i<j:
i+=1
j-=1
r='('*op+S+')'... |
s596383552 | p03696 | u768951609 | 1497144225 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 137 | N=int(raw_input())
S=raw_input()
op=S.count('(')
cl=S.count(')')
if op>cl:
r=S+')'*(op-cl)
elif cl>op:
r='('*(cl-op)+S
print r |
s513842017 | p03697 | u318661636 | 1601044755 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9072 | 65 | a,b = map(int,input().split())
print(a+b if a+b < 10 else error) |
s290662698 | p03697 | u312821683 | 1600983069 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8840 | 80 | A, B = int(input().split())
if A+B < 10:
print(A+B)
else:
print('error') |
s404362751 | p03697 | u527652459 | 1600902637 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8852 | 61 | A,B=map(in,input().split());print(A+B if A+B<10 else "error") |
s246550121 | p03697 | u014139588 | 1600787143 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9144 | 58 | a,b = map(int,input())
print(a+b if a+b < 10 else "error") |
s656972009 | p03697 | u860546679 | 1600659521 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8864 | 563 | #include<iostream>
#include<iomanip>
#include<cmath>
#include<string>
#include<cstring>
#include<vector>
#include<list>
#include<algorithm>
#include<map>
#include<set>
#include<queue>
#include<stack>
using namespace std;
typedef long long ll;
#define fi first
#define se second
#define mp make_pair
#define mt make_tuple... |
s468294620 | p03697 | u634046173 | 1599295897 | Python | PyPy3 (7.3.0) | py | Runtime Error | 82 | 68768 | 381 | from itertools import combinations
N = int(input())
scores = [int(input())for i in range(N)]
sums= sum(scores)
if sums % 10 != 0:
print(sums)
exit()
m = 0
flag = False
for i in range(1,N):
for j in combinations(scores,i):
sj = sum(j)
if (sums - sj) % 10 != 0:
flag = True
... |
s083714532 | p03697 | u309120194 | 1599108439 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9156 | 84 | A, B = map(int, input().split())
if A + B < 10: print(str(C))
else: print('error') |
s203744676 | p03697 | u309120194 | 1599108407 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9164 | 78 | A, B = map(int, input().split())
if A + B < 10: print(C)
else: print('error') |
s838190725 | p03697 | u280276822 | 1598723075 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9012 | 89 | a=int (input())
b=int (input())
c=a+b
if c>10 or c==10:
print("error")
else:
print(c) |
s133131772 | p03697 | u911622131 | 1598419598 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9060 | 100 | # coding = SJIS
a, b = map(int, input())
if a + b >= 10:
print("error")
else:
print(a + b) |
s718600921 | p03697 | u075303794 | 1598167207 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9012 | 68 | A,B=map(int,input())
if A+B>=10:
print('error')
else:
print(A+B) |
s949838826 | p03697 | u074220993 | 1597957614 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8976 | 88 | A, B = map(int, input().split())
if A + b >= 10:
print("error")
else:
print(A+B) |
s194244792 | p03697 | u650932312 | 1597840225 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9084 | 81 | A, B = map(int,input(),split())
if A+B >= 10:
print('error')
else:
print(A+B) |
s495853768 | p03697 | u089230684 | 1597713128 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9072 | 138 | A = int(input())
B = int(input())
if 1<=A and A<=9 and 1<=B and B<=9:
if (A+B)<=9:
print(A+B)
else:
print("error") |
s000117309 | p03697 | u045953894 | 1597468152 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9040 | 328 | n = int(input())
s = []
for i in range(n):
s += [int(input())]
a = sum(s)
if a % 10 != 0:
print(a)
exit()
else:
for i in range(n):
if s[i] % 10 != 0:
a -= s[i]
if a % 10 != 0:
print(a)
f = 0
exit()
else:
f = 1
if f:
... |
s592843517 | p03697 | u869790980 | 1597457604 | Python | PyPy2 (7.3.0) | py | Runtime Error | 330 | 84276 | 58 | print sum(map(int, raw_input().split())) < 10 else 'error' |
s989470150 | p03697 | u061406236 | 1597331895 | Python | Python (3.8.2) | py | Runtime Error | 21 | 9000 | 87 | a = int(input())
b = int(input())
s = 'error'
if a+ b < 10:
s = a+b
print(s) |
s626470103 | p03697 | u382639013 | 1595632004 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8996 | 91 | A, B = list(map(str,input().split()))
if (A+B)<10:
print(A+B)
else:
print("error") |
s838358632 | p03697 | u633450100 | 1595464278 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9076 | 229 | N = int(input())
score = []
for i in range(N):
x = int(input())
score.append(x)
pai = sum(score)
score.sort()
i = 0
while i < len(score) - 1 and pai != 0 and pai % 10 == 0:
pai -= score[i]
i += 1
print(pai)
|
s672144551 | p03697 | u065099501 | 1594846158 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9096 | 238 | n=int(input())
a = [int(input()) for _ in range(n)]
a.sort()
for i in range(n):
if sum(a)%10 == 0:
if a[i]%10 == 0:
continue
else:
a[i]=0
else:
print(sum(a))
exit(0)
print(0) |
s966895688 | p03697 | u440478998 | 1594753890 | Python | Python (3.8.2) | py | Runtime Error | 20 | 9024 | 75 | a,b = map(str, input().split())
print(a+b) if a+b <= 10 else print("error") |
s451617513 | p03697 | u303059352 | 1594438260 | Python | Python (3.8.2) | py | Runtime Error | 28 | 8832 | 74 | print(s if s<10 else 'error' for s in [sum(list(map(int,input.split())))]) |
s852380716 | p03697 | u038021590 | 1594426292 | Python | Python (3.8.2) | py | Runtime Error | 21 | 9020 | 85 | A, B =map(int,input.split())
C = A+B
if C >=10:
print('error')
else:
print(C) |
s617914362 | p03697 | u136869985 | 1593884760 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8788 | 101 | A = map(int, input().split())
total = A[0] + A[1]
if total >= 10:
print('error')
else:
print(total) |
s488842102 | p03697 | u627691992 | 1593813504 | Python | Python (3.8.2) | py | Runtime Error | 20 | 9036 | 87 | a,b = int(input().split())
sum = a+b
if(sum>=10):
print("error")
else:
print(sum)
|
s598694764 | p03697 | u627691992 | 1593813487 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9020 | 88 | a,b = int(input().split())
sum = a+b
if(sum>=10):
print("error")
else:
print(sum)
|
s460611242 | p03697 | u627691992 | 1593813423 | Python | Python (3.8.2) | py | Runtime Error | 21 | 8928 | 87 | a,b = int(input().split())
sum = a+b
if(sum>=10):
print("error")
else:
print(sum) |
s118770450 | p03697 | u678167152 | 1593433756 | Python | PyPy3 (7.3.0) | py | Runtime Error | 88 | 74884 | 471 | from math import ceil
def solve():
N, A, B = map(int, input().split())
H = [int(input()) for _ in range(N)]
top = max(H)+1
total = sum(H)
bottom = 1
mid = (top+bottom)//2
while bottom+1<top:
cnt = 0
for i in range(N):
cnt += max(ceil((H[i]-B*mid)/(A-B)),0)
... |
s373812620 | p03697 | u778348725 | 1591538113 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | A,B = map(int, int().split())
C = A + B
if(C >= 10):
print("error")
else:
print(C)
|
s016267590 | p03697 | u778348725 | 1591538046 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | A,B = map(int, int().split())
C = A + B
if (C >= 10):
print("error")
else:
print(C)
|
s055467100 | p03697 | u757274384 | 1591462095 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | a,b = map(int, inpur().split())
if a+b < 10:
print(a+b)
else :
print("error") |
s130459457 | p03697 | u278855471 | 1591448072 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 241 | N = int(input())
s = [int(input()) for _ in range(N)]
ans = sum(s)
if ans % 10 != 0:
print(ans)
else:
for s_i in s:
if s_i % 10 != 0:
ans -= s_i
print(ans)
break
else:
print(0)
|
s077554802 | p03697 | u037156014 | 1591393762 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | a, b = map(int, intpu().split())
if a+b < 10:
print(a+b)
else:
print("error") |
s763962481 | p03697 | u131411061 | 1590847088 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 83 | A,B = map(int,input().split())
if A+B>=10:
print('error')
else:
print(A+b) |
s453262833 | p03697 | u122428774 | 1590113137 | Python | PyPy3 (2.4.0) | py | Runtime Error | 170 | 38256 | 275 | import java.util.*;
class Main {
public static void main(String args[]) {
Scanner inp = new Scanner(System.in);
int a = inp.nextInt();
int b = inp.nextInt();
inp.close();
System.out.println((a + b) < 10 ? a + b : "error");
}
} |
s957522161 | p03697 | u088989565 | 1590017508 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 86 | A,B = list(map()int, input().split())
if(A+B>=10):
print("error")
else:
print(A+B) |
s130352953 | p03697 | u884323674 | 1589606285 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 329 | N = int(input())
S_dict = {}
for i in range(N):
s = input()
if s not in S_dict:
S_dict[s] = 1
else:
S_dict[s] += 1
max_poll = max(S_dict.values())
ans_list = []
for key, poll in S_dict.items():
if poll == max_poll:
ans_list.append(key)
for ans in sorted(ans_list):
p... |
s570375551 | p03697 | u017415492 | 1589113480 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 78 | a,b=map(int,input().split())
if (a+b)>=10:
print("error")
else:
pirnt(a+b) |
s167922920 | p03697 | u017415492 | 1589113424 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 75 | a,b=map(int,input.split())
if a+b>=10:
print("error")
else:
print(a+b) |
s429496108 | p03697 | u855710796 | 1589005342 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | A, B = map(int, input())
if A + B >= 10:
print("error")
else:
print(A+B) |
s274957934 | p03697 | u855710796 | 1589000242 | Python | Python (3.4.3) | py | Runtime Error | 154 | 12464 | 457 | import numpy as np
N, A, B = map(int, input().split())
H = []
for i in range(N):
H.append(int(input()))
H = np.array(H)
def binary_search(x):
H_tmp = H - B * x
H_tmp = H_tmp[H_tmp > 0]
count = ((H_tmp + A - B - 1) // (A - B)).sum()
return x >= count
left = 0
right = 10**10
while(right - left ... |
s774650406 | p03697 | u453642820 | 1588881190 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 65 | a.b = map(int, input().split())
print(a+b if a+b<10 else "error") |
s760383434 | p03697 | u122428774 | 1588742008 | Python | PyPy3 (2.4.0) | py | Runtime Error | 166 | 38512 | 60 | s=eval(input()).replace(" ","+");print(s if s < 10 else"10") |
s179878582 | p03697 | u029000441 | 1588187782 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 677 | import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
from collections import defaultdict
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,bisect_right
from heapq import heapify, heappop, heappush
from math ... |
s177467326 | p03697 | u235066013 | 1587687259 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 87 | a,b=[int(i) for i in input().split()]
c=a+b
if c>=10:
print(''error)
else:
print(c) |
s873992749 | p03697 | u900848560 | 1587582452 | Python | PyPy3 (2.4.0) | py | Runtime Error | 166 | 38384 | 111 | # coding: utf-8
import math
a=input()
b=input()
m=int(a)+int(b)
if m<10:
print(int(m))
else:
print("error") |
s232606674 | p03697 | u900848560 | 1587582289 | Python | PyPy3 (2.4.0) | py | Runtime Error | 171 | 38384 | 104 | # coding: utf-8
a=input()
b=input()
m=int(a)+int(b)
if int(m)<10:
print(int(m))
else:
print("error") |
s040139153 | p03697 | u900848560 | 1587582233 | Python | PyPy3 (2.4.0) | py | Runtime Error | 182 | 38384 | 99 | # coding: utf-8
a=input()
b=input()
m=int(a)+int(b)
if m<10:
print(int(m))
else:
print("error") |
s794731708 | p03697 | u900848560 | 1587582172 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 111 | # coding: utf-8
import math
a=input()
b=input()
m=int(a)+int(b)
if m<10:
print(int(m))
else:
print("error") |
s719423705 | p03697 | u900848560 | 1587581917 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 99 | # coding: utf-8
a=input()
b=input()
m=int(a)+int(b)
if m<10:
print(int(m))
else:
print("error") |
s101180743 | p03697 | u900848560 | 1587581706 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 86 | a=input()
b=input()
m=int(a)+int(b)
if int(m)<10:
print(int(m))
else:
print("error") |
s575339820 | p03697 | u900848560 | 1587581586 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | # coding: utf-8
a=input()
b=input()
m=a+b
if int(m)<10:
print(int(m))
else:
print("error") |
s394565883 | p03697 | u900848560 | 1587581506 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 102 | #using
a=input()
b=input()
print(b)
m=int(a)+int(b)
if int(m)<10:
print(int(m))
else:
print("error") |
s803033956 | p03697 | u900848560 | 1587581351 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 77 | a=input()
b=input()
m=int(a)+int(b)
if m<10
print(m)
elif
print("error")
|
s286980614 | p03697 | u383450070 | 1587428624 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 78 | a,b=map(int,input().split())
if a + b <=10:
rint(a+b)
else:
print("error") |
s449012423 | p03697 | u652656291 | 1586813120 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 79 | a,b = map(ont,input().split())
if a+b < 10:
print(a+b)
else:
print('error') |
s813636110 | p03697 | u503228842 | 1586781960 | Python | PyPy3 (2.4.0) | py | Runtime Error | 164 | 38640 | 538 | import math
N,A,B = map(int,input().split())
H = [int(input()) for _ in range(N)]
def enough(T):
temp = 0
ch = H[:]
for h in ch:
left = h - B*T
if left > 0:
temp += (left + A-B-1)//(A-B)
#temp += math.ceil(left/(A-B))
#print(temp)
if temp > T:
... |
s845548881 | p03697 | u772649753 | 1586236805 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | a,b = map(int, input().split())
if (a+b) <= 9:
print(a+b)
else;
print("error") |
s108552616 | p03697 | u772649753 | 1586236709 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 82 | a,b = map(int, input().split())
if (a+b) <= 9:
print(a+b)
else;
print("error") |
s050402720 | p03697 | u772649753 | 1586236594 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 80 | a,b = map(int, input().split())
if (a+b) <= 9:
print(a+b)
else;
print("error") |
s895857246 | p03697 | u772649753 | 1586236568 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 78 | a,b = map(int, input().split())
if a+b <= 9:
print(a+b)
else;
print("error") |
s163199957 | p03697 | u969848070 | 1586219743 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 76 | a, b = map(int,input())
if a + b >= 10:
print('error')
else:
print(a+b)
|
s564527096 | p03697 | u969848070 | 1586219710 | 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) |
s102333150 | p03697 | u440129511 | 1585263383 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 74 | a,b=map(int,input().split())
if a+b >= 10:print('error')
else:print(a+b) |
s753252061 | p03697 | u440129511 | 1585263239 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 72 | a,b=map(int,input().split())
if a+b>=10:print('error')
else:print(a+b) |
s823089517 | p03697 | u277448038 | 1584828944 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | a, b = list(map, int(input().split()))
if a+b >=10:
print ('error')
else:
print(a+b) |
s928106099 | p03697 | u760794812 | 1584587143 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 82 | A,B = map(int,input().split())
if A + B < 10:
prin(A+B)
else:
print('error') |
s586819758 | p03697 | u346677493 | 1584287794 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 66 | a=input()
b=input()
if a+b < 10:
print a+b
else:
print "error" |
s380204415 | p03697 | u170765582 | 1583853414 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | a,b=map(input().split())
print('error'if a+b>=10 else a+b) |
s398505015 | p03697 | u957198490 | 1583759611 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 77 | A,B = map(int,iput().split())
if A+B< 10:
print(A+B)
else:
print('error') |
s184954826 | p03697 | u695079172 | 1583685021 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 62 | a,b= map(int,inpit()split())
print(a+b if a+b<10 else "error") |
s907199314 | p03697 | u576917603 | 1582374662 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | a,b=map(int,input(),split())
x=a+b
if x>=10:
print('error')
else:
print(x) |
s084086535 | p03697 | u372144784 | 1581991088 | Python | PyPy3 (2.4.0) | py | Runtime Error | 166 | 38384 | 76 | a,b = input().split()
if a+b >= 10:
print("error")
else:
print(a+b) |
s240163227 | p03697 | u752552310 | 1581169424 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 89 | a, b = map(int, input().split())
A = a + b
if A < 10:
print(A):
else:
print("error") |
s826676693 | p03697 | u752552310 | 1581169355 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 86 | a, b = map(int, input().split())
if a + b < 10:
print(a + b):
else:
print("error") |
s395106138 | p03697 | u554954744 | 1580572467 | Python | PyPy3 (2.4.0) | py | Runtime Error | 165 | 38512 | 90 | a, b = map(int, input(),split())
if a + b < 10:
print(a + b)
else:
print('error') |
s771687411 | p03697 | u414458988 | 1579742854 | Python | PyPy3 (2.4.0) | py | Runtime Error | 177 | 38384 | 611 | def main():
from sys import stdin, setrecursionlimit
#setrecursionlimit(10**9)
#n = int(stdin.readline()[:-1])
r = stdin.readline()[:-1]
#n = int(stdin.readline()[:-1])
#r = [stdin.readline() for i in range(n)]
#t = [int(stdin.readline()) for i in range(n)]
#a = r.split()
#a = ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.