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
s581263770
p03844
u353919145
1583194770
Python
Python (3.4.3)
py
Runtime Error
17
2940
122
a=int(input()) b=int(input()) add="+" sub="-" op=str(input()) if (op==add): print(a+b) elif(op==sub): print(a-b)
s152078219
p03844
u017172546
1582905596
Python
Python (3.4.3)
py
Runtime Error
17
2940
10
print(a+b)
s765701398
p03844
u223663729
1582836197
Python
Python (3.4.3)
py
Runtime Error
17
3064
557
N = int(input()) A = list(map(int, input().split())) li = [0]*((N+1) >> 1) def mod(b, x, n): acc = b for i in range(1, x): acc = (acc * b) % n return int(acc) for a in A: if li[a >> 1] >= 2: print(0) break else: li[a >> 1] += 1 if N & 1: if li[0] != 1: print(0) elif li.count(1) > 1: print(0) else: c = li.count(2) print(mod(2, c, 10E9-7)) else: if li.count(1) > 0: print(0) else: c = li.count(2) print(mod(2, c, 10E9-7))
s159362860
p03844
u427984570
1582000799
Python
Python (3.4.3)
py
Runtime Error
20
2940
97
a,b,c = map(str,input().split()) if b == "+": print(int(a)+int(b)) else: print(int(a)-int(b))
s069426548
p03844
u496687522
1581920122
Python
Python (3.4.3)
py
Runtime Error
17
3064
316
N = int(input()) S = [input() for i in range(N)] m_count = 0 m_str = [] for i in range(N): if S.count(S[i]) > m_count: m_str = [S[i]] m_count = S.count(S[i]) elif S.count(S[i]) == m_count: m_str.append(S[i]) m_str = list(set(m_str)) m_str.sort() print(m_str[i] for i in len(m_str))
s494025856
p03844
u312078744
1581900717
Python
Python (3.4.3)
py
Runtime Error
149
12484
341
import numpy as np N = int(input()) #time=list(map(int,input().split())) time=np.array(input().split(),dtype=np.int64) M = int(input()) p={} x={} for i in range(M): p[i],x[i] = map(int, input().split()) #print(x[1]) sumT=np.sum(time) for i in range(M): PP = p[i] # print(np.sum(time_new)) print(sumT - time[PP-1] + x[PP-1])
s929563790
p03844
u467831546
1581469245
Python
Python (3.4.3)
py
Runtime Error
17
2940
133
num1 = float(input()) op = input() num2 = float(input()) if op == "+": print(num1 + num2) elif op == "-": print(num1 - num2)
s807884858
p03844
u099896558
1581354043
Python
PyPy3 (2.4.0)
py
Runtime Error
166
38256
97
A, op, B = list(map(str, input().split())) if op == "+": print(A + B) else: print(A - B)
s574437904
p03844
u143976525
1581165240
Python
Python (3.4.3)
py
Runtime Error
17
3060
261
n = int(input()) t_N = input().split() list_Time = [] for id in range(n): list_Time.append(int(t_N[id])) sum = sum(list_Time) m = int(input()) for id in range(m): p, x = map(int, input().split()) answer = sum + x - list_Time[p - 1] print(answer)
s890002806
p03844
u143976525
1581165209
Python
Python (3.4.3)
py
Runtime Error
17
3064
355
N=int(input()) T_N=int(input().split()) list_time = [] for i in range(N): list_time.append(T_N[i]) #Ti秒の総和を求める sum=sum(list_time) print(sum) M=int(input()) for i in range(M): p,x=map(int,input().split()) #ドリンク飲んだ時と飲まないときの差を元の合計に足す。 ans=sum+x-list_time[p-1] print(ans)
s296199270
p03844
u143976525
1581165115
Python
Python (3.4.3)
py
Runtime Error
17
3060
341
N=int(input()) T_N=int(input().split()) list_time = [] for i in range(N): list_time.append(T_N[i]) #Ti秒の総和を求める sum=sum(list_time) M=int(input()) for i in range(M): p,x=map(int,input().split()) #ドリンク飲んだ時と飲まないときの差を元の合計に足す。 ans=sum+x-list_time[p-1] print(ans)
s702635339
p03844
u143976525
1581164964
Python
Python (3.4.3)
py
Runtime Error
17
3060
336
N=int(input()) T_N=int(input().split()) list_time=[] for i in range(N): list_time.append(T_N[i]) #Ti秒の総和を求める sum=sum(list_time) M=int(input()) for i in range(M): p,x=map(int,input.split()) #ドリンク飲んだ時と飲まないときの差を元の合計に足す。 ans=sum+x-list_time[p-1] print(ans)
s448928247
p03844
u143976525
1581164808
Python
Python (3.4.3)
py
Runtime Error
17
3064
342
N=int(input()) T_N=int(input().split()) list_time=[] for i in range(N): list_time.append(T_N[i]) #Ti秒の総和を求める sum=sum(list_time) M=int(input()) for i in range(M): p,x=map(int,input.split()) #ドリンク飲んだ時と飲まないときの差を元の合計に足す。 ans=sum+(x-list_time[p-1]) print(ans)
s949360310
p03844
u264681142
1580669929
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
a, op, b = input().split() if op == '+': print(a + b) else: print(a - b)
s637233747
p03844
u264681142
1580669829
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
a, op, b = input().split() if op == '+': print(a + b) else: print(a - b)
s075237580
p03844
u752552310
1580567400
Python
Python (3.4.3)
py
Runtime Error
17
2940
109
a, b, c = input().split() a = int(a) c = int(c) if b == "+": print(a + c) elif b == "-": print(a - b)
s223911757
p03844
u151107315
1580369447
Python
Python (3.4.3)
py
Runtime Error
17
2940
90
li = input().split() if li[1] == "+": print(li[0] + li[2]) else : print(li[0] - li[2])
s767049296
p03844
u779728630
1580154625
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
A, op, B = input().split() if op = '+': print(int(A) + int(B)) else: print(int(A) - int(B))
s391744396
p03844
u119655368
1580065128
Python
Python (3.4.3)
py
Runtime Error
17
2940
86
a, b, c = map(int, input().split()) if b == "+": print(a + c) else: print(a-c)
s473985849
p03844
u702786238
1579573573
Python
Python (3.4.3)
py
Runtime Error
17
2940
79
x1, op, x2 = input().split() if op == "+": print(x1+x2) else: print(x1-x2)
s422683499
p03844
u871596687
1579373898
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
a,b,c= input().list() if b == "+": print(int(a)+int(c)) else: print(int(a)-int(c))
s438765199
p03844
u871596687
1579373869
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
a,b,c= input().list() if b == "+": print(ing(a)+int(c)) else: print(int(a)-int(c))
s864672515
p03844
u871596687
1579373794
Python
Python (3.4.3)
py
Runtime Error
18
2940
73
a,b,c= input().list() if b == "+": print(a+c) else: print(a-c)
s222523822
p03844
u871596687
1579373768
Python
Python (3.4.3)
py
Runtime Error
17
2940
86
int a,str b,int c = input().list() if b == "+": print(a+c) else: print(a-c)
s685098278
p03844
u871596687
1579373733
Python
Python (3.4.3)
py
Runtime Error
17
2940
79
a,b,c = int(input().list()) if b == "+": print(a+c) else: print(a-c)
s647243437
p03844
u121921603
1579106801
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38256
113
import sys input = sys.stdin.readline a,o,b=map(input().split()) a=int(a) b=int(b) print(a+b if o=="+" else a-b)
s565703182
p03844
u121921603
1579106754
Python
PyPy3 (2.4.0)
py
Runtime Error
176
38384
99
import sys input = sys.stdin.readline a,o,b=map(int,input().split()) print(a+b if o=="+" else a-b)
s759819425
p03844
u749770850
1578792082
Python
Python (3.4.3)
py
Runtime Error
17
2940
83
a, o, b = map(int, input().split()) if o == "+": print(a + b) else: print(a - b)
s475772231
p03844
u079022116
1578286718
Python
Python (3.4.3)
py
Runtime Error
17
2940
62
a,op,b=input().split() if op == "+":print(a+b) else:print(a-b)
s133036811
p03844
u058592821
1578129605
Python
Python (3.4.3)
py
Runtime Error
17
2940
86
a, op, b = (i for i in input().split()) if op == '+': print(a+b) else: print(a-b)
s120555005
p03844
u506858457
1577975020
Python
Python (3.4.3)
py
Runtime Error
18
2940
20
print(eval(input())
s987171221
p03844
u506858457
1577974968
Python
Python (3.4.3)
py
Runtime Error
17
2940
25
print(int(eval(input()))
s110849627
p03844
u506858457
1577974925
Python
Python (3.4.3)
py
Runtime Error
17
2940
19
print(eval(input())
s850851014
p03844
u668352391
1577948681
Python
Python (3.4.3)
py
Runtime Error
17
2940
109
a, op, b = input.split() a = int(a) b = int(b) if op == '+': print(int(a + b)) else: print(int(a - b))
s968771796
p03844
u506858457
1577931652
Python
Python (3.4.3)
py
Runtime Error
17
2940
64
A,B,C=map(str,input().split()) ans=eval('A' 'B' 'C') print(ans)
s287149910
p03844
u506858457
1577931555
Python
Python (3.4.3)
py
Runtime Error
18
2940
57
A,B,C=map(str,input().split()) ans=eval(A B C) print(ans)
s537967340
p03844
u226191225
1577905454
Python
Python (3.4.3)
py
Runtime Error
17
2940
121
s = list(map(str,input().split())) if s[1] == '+' print(int(s[0]) + int(s[2])) else: print(int(s[0]) - int(s[2]))
s514701329
p03844
u963468276
1577827893
Python
PyPy3 (2.4.0)
py
Runtime Error
162
38256
90
A, op, B = map(int, input().split()) if op == '+': print(A + B) else: print(A - B)
s654655449
p03844
u695079172
1577815976
Python
Python (3.4.3)
py
Runtime Error
17
2940
107
a,op,b= map(int,onput().split()) func = lambda x,y:x + y if op =="+" else lambda x,y:x-y print(func(a,b))
s593925080
p03844
u371132735
1577643015
Python
Python (3.4.3)
py
Runtime Error
18
2940
70
a,op,b = input().split() if op == "+": print(a+b) else: print(a-b)
s327559765
p03844
u897328029
1577592410
Python
Python (3.4.3)
py
Runtime Error
17
2940
92
a, op, b = list(input().split()) if op == '+': ans = a + b else: ans = a - b print(ans)
s836980208
p03844
u475179653
1577484318
Python
Python (3.4.3)
py
Runtime Error
18
3064
820
n=int(input()) numbb=input().split(' ') numb=[] for i in numbb: numb.append(int(i)) numb=sorted(numb) #print(numb) if(n==len(numb)): if(n%2!=0): temp=[] temp.append(0) strt=2 for i in range(0,int(n/2)): temp.append(strt) temp.append(strt) strt+=2 if(temp==numb): #print(temp,numb) print(pow(2,len(set(numb))-1)%((10**9)+7)) else: print(0) if(n%2==0): temp=[] strt=1 for i in range(0,int(n/2)): temp.append(strt) temp.append(strt) strt+=2 if(temp==numb): #print(temp,numb) #print(pow(2,len(set(numb)))) print((pow(2,len(set(numb)))%((10**9)+7))) else: print(0)
s340594066
p03844
u475179653
1577483924
Python
Python (3.4.3)
py
Runtime Error
18
3064
826
n=int(input()) numbb=input().split(' ') numb=[] for i in numbb: numb.append(int(i)) numb=sorted(numb) #print(numb) if(n==len(numb)): if(n%2!=0): temp=[] temp.append(0) strt=2 for i in range(0,int(n/2)): temp.append(strt) temp.append(strt) strt+=2 if(temp==numb): #print(temp,numb) print(((pow(2,len(set(numb))-1)%((10**9)+7)))) else: print(0) if(n%2==0): temp=[] strt=1 for i in range(0,int(n/2)): temp.append(strt) temp.append(strt) strt+=2 if(temp==numb): #print(temp,numb) #print(pow(2,len(set(numb)))) print(((pow(2,len(set(numb)))%((10**9)+7)))) else: print(0)
s352535247
p03844
u374146618
1577151993
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
a, op, b = [input().split()] eval(a+op+b)
s558927469
p03844
u140480594
1576528241
Python
Python (3.4.3)
py
Runtime Error
17
2940
104
A, op, B = intput().split() if str(op) == "+" : print(int(A) + int(B)) else : print(int(A) - int(B))
s391534881
p03844
u352359612
1575689607
Python
Python (3.4.3)
py
Runtime Error
17
3064
319
N = int(input()) T = list(map(int, input().split())) M = int(input()) P, X = [], [] for i in range(M): p1, x1 = map(int, input().split()) P.append(p1) X.append(x1) count = 0 for i in T: count += T[i] c = count for i in range(len(X)): count = c count += X[i] count -= T[i] print(count
s821086045
p03844
u352359612
1575689027
Python
Python (3.4.3)
py
Runtime Error
17
3064
308
N = int(input()) T = list(map(int, input().split())) M = int(input()) P, X = [], [] for i in range(M): p1, x1 = map(int, input().split()) P.append(p1) X.append(x1) count = 0 for i in T: count += T[i] c = count for i in X: count = c count += X[i] count -= T[i] print(count)
s141103440
p03844
u352359612
1575688872
Python
Python (3.4.3)
py
Runtime Error
17
3064
310
N = int(input()) T = list(map(int, input().split())) M = int(input()) P, X = [], [] for i in range(M): p1, x1 = map(int, input().split()) P.append(p1) X.append(x1) count = 0 for i in T: count += T[i] c = count for i in X: count = c count += X[i] count -= T[i] print(count
s875634764
p03844
u352359612
1575688694
Python
Python (3.4.3)
py
Runtime Error
17
3064
283
N = int(input()) T = list(map(int, input().split())) M = int(input()) P, X = [], [] for i in range(M): pi, xi = map(int, input().split()) P.append(pi) X.append(xi) count = 0 for i in T: count += T[i] for i in X: count += X[i] count -= T[i] print(count)
s101399618
p03844
u352359612
1575688389
Python
Python (3.4.3)
py
Runtime Error
17
3064
281
N = int(input()) T = list(map(int, input().split())) M = int(input()) P, X = [], [] for i in range(M): p1, x1 = map(int, input().split) P.append(p1) X.append(x1) count = 0 for i in T: count += T[i] for i in X: count += X[i] count -= T[i] print(count)
s755153086
p03844
u352359612
1575688032
Python
Python (3.4.3)
py
Runtime Error
17
3064
421
N = int(input()) T = list(map(int, input().split())) M = int(input()) P, X = [], [] for i in range(M): p1, x1 = map(int, input().split) P.append(p1) X.append(x1) count = 0 for i in T: count += T[i] discount = 0 for i in T: if i <= M: discount += T[i] break special = 0 for i in P, X: special += P[i] special += X[i] count *= M count -= discount count += special print(count)
s960303948
p03844
u055687574
1575527910
Python
Python (3.4.3)
py
Runtime Error
22
3444
201
import copy n = int(input()) t = list(map(int, input().split())) sum_t = sum(t) m = int(input()) for _ in range(m): idx, value = map(int, input().split()) print(sum_t - t[idx - 1] + value)
s400389833
p03844
u768896740
1575518326
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
s = list(input()) if s[1] == '+': print(s[0]+s[2]) else: print(s[0]-s[2])
s253702687
p03844
u457554982
1575141292
Python
Python (3.4.3)
py
Runtime Error
17
3064
61
[a,op,b]=list(input().split()) siki=a+op+b print(eval(siki))
s852834292
p03844
u970197315
1574988928
Python
Python (3.4.3)
py
Runtime Error
17
3064
66
a,op,b = map(int,input().split()) print(a+b if op =='+' else a-b)
s301458079
p03844
u075155299
1574986782
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
a,op,b = input().split() if op="+": print(int(a)+int(b)) elif op="-": print(int(a)-int(b))
s166071625
p03844
u905582793
1574957381
Python
Python (3.4.3)
py
Runtime Error
17
2940
91
a,op,b=map(input().split()) if op=="+": print(int(a)+int(b)) else: print(int(a)-int(b))
s767476687
p03844
u905582793
1574957296
Python
Python (3.4.3)
py
Runtime Error
17
2940
75
a,op,b=map(int,input().split()) if op=="+": print(a+b) else: print(a-b)
s542416670
p03844
u799691369
1574914694
Python
Python (3.4.3)
py
Runtime Error
18
2940
119
A, op, B = map(str, input().split()) if op == '+': print(int(A) + int(B)) if op == '-': print(int(A)) - int(B)
s614588163
p03844
u774160580
1574902706
Python
Python (3.4.3)
py
Runtime Error
18
2940
126
equa = input().split() if equa[1] == "+": print(int(equa[0]) + int(equa[1])) else: print(int(equa[0]) - int(equa[1]))
s567078817
p03844
u239375815
1574804471
Python
Python (3.4.3)
py
Runtime Error
17
2940
79
a = input().split() if a[1] == '+': print(a[0]+a[2]) else: print(a[0]-a[2])
s872197797
p03844
u109617108
1574210366
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38256
432
import bisect N=int(input()) A=list(map(int,input().split())) m=10**9+7 def g(n): return bisect.bisect_right(A,n)-bisect.bisect_left(A,n) if N%2==0: if A.count(0)!=0: print(0) exit() else: for j in range(1,N//2+1): if g(2*j-1)!=2: print(0) exit() else: if A.count(0)!=1: print(0) exit() for i in range(1,N//2+1): if g(2*i)!=2: print(0) exit() print((2**(N//2))%m)
s926983033
p03844
u849229491
1574092853
Python
Python (3.4.3)
py
Runtime Error
17
2940
103
a,op,b=input().split a = int(a) b = int(b) if op == '+': print(a+b) elif op == '-': print(a-b)
s840535754
p03844
u923659712
1573715457
Python
Python (3.4.3)
py
Runtime Error
18
2940
73
a,c,b=map(int,input().split()) if c=="+": print(a+b) else: print(a-b)
s768012672
p03844
u124498235
1573519920
Python
Python (3.4.3)
py
Runtime Error
22
3444
195
import copy n = int(input()) t = list(map(int, input().split())) m = int(input()) c = [] for i in range(m): p, x = map(int, input().split()) c = [] c = copy.copy(t) c[p-1] = x print (sum(c))
s833048152
p03844
u663438907
1573188466
Python
Python (3.4.3)
py
Runtime Error
17
2940
105
A, op, B = map(str, input().split()) A = int(A) B = int(B) if op == '+': print(A+B) else: pirnt(A-B)
s881323340
p03844
u895536055
1573054364
Python
Python (3.4.3)
py
Runtime Error
17
2940
98
A = int(input()) op = input() B = int(input()) if op == '+': print(A + B) else: print(A - B)
s576272005
p03844
u895536055
1573054334
Python
Python (3.4.3)
py
Runtime Error
17
2940
92
A = int(input()) op = input() B = input() if op == '+': print(A + B) else: print(A - B)
s918451216
p03844
u595716769
1572769982
Python
Python (3.4.3)
py
Runtime Error
17
2940
103
a o b = map(str, input().split()) if o == "+": print(int(a) + int(b)) else: print(int(a) - int(b))
s862903326
p03844
u727787724
1572765834
Python
Python (3.4.3)
py
Runtime Error
18
2940
82
a,b,c=input().split() a=int(a) b=int(b) if b=='-': print(a-c) else: print(a+b)
s164278694
p03844
u094191970
1571883394
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
a,b,c=input().split() print(a+c if b=='+' else a-c)
s082343449
p03844
u675467021
1571761543
Python
Python (3.4.3)
py
Runtime Error
17
3064
186
n=int(input()) t=list(map(int,input().split())) m=int(input()) p=[0]*m x=[0]*m for i in range(m): p[i],x[i]=map(int,input().split()) for i in range(m): print(sum(t)-t[p[i]-1]+x[i])
s702483944
p03844
u675467021
1571761394
Python
Python (3.4.3)
py
Runtime Error
17
3060
210
n = int(input()) t = list(map(int,input(),split())) m = int(input()) p = [0]* m x = [0]* m for i in range(m): p[i],x[i]= map(int(input(),split())) for i in range(m): print(sum(t)-t[p[i]-1]+x[i])
s361213502
p03844
u518987899
1571366793
Python
PyPy3 (2.4.0)
py
Runtime Error
168
38256
47
print(eval(''join(input().strip().split(' '))))
s806241478
p03844
u626468554
1571251678
Python
Python (3.4.3)
py
Runtime Error
18
2940
110
s = list(input()) a = int(s[0]) b = int(s[2]) op = a[1] if op == "+": print(a+b) else: print(a-b)
s614886373
p03844
u054124215
1571061293
Python
Python (3.4.3)
py
Runtime Error
18
2940
7
>>>2+2
s860914097
p03844
u674064321
1570314461
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
a, op, b = map(int, input().split()) print(a + b if op == + else a - b)
s601433805
p03844
u674064321
1570314431
Python
Python (3.4.3)
py
Runtime Error
17
2940
94
a, b, c = map(str, input().split()) a = int(a) b = int(b) print(a + b if op == "+" else a - b)
s055006771
p03844
u674064321
1570314386
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
a, b, c = map(int, input().split()) print(a + b if op == + else a - b)
s396075927
p03844
u674064321
1570313189
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
a = int(input()) op = str(input()) b = int(input()) print(a + b if op == "+" else a - b)
s042901516
p03844
u674064321
1570313137
Python
Python (3.4.3)
py
Runtime Error
17
3064
83
a = int(input()) op = input() b = int(input()) print(a + b if op == "+" else a - b)
s483516246
p03844
u448655578
1570197039
Python
Python (3.4.3)
py
Runtime Error
17
2940
102
A, op, B = map(str, inpit().split()) if op == "+": print(int(A)+int(B)) else: print(int(A)-int(B))
s030828696
p03844
u175590965
1569810886
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
a,b,c = input().split() if b == '+': print(a+c) else: print(a-c)
s719381734
p03844
u175590965
1569810790
Python
Python (3.4.3)
py
Runtime Error
16
2940
72
a,b,c = input().split() if b == '+': print(a+c) else: print(a-c)
s450450425
p03844
u785833468
1569723470
Python
Python (3.4.3)
py
Runtime Error
17
3064
1515
num_total = int(input()) hoge = input().split() flag_one = True flag_two = True if num_total % 2 == 0: for i in hoge: """偶数の場合数値がすべて奇数である&それぞれ2個づつあるかどうか判定する""" #数値がすべて奇数であるかどうか if int(i) % 2 != 1: flag_one = False break #2個づつあるかどうか hoge.sort() flag = True for i in range(len(hoge)): try: if flag == False: flag = True continue if hoge[i+1] != hoge[i]: flag_two = False break flag = False except: flag_one = False if flag_one == True and flag_two == True: ans = 2**(num_total/2) ans = ans % (10**9 + 7) print(int(ans)) else: print(0) else: for i in hoge: """奇数の場合数値すべて偶数である&0以外すべて2個づつあるかどうか判定する""" #数値がすべて偶数であるかどうか if int(i) % 2 != 0: flag_one = False break #2個づつあるかどうか hoge.sort() flag = True for i in range(len(hoge)): try: if hoge[i] == "0": continue if flag == False: flag = True continue if hoge[i+1] != hoge[i]: flag_two = False break flag = False except: flag_two = False break if flag_one == True and flag_two == True: ans = 2**((num_total-1)/2) ans = ans % (10**9 + 7) print(int(ans)) else: print(0)
s993907748
p03844
u747602774
1569647864
Python
PyPy3 (2.4.0)
py
Runtime Error
171
38256
78
s=input().split() if s[1] == '+': print(s[0]+s[2]) else: print(s[0]-s[2])
s168627430
p03844
u712868001
1569620737
Python
Python (3.4.3)
py
Runtime Error
18
2940
76
A,op,B=input().strip().split() if op == '+': print(A+B) else: print(A-B)
s924629926
p03844
u712868001
1569620659
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
A,op,B=input().strip().split() if op=='+': print(A+B) else: print(A-B)
s452986188
p03844
u712868001
1569620391
Python
Python (3.4.3)
py
Runtime Error
18
2940
66
A,op,B=input().split() if op=='+': print(A+B) else: print(A-B)
s218896454
p03844
u712868001
1569620240
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
A,op,B=list(map(input().split())) if op=='+': print(A+B) else: print(A-B)
s371337824
p03844
u712868001
1569620199
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
A,op,B=list(map(int, input().split())) if op=='+': print(A+B) else: print(A-B)
s877419052
p03844
u712868001
1569620167
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
A,op,B=list(map(int, input().split())) if op=='+:' print(A+B) else: print(A-B)
s643990721
p03844
u712868001
1569620122
Python
Python (3.4.3)
py
Runtime Error
18
2940
80
A,op,B=list(map(int, input().split())) if op==+: print(A+B) else: print(A-B)
s761751137
p03844
u672898046
1569459798
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
a, b, c = map(int, input(),split()) if str(b) == "+": print(a+b) else: print(a-b)
s908472176
p03844
u096186754
1569354307
Python
Python (3.4.3)
py
Runtime Error
18
2940
79
a = input() b = input() c = input() if b == '+': print(a+b) else: print(a-b)
s393681219
p03844
u556371693
1569245292
Python
Python (3.4.3)
py
Runtime Error
18
2940
93
a,op,b=map(input().split()) if op=="+": print(int(a)+int(b)) else: print(int(a)-int(b))
s755665973
p03844
u385244248
1569062009
Python
Python (3.4.3)
py
Runtime Error
17
2940
123
AB = list(map(str,input().split())) if AB[1] == "+" print(int(AB[0])+int(AB[2])) else: print(int(AB[0])-int(AB[2]))
s657763432
p03844
u305732215
1568993978
Python
Python (3.4.3)
py
Runtime Error
17
2940
97
a, op, b = input().split() a = int(a) b = int(b) if op = '+': print(a + b) else: print(a - b)
s003432956
p03844
u760767494
1568762613
Python
PyPy3 (2.4.0)
py
Runtime Error
164
38256
722
N = int(input()) l = list(map(int, input().split())) l_2 = [] gusu_kisu = N % 2 end_F = 0 for i in range(N): if gusu_kisu == 1: An = l[i] if An % 2 == 1: end_F = 1 break elif An == 0 and l_2.count(0) == 1: end_F = 1 break elif l_2.count(An) == 2: end_F = 1 break else: l_2.append(An) else: An = l[i] if An % 2 == 0: end_F = 1 break elif l_2.count(An) == 2: end_F = 1 break else: l_2.append(An) # print(An) # print(end_F) if end_F == 0: print((2 ** (N // 2)) % 1000000007) else: print(0)
s446113242
p03844
u735233212
1568678027
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
#ABC050A A, op, B = list(input().split()) if (op == '+'): print(A+B) else: print(A-B)