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
s940254001
p02552
u801617021
1600356074
Python
Python (3.8.2)
py
Runtime Error
24
8864
53
t=int(input()) if(t==1): print(0) else: print(1)/
s571192061
p02552
u936988827
1600340325
Python
Python (3.8.2)
py
Runtime Error
30
8876
114
x=input().rstrip.split(" ") z=[] for i in range(2): z.append(x[i-2]*x[0]) z.append(x[i-2]*x[1]) print(max(z))
s780095522
p02552
u228288852
1600338233
Python
Python (3.8.2)
py
Runtime Error
24
8856
55
x=int(input()) if x==1: print("0") else: print("1!)
s584279110
p02552
u848097937
1600333840
Python
Python (3.8.2)
py
Runtime Error
27
8952
55
x=int(input()) if x.=0: print(0) else: print(1)
s620917064
p02552
u752200367
1600300326
Python
Python (3.8.2)
py
Runtime Error
26
8816
37
print("1") if input() == 0; else("0")
s239052625
p02552
u447564882
1600297810
Python
Python (3.8.2)
py
Runtime Error
26
8980
54
x=input() if x==0: print(1) else if x==1: print(0)
s528799262
p02552
u642201941
1600294199
Python
Python (3.8.2)
py
Runtime Error
26
9040
42
n = int(input()) return 0 if n == 1 else n
s882549143
p02552
u158047942
1600289898
Python
Python (3.8.2)
py
Runtime Error
22
8816
22
0 <= x <= 1 print(1-x)
s305527817
p02552
u158047942
1600289235
Python
Python (3.8.2)
py
Runtime Error
25
9088
45
if x == 0: print(1) elif x == 1: print(0)
s031682626
p02552
u371255848
1600284362
Python
Python (3.8.2)
py
Runtime Error
24
8908
32
x = int(input()) y = !x print(y)
s259371260
p02552
u371255848
1600284245
Python
Python (3.8.2)
py
Runtime Error
23
8928
26
x = int(input()) print(!x)
s630926756
p02552
u269054236
1600270566
Python
Python (3.8.2)
py
Runtime Error
24
9032
65
import sys x=int(sys.argv) print ([0 if i==1 else 1 for i in x])
s014840863
p02552
u694665829
1600269169
Python
Python (3.8.2)
py
Runtime Error
23
9068
1
!
s854316699
p02552
u915378300
1600268020
Python
Python (3.8.2)
py
Runtime Error
23
8772
68
def conj(n): if n==0:return 1 return 0 print(conj(int(input()))
s969466818
p02552
u358823770
1600227421
Python
Python (3.8.2)
py
Runtime Error
27
8892
37
if x==1 print(0) elif x==0 print(1)
s771496974
p02552
u358823770
1600224323
Python
Python (3.8.2)
py
Runtime Error
22
8900
40
if x===1 print(0) elif x===0 print(1)
s721220559
p02552
u776826405
1600215668
Python
Python (3.8.2)
py
Runtime Error
20
8904
41
if x == 0: print(1) else: print(0)
s702009123
p02552
u430793654
1600204749
Python
Python (3.8.2)
py
Runtime Error
23
8980
44
if x==0: print('1') else: print('0')
s110481769
p02552
u737397387
1600199049
Python
Python (3.8.2)
py
Runtime Error
22
8964
37
if x=1: print(0) if x=0: print(1)
s857864577
p02552
u607629451
1600196205
Python
Python (3.8.2)
py
Runtime Error
23
8944
52
x = input() if x = 0 : print(1) else : print(0)
s601059733
p02552
u794274928
1600190384
Python
Python (3.8.2)
py
Runtime Error
22
8884
65
x = int(input()) if x == 1: print(0) else if x == 0: print(1)
s649884351
p02552
u531456543
1600188834
Python
Python (3.8.2)
py
Runtime Error
25
8812
61
x = int(input()) if x = 0: print(1) elif x = 1: print(0)
s823336191
p02552
u883983516
1600181534
Python
Python (3.8.2)
py
Runtime Error
20
9008
42
if x == 0: print(1) else: print(0)
s317364326
p02552
u776429183
1600179480
Python
Python (3.8.2)
py
Runtime Error
26
8964
79
def main(x): if x =1: return 0 else: return 1 main(x)
s184439332
p02552
u776429183
1600179216
Python
Python (3.8.2)
py
Runtime Error
27
8960
79
def main(x): if x =1: return 0 else: return 1 main(x)
s128621815
p02552
u776429183
1600179169
Python
Python (3.8.2)
py
Runtime Error
24
8816
77
def main(): if x =1: return 0 else: return 1 main()
s887068155
p02552
u776429183
1600179115
Python
Python (3.8.2)
py
Runtime Error
20
8816
82
def main(): if x =1: return 0 elif x !=1: return 1 main()
s068061917
p02552
u919214743
1600178235
Python
Python (3.8.2)
py
Runtime Error
25
9024
3
!
s365879392
p02552
u431583295
1600175699
Python
Python (3.8.2)
py
Runtime Error
22
8836
37
if x = 0: print(1) else: print(0)
s255874713
p02552
u494678441
1600172280
Python
Python (3.8.2)
py
Runtime Error
25
8964
70
n = int(input()) if n == 0 { print(1) } else n == 1 { print(0) }
s145871689
p02552
u826637752
1600158973
Python
Python (3.8.2)
py
Runtime Error
25
8880
31
n = int(input()) print(1-n)
s779840188
p02552
u637387397
1600154183
Python
Python (3.8.2)
py
Runtime Error
24
9076
194
a = input().split(" ") x = [int(a[0]),int(a[1])] y = [int(a[2]),int(a[3])] ans = [] for i in x: for j in y: s = i*j ans.append(s) ans.sort(reverse = True) print(ans[0])
s145675609
p02552
u192165179
1600150993
Python
Python (3.8.2)
py
Runtime Error
27
9156
63
x = int(input()) if x == 1: print(0) elif X == 0: print(1)
s936057357
p02552
u250362126
1600142313
Python
Python (3.8.2)
py
Runtime Error
27
8872
98
def _print(): a = int(input()) print(1 if a == 0 else 0) if __name__ = '__main__': _print()
s633694894
p02552
u418407003
1600138611
Python
Python (3.8.2)
py
Runtime Error
26
9076
52
x = int(input) if x == 0: print(1) else: print(0)
s272850013
p02552
u250362126
1600128277
Python
Python (3.8.2)
py
Runtime Error
26
8952
61
num = int(input()) if num == 1: print(0) else: print(1)
s281765811
p02552
u250362126
1600128232
Python
Python (3.8.2)
py
Runtime Error
21
8836
61
num = int(input()) if num == 1: print(1) else: print(0)
s706671163
p02552
u250362126
1600128175
Python
Python (3.8.2)
py
Runtime Error
23
8988
55
num = input() if num == 1: print(1) else: print(0)
s411626981
p02552
u621582427
1600126757
Python
Python (3.8.2)
py
Runtime Error
19
8972
24
x = input() print(1 - x)
s030576589
p02552
u956318161
1600120525
Python
Python (3.8.2)
py
Runtime Error
22
9120
78
d,t,s=map(int,input().split()) if s*t >= d: print("Yes") else: print("No")
s417231163
p02552
u714852797
1600119929
Python
Python (3.8.2)
py
Runtime Error
25
8916
71
N = int(input()) print((10 ** N - 2 * 9 ** N + 8 ** N % (10 ** 9 + 7))
s441599606
p02552
u714852797
1600119840
Python
Python (3.8.2)
py
Runtime Error
22
9108
87
print((10 ** int(input()) - 2 * 9 ** int(input()) + 8 ** int(input())) % (10 ** 9 + 7))
s995954967
p02552
u430621070
1600119718
Python
Python (3.8.2)
py
Runtime Error
21
8980
45
if x == 0: print(1) elif x == 1: print(0)
s792695548
p02552
u430621070
1600119557
Python
Python (3.8.2)
py
Runtime Error
28
8940
222
while True: try: x = input() if x == 1: print(0) break elif x ==0: print(1) break else: continue except: print('invalid input') continue
s590190779
p02552
u430621070
1600119334
Python
Python (3.8.2)
py
Runtime Error
24
8864
126
while True: x = input() if x == 1: print(0) break elif x ==0: print(1) break else: continue
s694307718
p02552
u628597699
1600115484
Python
Python (3.8.2)
py
Runtime Error
22
8712
26
bool a = input() print(!a)
s859098976
p02552
u628597699
1600115429
Python
Python (3.8.2)
py
Runtime Error
27
8812
22
print(!(int)(input()))
s791710514
p02552
u628597699
1600115342
Python
Python (3.8.2)
py
Runtime Error
22
8812
15
print(!input())
s954866862
p02552
u384796740
1600113166
Python
PyPy3 (7.3.0)
py
Runtime Error
85
68692
212
N=int(input()) p=[] for i in range(N): p.append(list(map(int, input().split()))) q=[] for i in range(N): for j in range(N-i): q.append(abs(p[i][0]-p[i+j][0])+abs(p[i][1]-p[i+j][1])) print(max(q))
s695029187
p02552
u712082626
1600113094
Python
PyPy3 (7.3.0)
py
Runtime Error
107
74356
51
a = int(input()) if a==1 print(0); else print(1);
s840055187
p02552
u985930315
1600109778
Python
Python (3.8.2)
py
Runtime Error
24
8908
59
tmp = input() if tmp = "0": print("1") else: print("0")
s727768408
p02552
u874644572
1600108513
Python
Python (3.8.2)
py
Runtime Error
498
333372
45
for i in range(2): print(" " * 100000000)
s927230831
p02552
u874644572
1600108471
Python
Python (3.8.2)
py
Runtime Error
507
529084
22
print(" " * 200000000)
s448382599
p02552
u015767468
1600104594
Python
Python (3.8.2)
py
Runtime Error
26
8880
54
x=int(input()) if x==0: print 1 elif x==1: print 0
s864250499
p02552
u956318161
1600103476
Python
Python (3.8.2)
py
Runtime Error
23
9080
247
s = int(input()) #最後に切った場所がiであるようなパターンの数をdp[i]とする dp=[0]*(s+1) dp[0]=1 if s<3: print("0") for i in range(3,s+1): dp[i]=dp[i-1]+dp[i-3] dp.append(dp[i]) score=dp[s]%(10**9+7) print(score)
s742370848
p02552
u954731369
1600103444
Python
Python (3.8.2)
py
Runtime Error
26
8976
40
x = intZ(input()) print(0 if x else 1)
s512339182
p02552
u111559399
1600100909
Python
Python (3.8.2)
py
Runtime Error
26
9004
62
N=int(input()) if N == 1: print(0) elif N==o: print(1)
s987185066
p02552
u066494348
1600098845
Python
Python (3.8.2)
py
Runtime Error
25
9068
61
import math n=int(input()) print(mod(pow(2,n)-2,1000000007))
s757982950
p02552
u066494348
1600098365
Python
Python (3.8.2)
py
Runtime Error
26
8908
56
import math n=input() print(mod(pow(2,n)-2,1000000007))
s372188476
p02552
u532426307
1600096041
Python
Python (3.8.2)
py
Runtime Error
22
9048
61
x = input() if x == 1: y = 0 elif x == 0: y = 1 print(y)
s927847293
p02552
u064505481
1600095465
Python
PyPy3 (7.3.0)
py
Runtime Error
96
74764
1512
// #pragma GCC optimize ("O3") // #pragma GCC target ("sse4") #include <bits/stdc++.h> using namespace std; const int INF = 1 << 29; const int NINF = -1*INF; const long long LLINF = 1ll << 60; const long long LLNINF = -1*LLINF; template <class Ch, class Tr, class Container> basic_ostream <Ch, Tr> & operator << (basic...
s176982587
p02552
u486209657
1600093823
Python
Python (3.8.2)
py
Runtime Error
20
8928
63
a,b,c,d=map(int,input().split()) print(max(a*c, a*d, b*c, b*d))
s770850239
p02552
u706659319
1600093780
Python
PyPy3 (7.3.0)
py
Runtime Error
91
74704
203
tmp = 10 ** 9 + 7 def div(n,T): _ = 1 for t in range(T): _ *= n _ %= tmp return _ N = int(input()) a = div(10,N) b = div(9,N) c = div(8,N) print((a + c - 2 * b) % tmp)
s802271053
p02552
u486209657
1600093581
Python
Python (3.8.2)
py
Runtime Error
20
9180
210
a,b,c,d=map(int,input().split()) A=max(a,b) B=max(c,d) if (A>0 and B>0): print(A*B) elif A<0 and B>0: print(A*min(c,d)) elif A>0 and B<0: print(min(a,b)*B) elif A<=0 and B<=0: print(min(a,b)*min(c,d))
s947040957
p02552
u486209657
1600093520
Python
Python (3.8.2)
py
Runtime Error
23
9024
182
a,b,c,d=map(int,input().split()) A=max(a,b) B=max(c,d) if (A<=0 and B<=0) or (A>0 and B>0): print(A*B) elif A<0 and B>0: print(A*min(c,d)) elif A>0 and B<0: print(min(a,b)*B)
s350427961
p02552
u486209657
1600093475
Python
Python (3.8.2)
py
Runtime Error
26
8944
170
a,b,c,d=map(int,input().split()) A=max(a,b) B=max(c,d) if (A<=0 and B<=0) or (A>0 and B>0): print(A*B) elif A<0 and B>0: print(A*min(c,d)) else: print(min(a,b)*B)
s941948493
p02552
u486209657
1600093383
Python
Python (3.8.2)
py
Runtime Error
19
9020
169
a,b,c,d=map(int,input().split()) A=max(a,b) B=max(c,d) if (A<=0 and B<=0) or (A>0 and B>0): print(A*B) elif A<0 and B>0: print(min(a,b)*B) else: print(A*min(c,d))
s064210265
p02552
u974436134
1600092793
Python
Python (3.8.2)
py
Runtime Error
24
9052
57
x=int(input()) if X==0: print(1) elif x==1: print(0)
s267034214
p02552
u208633734
1600090033
Python
Python (3.8.2)
py
Runtime Error
22
8928
127
a,b,c,d = map(int,input().split()) ans = -float("INF") x = for x in (a,b): for y in (c,d): ans = max(ans,X*y) print(ans)
s444258872
p02552
u543000780
1600076447
Python
Python (3.8.2)
py
Runtime Error
24
9072
59
x = int(input()) if x == 0: pirnt("1") else: print("0")
s500849936
p02552
u578992689
1600074175
Python
Python (3.8.2)
py
Runtime Error
23
8868
34
x = int(input()) print(int(not(x))
s115756336
p02552
u578992689
1600074108
Python
Python (3.8.2)
py
Runtime Error
23
9024
23
print(int(not(input()))
s569580651
p02552
u578992689
1600073869
Python
Python (3.8.2)
py
Runtime Error
25
8948
32
print(1) if x == 1 else print(0)
s452177763
p02552
u024340351
1600070977
Python
Python (3.8.2)
py
Runtime Error
26
9044
16
print(1-input())
s069055149
p02552
u140513568
1600065932
Python
Python (3.8.2)
py
Runtime Error
24
9040
80
a, b, c, d = map(int, input().split()) print(max([(a*c), (a*d), (b*c), (b*d)]))
s294069779
p02552
u929777289
1600062600
Python
Python (3.8.2)
py
Runtime Error
24
9028
24
print(int(not(bool(x))))
s487503428
p02552
u140513568
1600061174
Python
PyPy3 (7.3.0)
py
Runtime Error
86
74720
68
if int(input()) == 1: print(0) elif int(input()) == 0: print(1)
s153467752
p02552
u042709364
1600053329
Python
Python (3.8.2)
py
Runtime Error
26
8948
159
x = int(x) # OUTPUTS # Print 1 if input is equal to 0 if x == 0: print(1) exit() # Print 0 if input is equal to 1 if x == 1: print(0) exit()
s712235786
p02552
u042709364
1600052817
Python
Python (3.8.2)
py
Runtime Error
19
9004
504
import sys # User input var = input("Please enter an integer: ") # Error check 1: Is the input an integer? try: val = int(var) except ValueError: sys.exit('Input is not an integer') # Convert input to integer var = int(var) # Error check 2: Is the input within bounds? if var > 1 or var < 0: sys.exit('I...
s140883137
p02552
u786572314
1600043516
Python
Python (3.8.2)
py
Runtime Error
24
8920
65
x = int(input()) if x = 1: print(0) elif x = 0: print(1)
s529228268
p02552
u786572314
1600043365
Python
Python (3.8.2)
py
Runtime Error
28
8988
63
x = int(input()) if x != 1: return 0 elif x != 0: return 1
s377626227
p02552
u406145181
1600042955
Python
PyPy3 (7.3.0)
py
Runtime Error
97
74648
53
a=int(input()) if a==1: print(0) if a==0 print(1)
s306744863
p02552
u592826944
1600042789
Python
PyPy3 (7.3.0)
py
Runtime Error
89
74780
2137
# cook your dish here import sys,math try:sys.stdin,sys.stdout=open('input.txt','r'),open('out.txt','w') except:pass from sys import stdin,stdout;mod=int(1e9 + 7);from statistics import mode from collections import *;from math import ceil,floor,inf,factorial,gcd,log2,sqrt,log ii1=lambda:int(stdin.readline().strip()) is...
s293298525
p02552
u914693053
1600042289
Python
Python (3.8.2)
py
Runtime Error
24
8872
29
print(int(not(int(input())))
s435048449
p02552
u914693053
1600042247
Python
Python (3.8.2)
py
Runtime Error
23
8956
28
print(int(not(int(input())))
s964506974
p02552
u389058980
1600040679
Python
Python (3.8.2)
py
Runtime Error
22
8956
60
a,b,c,d = map(int,input().split()) print(max(a,b)*max(c,d))
s870497117
p02552
u623094203
1600038520
Python
Python (3.8.2)
py
Runtime Error
31
9004
18
print(1 - input())
s331087220
p02552
u405382377
1600036112
Python
Python (3.8.2)
py
Runtime Error
24
8844
71
input_number = input() if input_number = 0: print(1) else: print(0)
s197439983
p02552
u920103253
1600035646
Python
Python (3.8.2)
py
Runtime Error
26
8888
28
x=int(input) print(abs(1-x))
s907424034
p02552
u875291233
1600035116
Python
Python (3.8.2)
py
Runtime Error
30
9344
608
# coding: utf-8 # Your code here! import sys readline = sys.stdin.readline read = sys.stdin.read n, = map(int,readline().split()) *a, = map(int,readline().split()) *b, = map(int,readline().split()) b = b[::-1] from collections import Counter d = Counter(a+b) if max(d.values()) > n: print("No") exit() same = ...
s396386183
p02552
u976282379
1600033756
Python
Python (3.8.2)
py
Runtime Error
23
9012
127
if __name__ == "__main__": main() def main(): x = int(input()) if x: print(0) else: print(1)
s858837771
p02552
u976282379
1600033565
Python
Python (3.8.2)
py
Runtime Error
24
8944
51
x = int(input()) if x: print(0) else: print(1)
s045891256
p02552
u991159676
1600033352
Python
Python (3.8.2)
py
Runtime Error
29
8892
59
in = int(input()) if x==0: print(1) elif x==1: print(0)
s405146638
p02552
u190405516
1600033033
Python
Python (3.8.2)
py
Runtime Error
24
8908
94
1 s = int(input()) 2 3 if s == 1: 4 print('0') 5 elif s == 0: 6 print('1')
s458698423
p02552
u585482323
1600032687
Python
PyPy3 (7.3.0)
py
Runtime Error
139
74776
1351
#!usr/bin/env python3 from collections import defaultdict, deque from heapq import heappush, heappop from itertools import permutations, accumulate import sys import math import bisect def LI(): return [int(x) for x in sys.stdin.readline().split()] def I(): return int(sys.stdin.readline()) def LS():return [list(x) for ...
s296958390
p02552
u873915460
1600032449
Python
PyPy3 (7.3.0)
py
Runtime Error
115
68732
48
import time print((time.time()%10)^int(input()))
s375775688
p02552
u969708690
1600032449
Python
Python (3.8.2)
py
Runtime Error
25
9064
1
!
s287504901
p02552
u674588203
1600031975
Python
Python (3.8.2)
py
Runtime Error
24
9052
17
print(input()^1)
s147203701
p02552
u585482323
1600031859
Python
PyPy3 (7.3.0)
py
Runtime Error
147
74764
1315
#!usr/bin/env python3 from collections import defaultdict, deque from heapq import heappush, heappop from itertools import permutations, accumulate import sys import math import bisect def LI(): return [int(x) for x in sys.stdin.readline().split()] def I(): return int(sys.stdin.readline()) def LS():return [list(x) for ...
s014162154
p02552
u789622053
1600031840
Python
Python (3.8.2)
py
Runtime Error
21
8900
15
print input()^1