s_id string | p_id string | u_id string | date string | language string | original_language string | filename_ext string | status string | cpu_time string | memory string | code_size string | code string | error string | stdout string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s323066970 | p02552 | u309562711 | 1600030952 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9012 | 59 | n=int(input().split())
if n==1:
print(0)
else:
print(1) | Traceback (most recent call last):
File "/tmp/tmpttbw557q/tmp9s8yu0e4.py", line 1, in <module>
n=int(input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s423031727 | p02552 | u056511037 | 1600030696 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8992 | 24 | princt(int(input()) ^ 1) | Traceback (most recent call last):
File "/tmp/tmpkzahtads/tmpansvomj9.py", line 1, in <module>
princt(int(input()) ^ 1)
^^^^^^
NameError: name 'princt' is not defined. Did you mean: 'print'?
| |
s972979517 | p02552 | u559272602 | 1600030484 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9164 | 134 | a, b, c, d = map(int, input().split())
x = a*c
if a*c < a*d:
x=a*d
elif a*d < b*c:
x=b*c
elif b*c < b*d:
x=b*d
print(x) | Traceback (most recent call last):
File "/tmp/tmpzd9cqu8s/tmpjwqp9452.py", line 1, in <module>
a, b, c, d = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s640070015 | p02552 | u371056862 | 1600030341 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9012 | 22 | print(1 - int(input()) | File "/tmp/tmpawtks9a6/tmp0lnnfup1.py", line 1
print(1 - int(input())
^
SyntaxError: '(' was never closed
| |
s748732573 | p02552 | u120758605 | 1600030193 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8884 | 77 | x=int(input())
if(x==1):
print("0")
elif(x==0):
print("1")
else:
pass | File "/tmp/tmp7br2ifsv/tmpla94v6tq.py", line 4
elif(x==0):
^
IndentationError: unindent does not match any outer indentation level
| |
s522932756 | p02552 | u120758605 | 1600030013 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8840 | 80 | x=int(input())
if(x==1):
print("0")
elif(x==0):
print("1")
else:
pass | File "/tmp/tmp4l9hrog8/tmpkdhcnsm3.py", line 4
elif(x==0):
^
IndentationError: unindent does not match any outer indentation level
| |
s307445137 | p02552 | u239228953 | 1600029479 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9072 | 27 | n = int(input())
print(x^1) | Traceback (most recent call last):
File "/tmp/tmp_dmcn6b0/tmpmfg9hxaw.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s893838756 | p02552 | u698916859 | 1600029433 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9152 | 193 | import math
def combinations_count(N, r):
return math.factorial(N) // (math.factorial(N - r) * math.factorial(r))
# 整数の入力
N = int(input())
r = 2
print(combinations_count(N, r)) | Traceback (most recent call last):
File "/tmp/tmp6hyeyu8n/tmp74wetdv9.py", line 6, in <module>
N = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s223003988 | p02552 | u932225778 | 1600029351 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8880 | 59 | x == int(input())
if x = 1 :
print(0)
else :
print(1) | File "/tmp/tmpzn4kidhe/tmpizyeh9n9.py", line 2
if x = 1 :
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s863555818 | p02552 | u852790844 | 1600029188 | Python | Python (3.8.2) | py | Runtime Error | 121 | 27076 | 925 | import sys
import numpy as np
n = int(input())
a = np.array(input().split(), dtype=np.int64)
b = np.array(input().split(), dtype=np.int64)
ac = np.bincount(a, minlength=n+2)
ab = np.bincount(b, minlength=n+2)
if np.max(ac+ab) <= n:
num, count = np.unique(b, return_counts=True)
ans = []
for i in range(n):
... | Traceback (most recent call last):
File "/tmp/tmpern_9vye/tmpk3j8thkg.py", line 4, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s641567240 | p02552 | u582435914 | 1600028969 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8832 | 188 | #include <iostream>
using namespace std;
int main() {
int x;
cin>>x;
if (x==0){
cout<<1<<endl;
}
else{
cout<<0<<endl;
}
return 0;
} | File "/tmp/tmpd3_c03fd/tmpbct775wa.py", line 3
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s900447793 | p02552 | u582435914 | 1600028907 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8920 | 231 | #include <iostream>
using namespace std;
int main() {
int x;
cin>>x;
if (x==0){
cout<<0<<endl;
}
if (x==1){
cout<<1<<endl;
}
else{
cout<<"error"<<endl;
}
return 0;
} | File "/tmp/tmpshzgl6bx/tmp9keuva_a.py", line 3
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s102102290 | p02552 | u418381221 | 1600028808 | Python | PyPy3 (7.3.0) | py | Runtime Error | 110 | 68688 | 496 | N = int(input())
A = list(map(int,input().split()))
B = list(map(int,input().split()))
cnt = 0
step = 0
for i in range(N):
if A[step] == B[i]:
cnt += 1
else:
step += 1
flag = 0
for j in range(100):
C = B[cnt+j:]+B[:cnt+j]
flag = 0
for i in range(N):
if A[i] == C[i]:
... | Traceback (most recent call last):
File "/tmp/tmp7vvfgioc/tmp1_9hrkbo.py", line 1, in <module>
N = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s271726739 | p02552 | u819362132 | 1600028757 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9148 | 359 | a,b,c,d = map(int,input().split())
za=abs(a)
zb=abs(b)
zc=abs(c)
zd=abs(d)
if b>=0 and d>=0 :
if a>0 or c>0:
print(b*d)
else:
ans=max(a*c,b*d)
print(ans)
elif b<0 and d<0 :
x=max(za,zb)
y=max(zc,zd)
print(x*y)
else:
if b>=0 and d<0 :
x=max(za,zb)
y=max(zc,zd)
print(x*y)
else:
x=max... | Traceback (most recent call last):
File "/tmp/tmpcsfrov0y/tmpbak28r9w.py", line 1, in <module>
a,b,c,d = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s172869294 | p02552 | u186397299 | 1600028744 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8924 | 933 | A = input()
B = A.split()
a = int(B[0])
b = int(B[1])
c = int(B[2])
d = int(B[3])
if a <= 0 and b <= 0 and c <= 0 and d <= 0:
print(a*c)
elif a > 0 and b > 0 and c > 0 and d > 0:
print(b*d)
elif a > 0 and b > 0 and c<=0 and d<=0:
print(a*d)
elif a<=0 and b<=0 and c>0 and d>0:
print(b*c)
elif a<=0 and b... | Traceback (most recent call last):
File "/tmp/tmph67urywz/tmp1rm2wbt2.py", line 1, in <module>
A = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s223044446 | p02552 | u412027664 | 1600028710 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8764 | 65 | x = int(input())
if x = 1:
print("0")
elif x = 0:
print("1") | File "/tmp/tmppso5qyhi/tmpan414jf3.py", line 3
if x = 1:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s516905796 | p02552 | u448566806 | 1600028545 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8984 | 167 | #include <stdio.h>
int main(void){
int c;
scanf("%d", &c);
if(c == 1){
printf("0\n");
}else{
printf("1\n");
}
return 0;
}
| File "/tmp/tmpdu1k4i5h/tmp7jbbv8el.py", line 3
int main(void){
^^^^
SyntaxError: invalid syntax
| |
s126204092 | p02552 | u152417130 | 1600028341 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9308 | 1424 | n = int(input())
a = list(map(int, input().split()))
b = list(map(int, input().split()))
n += 5
sa = set(a)
sb = set(b)
count = [0] * n
counta = [0] * n
countb = [0] * n
for v in a:
count[v] += 1
counta[v] += 1
for v in b:
count[v] += 1
countb[v] += 1
outA = dict()
for v in a:
outA[v] = []
impo... | Traceback (most recent call last):
File "/tmp/tmpztmhn54m/tmptoep84ql.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s185026789 | p02552 | u659328126 | 1600028314 | Python | Python (3.8.2) | py | Runtime Error | 28 | 8944 | 50 | inp = input()
if inp == 1:
print(0)
else:
print(1) | File "/tmp/tmp6ttt2qrz/tmpudcz860y.py", line 3
print(0)
^
IndentationError: expected an indented block after 'if' statement on line 2
| |
s890316516 | p02552 | u659328126 | 1600028283 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8812 | 40 | if input() == 1:
print(0)
else:
print(1) | File "/tmp/tmpwgbdg2r8/tmpxny6vlqv.py", line 2
print(0)
^
IndentationError: expected an indented block after 'if' statement on line 1
| |
s185250488 | p02552 | u659328126 | 1600028212 | Python | Python (3.8.2) | py | Runtime Error | 30 | 8944 | 42 | if input() == "1":
print(0)
else:
print(1) | File "/tmp/tmplj5jh5zh/tmp988ye8j8.py", line 2
print(0)
^
IndentationError: expected an indented block after 'if' statement on line 1
| |
s640540999 | p02552 | u659328126 | 1600028163 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8852 | 41 | if(input()) == 0:
print(0)
else:
print(1) | File "/tmp/tmpyfje77op/tmp001v72_b.py", line 2
print(0)
^
IndentationError: expected an indented block after 'if' statement on line 1
| |
s891814131 | p02552 | u337040834 | 1600028142 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9076 | 22 | print(abs(1-input()))
| Traceback (most recent call last):
File "/tmp/tmpilkf43h1/tmplcyp6mww.py", line 1, in <module>
print(abs(1-input()))
^^^^^^^
EOFError: EOF when reading a line
| |
s646177598 | p02552 | u659328126 | 1600028123 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9036 | 41 | if(input()) is 0:
print(0)
else:
print(1) | File "/tmp/tmp9iai08mh/tmprw8fq8nk.py", line 2
print(0)
^
IndentationError: expected an indented block after 'if' statement on line 1
| |
s089703277 | p02552 | u843764230 | 1600028005 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9052 | 173 | a,b,c,d = map(int,input().split())
A = (a*c)
B = (a*d)
C = (b*c)
D = (c*d)
MAX = A
if MAX < B:
MAX = B
elif MAX < C:
MAX = C
elif MAX < D:
MAX = D
print(MAX) | Traceback (most recent call last):
File "/tmp/tmpgscoc0ei/tmparx9x7_v.py", line 1, in <module>
a,b,c,d = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s360181706 | p02552 | u418381221 | 1600027906 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9220 | 396 | N = int(input())
A = list(map(int,input().split()))
B = list(map(int,input().split()))
cnt = 0
step = 0
for i in range(N):
if A[step] == B[i]:
cnt += 1
else:
step += 1
C = B[cnt:]+B[:cnt]
flag = 0
for i in range(N):
if A[i] == C[i]:
flag = 1
break
if flag == 1:
print... | Traceback (most recent call last):
File "/tmp/tmp0ujo9_hz/tmpiwnar5ms.py", line 1, in <module>
N = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s034933335 | p02552 | u038819082 | 1600027898 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9116 | 60 | a,b,c,d=map(int,input().split())
print(max(a*c,a*d,b*c,b*d)) | Traceback (most recent call last):
File "/tmp/tmpwt9s1834/tmpbam6hnt0.py", line 1, in <module>
a,b,c,d=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s323368106 | p02552 | u784234016 | 1600027681 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8948 | 33 | if x=1
print(0)
elif x=0
print(1) | File "/tmp/tmpluudu4md/tmp_va2xa_z.py", line 1
if x=1
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s591361878 | p02552 | u784234016 | 1600027517 | Python | Python (3.8.2) | py | Runtime Error | 30 | 8960 | 15 | if x=1
0
else
1 | File "/tmp/tmpy9thunr2/tmp8axpyos_.py", line 1
if x=1
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s258661535 | p02552 | u525589885 | 1600027443 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8964 | 222 | s = int(input())
l = 10**9+7
list_1 = [0, 1, 1, 1]
list_2 = [0, 1, 2]
for i in range(3, s):
list_2.append((list_2[i-1] + list_1[i])%l)
list_1.append(list_2[i-2])
if s = 1 or s = 2:
print(0)
else:
print(list_1[s-1]) | File "/tmp/tmp03bhyh9k/tmpc7o5388b.py", line 8
if s = 1 or s = 2:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s255271871 | p02552 | u691711315 | 1600027288 | Python | Python (3.8.2) | py | Runtime Error | 29 | 8948 | 55 | a = int(input())
if a = 0 :
print(1)
else:
print(0) | File "/tmp/tmp6tnr8rlj/tmpc9lpn4sa.py", line 2
if a = 0 :
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s762379588 | p02552 | u669742612 | 1600027248 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9120 | 233 | if abs(a) <= abs(b) and abs(c) <= abs(d):
print(b*d)
elif abs(a) >= abs(b) and abs(c) <= abs(d):
print(b*c)
elif abs(a) <= abs(b) and abs(c) >= abs(d):
print(a*d)
elif abs(a) >= abs(b) and abs(c) >= abs(d):
print(a*c) | Traceback (most recent call last):
File "/tmp/tmpl7ne0ws3/tmp7uggbbna.py", line 1, in <module>
if abs(a) <= abs(b) and abs(c) <= abs(d):
^
NameError: name 'a' is not defined
| |
s735980957 | p02552 | u698526962 | 1600027211 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9020 | 56 | x = int(input(x))
if x == 0:
print(1)
else:
print(0) | Traceback (most recent call last):
File "/tmp/tmpx75zoazx/tmpdpl5_wx4.py", line 1, in <module>
x = int(input(x))
^
NameError: name 'x' is not defined
| |
s305978452 | p02552 | u698526962 | 1600027133 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9016 | 56 | x = int(input(x))
if x == 1:
print(0)
else:
print(1) | Traceback (most recent call last):
File "/tmp/tmpg6bv4tv3/tmpvnyszgyt.py", line 1, in <module>
x = int(input(x))
^
NameError: name 'x' is not defined
| |
s217454505 | p02552 | u669742612 | 1600027097 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9060 | 232 | a, b, c, d = map(int, input().split())
if abs(a) <= abs(b) and abs(c) <= abs(d):
print(b*d)
elif abs(a) > abs(b) and abs(c) <= abs(d):
print(b*c)
elif abs(a) <= abs(b) and abs(c) > abs(d):
print(a*d)
else:
print(a*c) | Traceback (most recent call last):
File "/tmp/tmp8ye2b9wi/tmpor8s32hg.py", line 1, in <module>
a, b, c, d = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s698357357 | p02552 | u239228953 | 1600027072 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9132 | 26 | x = int(input())
pint(x^1) | Traceback (most recent call last):
File "/tmp/tmp3ghxyi4m/tmp3b2razuu.py", line 1, in <module>
x = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s256546568 | p02552 | u819495227 | 1600026995 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9032 | 46 | n = int(input())
print("1" if x == 0 else "0") | Traceback (most recent call last):
File "/tmp/tmp_ek07o7r/tmprfok70fw.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s553295608 | p02552 | u261427665 | 1600026986 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9068 | 314 | n = int(input())
xy = [map(int, input().split()) for _ in range(n)]
x, y = [list(i) for i in zip(*xy)]
a = 0
for i in range(0,n):
for j in range(1,n-i):
c = abs(x[i] - x[i + j]) + abs(y[i] - y[i + j])
print(c)
if a >= c:
a = a
else:
a = c
print(a)
| Traceback (most recent call last):
File "/tmp/tmpyywi04ny/tmp4yw6wga4.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s490292078 | p02552 | u668525894 | 1600026820 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8872 | 89 | def f(x):
if (x == 0):
return 1
else if (x == 1):
return 0
f(int(input()) | File "/tmp/tmpban631pl/tmpccxinnp8.py", line 4
else if (x == 1):
^^
SyntaxError: expected ':'
| |
s639404436 | p02552 | u119015607 | 1600026811 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9200 | 587 | a,b,c,d= map(int,input().split())
if a>=0 and b>=0 and c>=0 and d>=0:
print(b*d)
elif a>=0 and b>=0 and c<=0 and d<=0:
print(a*d)
elif a>=0 and b>=0 and c<=0 and d>=0:
print(b*d)
elif a<=0 and b>=0 and c>=0 and d>=0:
print(b*d)
elif a<=0 and b<=0 and c<=0 and d>=0:
print(a*c)
elif a<=0 and b<=0 and... | Traceback (most recent call last):
File "/tmp/tmp3gfhj7z_/tmp0skmbw7l.py", line 1, in <module>
a,b,c,d= map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s555727750 | p02552 | u119015607 | 1600026776 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9192 | 586 | a,b,c,d= map(int,input().split())
if a>=0 and b>=0 and c>=0 and d>=0:
print(b*d)
elif a>=0 and b>=0 and c<=0 and d<=0:
print(a*d)
elif a>=0 and b>=0 and c<=0 and d>=0:
print(b*d)
elif a<=0 and b>=0 and c>=0 and d>=0:
print(b*d)
elif a<=0 and b<=0 and c<=0 and d>=0:
print(a*c)
elif a<=0 and b<=0 and... | Traceback (most recent call last):
File "/tmp/tmpal45qvsu/tmpe9aei42w.py", line 1, in <module>
a,b,c,d= map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s523039549 | p02552 | u152858291 | 1600026183 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8628 | 193 | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <set>
using namespace std;
int main()
{
int x;
cin >> x;
x ^= 1;
cout << x << endl;
return 0;
} | File "/tmp/tmpug0jtgcg/tmpjpkmpwky.py", line 7
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s852705130 | p02552 | u116763463 | 1600026170 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9000 | 580 | #include<bits/stdc++.h>
using namespace std;
#define int long long
int mod = 1000000007;
// #include "debug.cpp"
int dp[1000010][4];
int32_t main(){
int n;
cin >> n;
if(n == 1){
cout << "0\n";
return 0;
}
dp[2][0] = 64;
dp[2][1] = 17;
dp[2][2] = 17;
dp[2][3] = 2;
for(int i=3; i<=n; i++){
dp[i][0]... | File "/tmp/tmpcfgt2gkl/tmp4nush8nb.py", line 2
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s912893971 | p02552 | u152858291 | 1600026149 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8940 | 187 | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <set>
using namespace std;
int main()
{
int x;
cin >> x;
cout << (x^1) << endl;
return 0;
} | File "/tmp/tmp1l78gmcs/tmpepsfc_c1.py", line 7
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s981206564 | p02552 | u152858291 | 1600026090 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8772 | 185 | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <set>
using namespace std;
int main()
{
int x;
cin >> x;
cout << x^1 << endl;
return 0;
} | File "/tmp/tmp6s2q17yj/tmprfqvtsgv.py", line 7
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s597781786 | p02552 | u963963908 | 1600025978 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9124 | 63 | a,b,c,d = map(int,input().split())
print(max(a*c,a*d,b*c,b*d))
| Traceback (most recent call last):
File "/tmp/tmpq3y283bz/tmpes4gp314.py", line 1, in <module>
a,b,c,d = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s923306345 | p02552 | u885722498 | 1600025913 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9224 | 253 | # coding: utf8
# 日本語を入力できるようにするために上記一文が必要
import math
N = int(input())
if N == 1:
print(0)
elif N == 2:
print(1)
else:
ans = math.factorial(N)*(10**(N -2))
print(ans%(10**9+7)) | Traceback (most recent call last):
File "/tmp/tmpzunhokc1/tmp8domsshp.py", line 6, in <module>
N = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s137418200 | p02552 | u847033024 | 1600025893 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9112 | 178 | a, b, c, d = map(int, input().split())
if b * d >= 0:
print(b * d)
else:
z = []
for x in range(a, b + 1):
for y in range(c, d + 1):
z.append(x * y)
print(max(z)) | Traceback (most recent call last):
File "/tmp/tmp3l7uc1_w/tmp18urtv62.py", line 1, in <module>
a, b, c, d = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s193274845 | p02552 | u135642682 | 1600025889 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9208 | 255 | a,b,c,d = map(int, input().split())
if a >=0:
if c > 0:
print(b * d)
elif d < 0:
print(a * d)
else:
print(b*d)
else:
if c > 0:
print(b * c)
elif d < 0:
print(a * c)
else:
print(b * c) | Traceback (most recent call last):
File "/tmp/tmp41kopm5v/tmpj2swzuyk.py", line 1, in <module>
a,b,c,d = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s811770987 | p02552 | u135642682 | 1600025844 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9184 | 255 | a,b,c,d = map(int, input().split())
if a >=0:
if c > 0:
print(b * d)
elif d < 0:
print(a * d)
else:
print(b*d)
else:
if c > 0:
print(b * c)
elif d < 0:
print(a * c)
else:
print(b * c) | Traceback (most recent call last):
File "/tmp/tmpsw2h65qj/tmp9u_k9qlv.py", line 1, in <module>
a,b,c,d = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s526087327 | p02552 | u114868394 | 1600025659 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9124 | 198 | a,b,c,d=list(map(int,input().split()))
if a>=0 and c>=0:
one=b
two=d
elif a<0 and c<0:
one=a
two=c
elif a>=0 and c<0:
one=a
two=d
else:
one=b
two=c
print(one*two) | Traceback (most recent call last):
File "/tmp/tmp0_nbgxz0/tmphrbg0jde.py", line 1, in <module>
a,b,c,d=list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s421863557 | p02552 | u786150969 | 1600025641 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9076 | 66 | x = input(x)
if x == 0:
print('1')
if x == 1:
print('0') | Traceback (most recent call last):
File "/tmp/tmp1c3ulctf/tmpao9taj05.py", line 1, in <module>
x = input(x)
^
NameError: name 'x' is not defined
| |
s726699782 | p02552 | u220545090 | 1600025500 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8944 | 22 | x = input()
print(x^1) | Traceback (most recent call last):
File "/tmp/tmp4gvf4atz/tmp5cfy3tp9.py", line 1, in <module>
x = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s347372740 | p02552 | u367696065 | 1600025427 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8876 | 795 | #define _USE_MATH_DEFINES
#include <bits/stdc++.h>
using namespace std;
#define all(x) (x).begin(), (x).end()
#define dbl(k, x) fixed << setprecision(k) << (x)
template <typename _T>
inline void _DBG(const char *s, _T x) {
cerr << s << " = " << x << "\n";
}
template <typename _T, typename... args>
void _DBG(const c... | File "/tmp/tmpmqi59d2x/tmpi2bro4av.py", line 3
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s797411251 | p02552 | u005977014 | 1600025379 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9152 | 387 | a,b,c,d=map(int,input().split())
if a>=0 and b>=0 and c>=0 and d>=0:
print(b*d)
elif a<=0 and b>=0 and c>=0 and d>=0:
print(b*d)
elif a<=0 and b<=0 and c>=0 and d>=0:
print(b*c)
elif a<=0 and b>=0 and c<=0 and d>=0:
print(b*d)
elif a<=0 and b<=0 and c<=0 and d>=0:
print(a*c)
elif a<=0 and b>=0 and c<=0 and d<... | Traceback (most recent call last):
File "/tmp/tmpb4uu79i4/tmpmfbtzpsf.py", line 1, in <module>
a,b,c,d=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s134255056 | p02552 | u683027991 | 1600025321 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9192 | 214 | a,b,c,d = map(int,input().split())
if a*c > b*d:
print(a*c)
elif b > 0 and d > 0:
print(b*d)
elif a < 0 and c < 0:
print(a*c)
else:
x = min(abs(a),abs(b))
y = min(abs(c),abs(d))
print(-x*y) | Traceback (most recent call last):
File "/tmp/tmpes9_ezyi/tmpwib4oq4_.py", line 1, in <module>
a,b,c,d = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s831334935 | p02552 | u768752804 | 1600025303 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9104 | 200 | a,b,c,d = map(int, input().split())
x = a
y = c
max = x * y
if b < 0:
print(max)
else:
for x in range(a,b + 1):
for y in range(c,d + 1):
if x * y > max:
max = x * y
print(max)
| Traceback (most recent call last):
File "/tmp/tmp7tctc5cu/tmp6algglc9.py", line 1, in <module>
a,b,c,d = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s351661526 | p02552 | u220545090 | 1600025297 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9080 | 10 | print(x^1) | Traceback (most recent call last):
File "/tmp/tmpe7gyew1h/tmpn3wo69xw.py", line 1, in <module>
print(x^1)
^
NameError: name 'x' is not defined
| |
s028634566 | p02552 | u271123940 | 1600025198 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9004 | 89 | def in(x):
if x == 0:
return 1
if x == 1:
return 0
x = int(input())
print(in(x)) | File "/tmp/tmpmdcr42ws/tmp3gusdr73.py", line 1
def in(x):
^^
SyntaxError: invalid syntax
| |
s844929046 | p02552 | u302084097 | 1600025124 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8940 | 54 | x=int(input())
if x=1:
print(0)
else:
print(1) | File "/tmp/tmpapmzqc3q/tmpz37f8c1r.py", line 2
if x=1:
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s395257371 | p02552 | u243078991 | 1600025080 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8860 | 58 | x = int(input())
if x = 0:
print("1")
else:
print("0") | File "/tmp/tmp30u_x2bn/tmpomz2ibjq.py", line 2
if x = 0:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s399649681 | p02552 | u988466483 | 1600025038 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9008 | 61 | x = int(input()) if x==0: print("1") else: print("0") | File "/tmp/tmp81gto910/tmp1d1am5ta.py", line 1
x = int(input()) if x==0: print("1") else: print("0")
^
SyntaxError: invalid syntax
| |
s943785476 | p02552 | u229621546 | 1600024984 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8932 | 48 | if 1 == int(input()):
print(0)
else
print(1) | File "/tmp/tmpic3ah6hy/tmp2wnvngbz.py", line 3
else
^
SyntaxError: expected ':'
| |
s811793770 | p02552 | u873605671 | 1600024925 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9000 | 48 | x = input()
if x:
print 0
else:
print 1 | File "/tmp/tmp25jgi8do/tmpq62jgb2w.py", line 4
print 0
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s596354299 | p02552 | u407582092 | 1600024846 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9000 | 115 | class Solution:
def solve(self, x):
if x == 0:
return 1
elif x == 1:
return 0
| File "/tmp/tmptxfqbzw1/tmpsg9k9uza.py", line 3
if x == 0:
TabError: inconsistent use of tabs and spaces in indentation
| |
s797849829 | p02552 | u736990852 | 1600024832 | Python | Python (3.8.2) | py | Runtime Error | 30 | 8948 | 82 | x=ipput(:)
if x>=0 and x<=1:
if x=1:
print('0')
elif x=0:
print('1') | File "/tmp/tmprdc17liz/tmpq_mst092.py", line 1
x=ipput(:)
^
SyntaxError: invalid character ':' (U+FF1A)
| |
s510715620 | p02552 | u364090041 | 1600024819 | Python | Python (3.8.2) | py | Runtime Error | 28 | 8940 | 21 | a = input()
print(!a) | File "/tmp/tmp7c1ndxla/tmpuvjdk929.py", line 2
print(!a)
^
SyntaxError: invalid syntax
| |
s931983441 | p02552 | u873605671 | 1600024729 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8936 | 35 | if x:
print 0
else:
print 1 | File "/tmp/tmprjd7fp31/tmpba01rpeb.py", line 2
print 0
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s195527070 | p02552 | u635759013 | 1600024726 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9156 | 86 | a,b,c,d = [int(x) for x in input().split()]
nums = [a*c,a*d,b*c,b*d]
print(max(nums)) | Traceback (most recent call last):
File "/tmp/tmp5ygidyp6/tmpkcofd89i.py", line 1, in <module>
a,b,c,d = [int(x) for x in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s357505642 | p02552 | u273914730 | 1600024653 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9008 | 55 | x=input()
if x>0.5:
print(0)
elif x<0.5:
print(1)
| Traceback (most recent call last):
File "/tmp/tmpfs_dqsol/tmpravqd6lr.py", line 1, in <module>
x=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s995080175 | p02552 | u873605671 | 1600024615 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9040 | 37 | if x:
return 0
else:
return 1 | File "/tmp/tmp98c335jr/tmpvhklkjdw.py", line 2
return 0
^^^^^^^^
SyntaxError: 'return' outside function
| |
s747561023 | p02552 | u056118261 | 1600024571 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9004 | 61 | x = int(input())
if x==1:
print(0)
else if x==0:
print(1) | File "/tmp/tmpmgzrimcy/tmposox_tfk.py", line 4
else if x==0:
^^
SyntaxError: expected ':'
| |
s992802400 | p02552 | u444766154 | 1600024472 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9008 | 60 | x = int(input(x))
if x == 0:
print(1)
else:
print(0)
| Traceback (most recent call last):
File "/tmp/tmpsfzkz_af/tmpxbdw2u5j.py", line 1, in <module>
x = int(input(x))
^
NameError: name 'x' is not defined
| |
s592761026 | p02552 | u273914730 | 1600024458 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9076 | 59 | x=int(input())
if s==0:
print( 1)
elif s==1:
print( 0) | Traceback (most recent call last):
File "/tmp/tmpjvlv7lmq/tmpnn74iifk.py", line 1, in <module>
x=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s308693300 | p02552 | u587429593 | 1600024450 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8872 | 55 | x = int(input())
if x = 0:
print(1)
else:
print(0) | File "/tmp/tmpwwaxgyc6/tmpyroncoj4.py", line 3
if x = 0:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s805759271 | p02552 | u634494967 | 1600024423 | Python | Python (3.8.2) | py | Runtime Error | 20 | 9084 | 55 | n = input()
if n > 0:
print(0)
elif n < 1:
print(1) | Traceback (most recent call last):
File "/tmp/tmp8n2544zn/tmpkj8bdipu.py", line 1, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s849502097 | p02552 | u273914730 | 1600024407 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8916 | 57 | x=int(input())
if s==0:
return 1
elif s==1:
return 0 | File "/tmp/tmp0t9nl7qa/tmpn7xyc1s9.py", line 4
return 1
^^^^^^^^
SyntaxError: 'return' outside function
| |
s583744544 | p02552 | u718765445 | 1600024399 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8872 | 53 | if (int(input()) ==0:
print(1)
else:
print(0) | File "/tmp/tmpzzlzd4o_/tmp2ab79syz.py", line 1
if (int(input()) ==0:
^
SyntaxError: invalid syntax
| |
s732181295 | p02552 | u587429593 | 1600024336 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8940 | 59 | x = int(input())
if x = 0:
print("1")
else:
print("0") | File "/tmp/tmpty5p7zg6/tmp0j611x3s.py", line 3
if x = 0:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s708761837 | p02552 | u273914730 | 1600024320 | Python | Python (3.8.2) | py | Runtime Error | 30 | 9080 | 66 | x=int(input())
s=input()
if s==0:
return 1
elif s==1:
return 0 | File "/tmp/tmphii_bbps/tmp192bxs3u.py", line 4
return 1
^^^^^^^^
SyntaxError: 'return' outside function
| |
s733485679 | p02552 | u273914730 | 1600024296 | Python | Python (3.8.2) | py | Runtime Error | 21 | 9012 | 57 | x=int(input())
if x==0:
return 1
elif x==1:
return 0 | File "/tmp/tmpwqo1m83_/tmp6ldbunq_.py", line 4
return 1
^^^^^^^^
SyntaxError: 'return' outside function
| |
s928935163 | p02552 | u444766154 | 1600024275 | Python | Python (3.8.2) | py | Runtime Error | 20 | 8892 | 39 | if x == 0:
print(1)
else:
print(0)
| Traceback (most recent call last):
File "/tmp/tmpqx6pxqz1/tmplnjzk591.py", line 1, in <module>
if x == 0:
^
NameError: name 'x' is not defined
| |
s290561134 | p02552 | u273914730 | 1600024201 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9016 | 44 | if x==0:
print (1)
elif x==1:
print(0) | Traceback (most recent call last):
File "/tmp/tmpvsp389e8/tmpzgq63yq9.py", line 1, in <module>
if x==0:
^
NameError: name 'x' is not defined
| |
s991052925 | p02552 | u176165272 | 1600024180 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9020 | 60 | x = input()
if X == "1":
print("0")
else:
print("1") | Traceback (most recent call last):
File "/tmp/tmp0w59imx6/tmpdetqzdz0.py", line 1, in <module>
x = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s556711997 | p02552 | u273914730 | 1600024162 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8972 | 53 | x=int(a)
if a==0:
print (1)
elif a==1:
print(0) | Traceback (most recent call last):
File "/tmp/tmpqumktt0f/tmpvdwp95ze.py", line 1, in <module>
x=int(a)
^
NameError: name 'a' is not defined
| |
s211552579 | p02552 | u444766154 | 1600024140 | Python | Python (3.8.2) | py | Runtime Error | 21 | 8936 | 38 | if x = 0:
print(1)
else:
print(0)
| File "/tmp/tmpf4dvjprl/tmpkf0cy98b.py", line 1
if x = 0:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s422544688 | p02552 | u920463220 | 1600024101 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9008 | 20 | print(1-int(input()) | File "/tmp/tmp5kf1i8ay/tmpyhxi0sny.py", line 1
print(1-int(input())
^
SyntaxError: '(' was never closed
| |
s770215384 | p02552 | u024568043 | 1600024092 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8876 | 27 | print(int(not int(input())) | File "/tmp/tmp565lz_77/tmpe9ea2h4y.py", line 1
print(int(not int(input()))
^
SyntaxError: '(' was never closed
| |
s131221004 | p02552 | u768752804 | 1600024084 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9100 | 160 | a,b,c,d = map(int, input().split())
x = a
y = c
max = x * y
for x in range(a,b + 1):
for y in range(c,d + 1):
if x * y > max:
max = x * y
print(max) | Traceback (most recent call last):
File "/tmp/tmpo7pws54x/tmpjmfvorcp.py", line 1, in <module>
a,b,c,d = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s261152575 | p02552 | u244656600 | 1600024076 | Python | Python (3.8.2) | py | Runtime Error | 28 | 8872 | 46 | x= input()
if(x==0)
print(1)
else
print(0) | File "/tmp/tmpu4_6a0s_/tmpa4vfei2e.py", line 2
if(x==0)
^
SyntaxError: expected ':'
| |
s559488259 | p02552 | u476628920 | 1600024061 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9088 | 64 | a,b,c,d = map(int,input().split())
print(max([a*b,b*c,a*d,b*d])) | Traceback (most recent call last):
File "/tmp/tmpfr6h726i/tmp_tnrln2i.py", line 1, in <module>
a,b,c,d = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s159910410 | p02552 | u691710466 | 1600024041 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9028 | 41 | if x == 0:
x = 1
else:
x = 0
print(x) | Traceback (most recent call last):
File "/tmp/tmpae95po5j/tmp_1odg39d.py", line 1, in <module>
if x == 0:
^
NameError: name 'x' is not defined
| |
s526097965 | p02552 | u273914730 | 1600024017 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9072 | 50 | x=int(a)
if a==0:
return 1
elif a==1:
return 0 | File "/tmp/tmpo9bsesah/tmpb77i0_o0.py", line 3
return 1
^^^^^^^^
SyntaxError: 'return' outside function
| |
s814549443 | p02552 | u239228953 | 1600024013 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8960 | 52 | x = int(input())
if x==1:
print(0)
else:
print(1 | File "/tmp/tmpvu301hry/tmp1ybrtvj_.py", line 5
print(1
^
SyntaxError: '(' was never closed
| |
s147163324 | p02552 | u308914480 | 1600023922 | Python | Python (3.8.2) | py | Runtime Error | 21 | 9000 | 54 | x=int(input())
if x=0:
print("1")
else:
print("0") | File "/tmp/tmp0cqh_sm2/tmpc5tzvssy.py", line 2
if x=0:
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s385889534 | p02552 | u280325247 | 1600023899 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9152 | 79 | a, b, c, d = map(int, input().split())
print(max(a * c, b * d, a * d, b * c)) | Traceback (most recent call last):
File "/tmp/tmp_fkv3v88/tmpjdoah280.py", line 1, in <module>
a, b, c, d = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s449242174 | p02552 | u316152477 | 1600023895 | Python | Python (3.8.2) | py | Runtime Error | 21 | 8996 | 57 | x = import()
if x == 0:
print(1)
else:
print(0) | File "/tmp/tmpgamvfjji/tmpsmvozniu.py", line 1
x = import()
^^^^^^
SyntaxError: invalid syntax
| |
s776318253 | p02552 | u308914480 | 1600023888 | Python | Python (3.8.2) | py | Runtime Error | 21 | 8868 | 45 | x=input()
if x=0:
print(1)
else:
print(0) | File "/tmp/tmptufod6sn/tmp0ueci6kx.py", line 2
if x=0:
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s651396167 | p02552 | u691710466 | 1600023865 | Python | Python (3.8.2) | py | Runtime Error | 32 | 8952 | 39 | if x = 0:
x = 1
else
x = 0
return x | File "/tmp/tmpixwasd58/tmp5eznzcrf.py", line 1
if x = 0:
^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s663662934 | p02552 | u291266927 | 1600023860 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8952 | 76 | x=int(input())
if x==0:
print(1)
elif x==1:
print(0)
else:
break | File "/tmp/tmpvj7pnxk0/tmpwsmv8ps5.py", line 7
break
^^^^^
SyntaxError: 'break' outside loop
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.