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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s929566469 | p02553 | u966207392 | 1600323798 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9176 | 120 | a, b, c, d = map(int, input().split())
for x in (a, b):
for y in (c, d):
ans = max(ans, x * y)
print(ans) | Traceback (most recent call last):
File "/tmp/tmpgutvys2k/tmpc4y336bu.py", line 1, in <module>
a, b, c, d = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s747522457 | p02553 | u444900670 | 1600309245 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9196 | 68 | a,b,c,d=map(int,input().split())
ans=max[a*c,a*d,b*c,b*d]
print(ans) | Traceback (most recent call last):
File "/tmp/tmprsyklavd/tmpsznt_xb2.py", line 1, in <module>
a,b,c,d=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s272955697 | p02553 | u444900670 | 1600309136 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9068 | 60 | a,b,c,d=map(int,input().split())
print(max[a*c,a*d,b*c,b*c]) | Traceback (most recent call last):
File "/tmp/tmpnk4yscgf/tmpg8k_zdjp.py", line 1, in <module>
a,b,c,d=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s982288560 | p02553 | u477638578 | 1600286062 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8828 | 663 | // //
// author : samars_diary //
// 16-09-2020 │ 18:15:57 //
// //
#include <iostream>
using namespace std;
void solve(){
long long int a,b,c,d;
cin>>a>>b>>c>>d;
long long int p = max(max(a,b)*max(c,d),min(a,b)*min(c,d));
long long i... | File "/tmp/tmplgao0w4y/tmp5sftj_80.py", line 3
// 16-09-2020 │ 18:15:57 //
^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
| |
s645660141 | p02553 | u269054236 | 1600272775 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8936 | 139 | nums=list(map(int, input().split()))
ans=[]
for i in range(2):
ans.append(nums[i]*nums[2])
ans.append(nums[i]*nums[3])
print max(ans)
| File "/tmp/tmpl5up_fge/tmp_l4ylnxx.py", line 6
print max(ans)
^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s252069541 | p02553 | u269054236 | 1600271818 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9052 | 225 | a,b,c,d=map(int, input(),split())
x=a if abs(a)>abs(b) else b
y=c if abs(c)>abs(d) else d
if ( (x>0 and y>0) or (x<0 and y<0) ):
print (x*y)
else :
x=a if abs(a)<abs(b) else b
y=c if abs(c)<abs(d) else d
print (x*y) | Traceback (most recent call last):
File "/tmp/tmpuqmm9ecf/tmp3o0ak629.py", line 1, in <module>
a,b,c,d=map(int, input(),split())
^^^^^^^
EOFError: EOF when reading a line
| |
s090725898 | p02553 | u785475109 | 1600263743 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9008 | 88 | a, b, c, d = map(int, input().split)
ans = max(max(a*c, a*d), max(b*c, b*d))
print(ans)
| Traceback (most recent call last):
File "/tmp/tmpsecd8o8h/tmpstt8ihrk.py", line 1, in <module>
a, b, c, d = map(int, input().split)
^^^^^^^
EOFError: EOF when reading a line
| |
s862569985 | p02553 | u785697410 | 1600262853 | Python | PyPy3 (7.3.0) | py | Runtime Error | 91 | 74492 | 1324 | import sys
#from collections import deque
#from functools import *
#from fractions import Fraction as f
from copy import *
from bisect import *
#from heapq import *
#from math import ceil
#from itertools import permutations ,product
def eprint(*args):
print(*args, file=sys.stderr)
zz=0
#sys.setrecursionlimit(1... | Traceback (most recent call last):
File "/tmp/tmp4uxwxjg8/tmpoz4uf5qs.py", line 19, in <module>
sys.stdin=open('input.txt', 'r')
^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'input.txt'
| |
s120290980 | p02553 | u244841398 | 1600256467 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9136 | 353 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
num_listx = []
num_listy = []
for num in range(a,b + 1):
if num >= a:
num_listx.append(num)
for nums in range(c,d + 1):
if nums >= c:
num_listy.append(nums)
find_max = []
for i in range(len(num_listx)):
find_max.append(num_listx[i] * nu... | Traceback (most recent call last):
File "/tmp/tmp6u61b3bs/tmpmssb9aw6.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s923017973 | p02553 | u244841398 | 1600256358 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9224 | 287 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
num_listx = []
num_listy = []
for num in range(a,b + 1):
if num >= a:
num_listx.append(num)
for nums in range(c,d + 1):
if nums >= c:
num_listy.append(nums)
x = max(num_listx)
y = max(num_listy)
print(x*y) | Traceback (most recent call last):
File "/tmp/tmpxlbvfmcx/tmpqbsgn770.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s124304885 | p02553 | u244841398 | 1600255523 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9196 | 284 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
num_listx = []
num_listy = []
for num in range(b + 1):
if num >= a:
num_listx.append(num)
for nums in range(d + 1):
if nums >= c:
num_listy.append(nums)
x = max(num_listx)
y = max(num_listy)
print(x*y)
| Traceback (most recent call last):
File "/tmp/tmp_1li1lw7/tmphflprf7f.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s337613860 | p02553 | u244841398 | 1600255148 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9200 | 340 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
num_listx = []
num_listy = []
for num in range(b):
if num >= a:
num_listx.append(num)
for nums in range(d):
if nums >= c:
num_listy.append(nums)
find_max = []
for i in range(len(num_listx)):
find_max.append(num_listx[i] * num_listy[i])
... | Traceback (most recent call last):
File "/tmp/tmpacd3s1x3/tmpbw26_gpj.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s143255470 | p02553 | u244841398 | 1600254524 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9140 | 275 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
num_listx = []
num_listy = []
for num in range(b):
if num >= a:
num_listx.append(num)
for nums in range(d):
if nums >= c:
num_listy.append(nums)
x = max(num_listx)
y = max(num_listy)
print(x*y) | Traceback (most recent call last):
File "/tmp/tmpf8d2nlbb/tmpj4f3t18g.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s677487482 | p02553 | u244841398 | 1600254138 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8936 | 293 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
num_listx = []
num_listy = []
for num in range(b):
if num >= a and <= b:
num_listx.append(num)
for nums in range(d):
if nums >= c and <= d:
num_listy.append(nums)
x = max(num_listx)
y = max(num_listy)
print(x*y) | File "/tmp/tmp6wh9nsc9/tmp5hwdoe5d.py", line 10
if num >= a and <= b:
^^
SyntaxError: invalid syntax
| |
s857116909 | p02553 | u244841398 | 1600253948 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9092 | 271 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
num_listx = []
num_listy = []
for num in range(b):
if num >= a:
num_listx.append(num)
for nums in range(d):
if nums >= c:
num_listy.append(nums)
print(max(num_listx) * max(num_listy))
| Traceback (most recent call last):
File "/tmp/tmpnzeryiqw/tmpi6e0k25m.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s408138259 | p02553 | u244841398 | 1600253737 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8964 | 288 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
num_listx = []
num_listy = []
for num in range(b):
if num >= a and <= b:
num_listx.append(num)
for nums in range(d):
if nums >= c and <= d:
num_listy.append(nums)
print(max(num_listx) * max(num_listy)) | File "/tmp/tmpjjt8hn5k/tmp_ogvj41p.py", line 10
if num >= a and <= b:
^^
SyntaxError: invalid syntax
| |
s948493341 | p02553 | u192165179 | 1600237085 | Python | Python (3.8.2) | py | Runtime Error | 29 | 8940 | 105 | a,b,c,d = int(input())
l = list[]
l.append(a*c)
l.append(b*c)
l.append(a*d)
l.append(b*d)
print(max(l)) | File "/tmp/tmpkbz__xhh/tmp7byh3ter.py", line 3
l = list[]
^
SyntaxError: invalid syntax
| |
s830558120 | p02553 | u658600714 | 1600208632 | Python | PyPy3 (7.3.0) | py | Runtime Error | 88 | 74784 | 44 | n = int(input())
print(10**n-9**n-8**n-9**n) | Traceback (most recent call last):
File "/tmp/tmps_pxryux/tmp3suo7fbw.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s547260662 | p02553 | u451100851 | 1600205054 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9148 | 71 | a, b, c, d = [int(t) for t in input()]
print(max([b*d, a*c, a*d, b*d])) | Traceback (most recent call last):
File "/tmp/tmpq3zloq3e/tmpo5kx9yn_.py", line 1, in <module>
a, b, c, d = [int(t) for t in input()]
^^^^^^^
EOFError: EOF when reading a line
| |
s000930791 | p02553 | u451100851 | 1600205018 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9052 | 72 | a, b, c, d = [int(t) for t in input(t)]
print(max([b*d, a*c, a*d, b*d])) | Traceback (most recent call last):
File "/tmp/tmp2cf4fswi/tmpksuj2uxm.py", line 1, in <module>
a, b, c, d = [int(t) for t in input(t)]
^
NameError: name 't' is not defined
| |
s143846826 | p02553 | u006425112 | 1600202809 | Python | Python (3.8.2) | py | Runtime Error | 28 | 8884 | 85 | a, b, c, d = int(map(int, input().split()))
print(max(a*c, max(a*d, max(b*c, b*d))))
| Traceback (most recent call last):
File "/tmp/tmpbn6r82_3/tmpjzqna_ec.py", line 1, in <module>
a, b, c, d = int(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s454012629 | p02553 | u688203790 | 1600195836 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9096 | 215 | a,b,c,d = map(int,input().split())
ans = 0
numl = list(a,b)
numl2 = list(c,d)
for i in range(2):
for j in range(2):
zyou = numl[i] * numl2[j]
if ans < zyou:
ans = zyou
print(ans) | Traceback (most recent call last):
File "/tmp/tmpju11uqh_/tmpqw0nezr7.py", line 1, in <module>
a,b,c,d = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s750337741 | p02553 | u688203790 | 1600195711 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9108 | 204 | a,b,c,d = map(int,input().split())
ans = 0
numl = list(a,b)
numl2 = list(c,d)
for i in range(2):
for j in range(2):
zyou = numl[i] * numl2[j]
if ans < zyou:
ans = zyou
| Traceback (most recent call last):
File "/tmp/tmphwqkb7mh/tmptcvtdwqm.py", line 1, in <module>
a,b,c,d = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s459288110 | p02553 | u794274928 | 1600190789 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9152 | 183 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = a*b
f = a*c
g = b*c
h = b*d
li = []
li.append(e)
li.append(f)
li.append(g)
li.append(h)
li.sort()
print(li[3]) | Traceback (most recent call last):
File "/tmp/tmp8lnwsab6/tmpyznic6vk.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s675473496 | p02553 | u572193732 | 1600190342 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9024 | 70 | 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/tmphuu9mltb/tmp8sle4z1o.py", line 1, in <module>
a, b, c, d = map(int(input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s423208622 | p02553 | u776429183 | 1600182481 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8948 | 859 | a, b, c, d = input().split()
a=int(a)
b=int(b)
c=int(c)
d=int(d)
def m():
if -10^9 <= a <= b <=10^9 and :-10^9 <= c <= d <=10^9
if a>=0 and d<=0:
max=a*d
print(max)
elif a>=0 and c>=0:
max=b*d
print(max)
elif b<=0 and c>=0:
max=b*c
... | File "/tmp/tmptvmue2ja/tmpjmd4vw0z.py", line 7
if -10^9 <= a <= b <=10^9 and :-10^9 <= c <= d <=10^9
^
SyntaxError: invalid syntax
| |
s615509213 | p02553 | u776429183 | 1600181366 | Python | Python (3.8.2) | py | Runtime Error | 34 | 9012 | 321 | a, b, c, d = input().split()
a=int(a)
b=int(b)
c=int(c)
d=int(d)
def m():
if a>=0:and d<=0:
max=a*d
print(max)
elif a>=0 and c>=0:
max=b*d
print(max)
elif b<=0 and c>=0:
max=b*c
print(max)
elif b<=0 and d<=0:
max=a*c
print(max)
m()... | File "/tmp/tmp5uekcju3/tmp1ujobb5y.py", line 7
if a>=0:and d<=0:
^^^
SyntaxError: invalid syntax
| |
s194237686 | p02553 | u475189661 | 1600156582 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9044 | 54 | a,b,c,d = map(int,input())
print(max(a*c,a*d,b*c,b*d)) | Traceback (most recent call last):
File "/tmp/tmpvvoxin68/tmpq90wl8bv.py", line 1, in <module>
a,b,c,d = map(int,input())
^^^^^^^
EOFError: EOF when reading a line
| |
s779592955 | p02553 | u688203790 | 1600147724 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9172 | 174 | a,b,c,d = map(int,input().split())
ac = a*c
ad = a*d
bc = b*c
bd = b*d
che = list(ac,ad,bc,bd)
ans = 0
for i in range(4):
if ans < che[i]:
ans = che[i]
print(ans)
| Traceback (most recent call last):
File "/tmp/tmpwabidfwt/tmpfgllfrf9.py", line 1, in <module>
a,b,c,d = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s486320788 | p02553 | u969039414 | 1600118272 | Python | Python (3.8.2) | py | Runtime Error | 2192 | 3502260 | 410 | def main():
INP = list(map(int, input().split()))
list1 = [INP[0],INP[1]]
list2 = [INP[2],INP[3]]
if INP[0] < 0 and INP[1] > 0:
list1.append([-1,0,1])
if INP[2] < 0 and INP[3] > 0:
list2.append([-1,0,1])
ans = -(10**18)
for item in list1:
for item2 in list2:
... | Traceback (most recent call last):
File "/tmp/tmp8fj2i5bx/tmp5x6vfd7u.py", line 17, in <module>
main()
File "/tmp/tmp8fj2i5bx/tmp5x6vfd7u.py", line 2, in main
INP = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s690463724 | p02553 | u871709616 | 1600114167 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9164 | 114 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
ans = [a*c,a*d,b*c,b*d]
print(max(int(ans))) | Traceback (most recent call last):
File "/tmp/tmpfdovmc_9/tmpzcaru88x.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s655308156 | p02553 | u849029577 | 1600108984 | Python | PyPy3 (7.3.0) | py | Runtime Error | 90 | 74644 | 27 | -1000000000 0 -1000000000 0 | File "/tmp/tmpafz540bn/tmpz9vp_9tt.py", line 1
-1000000000 0 -1000000000 0
^
SyntaxError: invalid syntax
| |
s915946568 | p02553 | u015767468 | 1600105122 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9168 | 74 | a,b,c,d=[int(input()) for i in range(4)]
x=[a*b,a*c,b*d,b*c]
print(max(x)) | Traceback (most recent call last):
File "/tmp/tmplqnbabay/tmpp11l0bux.py", line 1, in <module>
a,b,c,d=[int(input()) for i in range(4)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmplqnbabay/tmpp11l0bux.py", line 1, in <listcomp>
a,b,c,d=[int(input()) for i in range(4)]
^^^^^^^... | |
s180430481 | p02553 | u954731369 | 1600104146 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9116 | 148 | inputs = map(int, input().split())
results = []
for i in (0, 1):
for j in (2, 3):
results.append(inputs[i] * inputs[j])
print(max(results))
| Traceback (most recent call last):
File "/tmp/tmp9c1cyip_/tmpqp5fcnty.py", line 1, in <module>
inputs = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s412388252 | p02553 | u954731369 | 1600104087 | Python | Python (3.8.2) | py | Runtime Error | 30 | 9092 | 147 | inputs = map(int, input().split())
results = []
for i in (0, 1):
for j in (2, 3):
reults.append(inputs[i] * inputs[j])
print(max(results))
| Traceback (most recent call last):
File "/tmp/tmpttq10v_h/tmpseffpsyw.py", line 1, in <module>
inputs = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s609598541 | p02553 | u111559399 | 1600101686 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9132 | 257 | a,b,c,d= map(int,imput().split())
if b>=0 and d>=0:
print(b*d)
elif b>=0 and d<0 and a>=0:
print(a*d)
elif b>=0 and d<0 and a<0:
print(a*c)
elif b<0 and d>=0 and c>=0:
print(b*c)
elif b<0 and d>=0 and c<0:
print(a*c)
else:
print(a*c) | Traceback (most recent call last):
File "/tmp/tmpvxj6p_cn/tmpxcdi73to.py", line 1, in <module>
a,b,c,d= map(int,imput().split())
^^^^^
NameError: name 'imput' is not defined. Did you mean: 'input'?
| |
s683591907 | p02553 | u109879985 | 1600098747 | Python | PyPy3 (7.3.0) | py | Runtime Error | 92 | 74184 | 73 | L=input().split()
a=L[0]
b=L[1]
c=L[2]
d=L[3]
print(max(a*c,b*d,a*d,b*c)) | Traceback (most recent call last):
File "/tmp/tmpq8_f09e4/tmperlzcpg7.py", line 1, in <module>
L=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s277204249 | p02553 | u974436134 | 1600093201 | Python | Python (3.8.2) | py | Runtime Error | 29 | 8908 | 83 | a, b, c, d = map(int, input().split())
a<=x<=b
c<=y<=d
print(max(int(x)*int(y)))
| Traceback (most recent call last):
File "/tmp/tmp48dw_6sg/tmpmyww59po.py", line 1, in <module>
a, b, c, d = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s709740379 | p02553 | u989892335 | 1600092200 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9180 | 98 | a=int(input())
b=int(input())
c=int(input())
d=int(input())
tmp=[a*c,a*d,b*c,b*d]
print(max(tmp))
| Traceback (most recent call last):
File "/tmp/tmpimdj8n_1/tmpptex0fao.py", line 1, in <module>
a=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s268509688 | p02553 | u989892335 | 1600091412 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9012 | 181 | a=int(input())
b=int(input())
c=int(input())
d=int(input())
if b>=0:
if d<0:
ans=a*d
else:
ans=b*d
elif b<0:
if d<0:
ans=a*c
else:
ans=b*d
print(ans) | Traceback (most recent call last):
File "/tmp/tmpfzwkuotw/tmp9x8_9pjd.py", line 1, in <module>
a=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s762056785 | p02553 | u208633734 | 1600090044 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8840 | 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) | File "/tmp/tmp5phk3z0t/tmpkob92uxs.py", line 4
x = for x in (a,b):
^^^
SyntaxError: invalid syntax
| |
s217932499 | p02553 | u034797454 | 1600086333 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8936 | 49 | a,b,c,d = map(input())
print max(a*c,a*d,b*c,b*d) | File "/tmp/tmp63bg6idd/tmpogq0_0ao.py", line 2
print max(a*c,a*d,b*c,b*d)
^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s076041372 | p02553 | u441565442 | 1600083029 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8844 | 55 | a,b,c,d=map(int,input().split())
print(max(a*c,a*d,b*c | File "/tmp/tmpa25ujxvy/tmplk4dipn9.py", line 3
print(max(a*c,a*d,b*c
^
SyntaxError: '(' was never closed
| |
s707031704 | p02553 | u055641210 | 1600077774 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9064 | 188 | import sys
args = sys.argv
a = args[1]
b = args[2]
c = args[3]
d = args[4]
aa = int(a)*int(c)
bb = int(a)*int(d)
cc = int(b)*int(c)
dd = int(b)*int(d)
li = [aa,bb,cc,dd]
print(max(li)) | Traceback (most recent call last):
File "/tmp/tmpace2mawy/tmpjczcg37y.py", line 4, in <module>
a = args[1]
~~~~^^^
IndexError: list index out of range
| |
s832558394 | p02553 | u055641210 | 1600077594 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9016 | 188 | import sys
args = sys.argv
a = args[1]
b = args[2]
c = args[3]
d = args[4]
aa = int(a)*int(c)
bb = int(a)*int(d)
cc = int(b)*int(c)
dd = int(b)*int(d)
li = [aa,bb,cc,dd]
print(max(li)) | Traceback (most recent call last):
File "/tmp/tmphvnlw3w6/tmpk5_p6mym.py", line 4, in <module>
a = args[1]
~~~~^^^
IndexError: list index out of range
| |
s748664011 | p02553 | u543000780 | 1600076738 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9100 | 55 | a,b,c,d = map(int, input())
print(max(a*c,a*d,b*c,b*d)) | Traceback (most recent call last):
File "/tmp/tmpfl68bswg/tmp3sy3b78a.py", line 1, in <module>
a,b,c,d = map(int, input())
^^^^^^^
EOFError: EOF when reading a line
| |
s138661705 | p02553 | u501409901 | 1600075883 | Python | PyPy3 (7.3.0) | py | Runtime Error | 88 | 74732 | 459 | if __name__ == '__main__':
x = [list(map(int, input().split())) for i in range(1)]
a = int(x[0][0])
b = int(x[0][1])
c = int(x[0][2])
d = int(x[0][3])
x = range(a, a + abs(a - b) + 1)
y = range(c, c + abs(c - d) + 1)
ans = -1000000000... | File "/tmp/tmpjukhum9h/tmpadtd4wil.py", line 1
if __name__ == '__main__':
IndentationError: unexpected indent
| |
s117258738 | p02553 | u385650604 | 1600071766 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8944 | 176 | #include<bits/stdc++.h>
using namespace std;
int main(){
long long a,b,c,d;
cin >>a >>b >>c >>d;
long long x,y;
x = max(a*c , b*d);
y = max(a*d, b*c);
x = max(x,y);
cout <<x;
} | File "/tmp/tmphv503ay3/tmpjav7m0dm.py", line 2
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s267709425 | p02553 | u359407952 | 1600071642 | Python | PyPy3 (7.3.0) | py | Runtime Error | 86 | 68724 | 87 | a=int(input())
b=int(input())
c=int(input())
d=int(input())
print(max(a*c,a*d,b*c,b*d)) | Traceback (most recent call last):
File "/tmp/tmphgxjgjg3/tmpe8goo2kd.py", line 1, in <module>
a=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s064317474 | p02553 | u153955689 | 1600067720 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8928 | 147 | a,b,c,d = map(int, input().split())
i = 0
for x in range(a, b+1):
for y in range(c, c+1):
x * y = z
if z >= i:
i = z
print(i)
| File "/tmp/tmptyz9lhx2/tmpchby67ag.py", line 5
x * y = z
^^^^^
SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
| |
s772846640 | p02553 | u974402118 | 1600067310 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9064 | 164 | a,b,c,d = int(input(),split())
ans = -float("inf")
xrange = range(a,b+1)
yrange = range(c,d+1)
for x in xrange:
for y in yrange:
if x*y > ans:
ans = x*y | Traceback (most recent call last):
File "/tmp/tmp_8oinfiq/tmph1w2hyuj.py", line 1, in <module>
a,b,c,d = int(input(),split())
^^^^^^^
EOFError: EOF when reading a line
| |
s346189621 | p02553 | u849151695 | 1600065076 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9016 | 838 | #include <bits/stdc++.h>
#define REP(i,n) for (int i = 0; i <(n); ++i)
#define REP2(i,x,n) for (int i = x; i <(n); ++i)
#define ALL(v) v.begin(), v.end()
#define RALL(v) v.rbegin(), v.rend()
using namespace std;
using ll = long long;
using P = pair<int,int>;
static const double PI = acos(-1);
static const int INF = 1e9... | File "/tmp/tmpkvqeo7fe/tmpf4ro6rpb.py", line 6
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s529699036 | p02553 | u929777289 | 1600062837 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9040 | 48 | values = [a*c, a*d, b*c, b*d]
print(max(values)) | Traceback (most recent call last):
File "/tmp/tmpygapv6b3/tmpj9ohf3x7.py", line 1, in <module>
values = [a*c, a*d, b*c, b*d]
^
NameError: name 'a' is not defined
| |
s374895183 | p02553 | u188228787 | 1600042335 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9020 | 81 | a, b, c, d = [int(x) for x in input().split(" ")]
print(max([a*c a*d, b*c, b*d])) | File "/tmp/tmpcigecve5/tmpr528g3ts.py", line 2
print(max([a*c a*d, b*c, b*d]))
^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s089644666 | p02553 | u188228787 | 1600042304 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8936 | 79 | a, b, c, d = [int(x) for x in input().split(" ")]
print(max(a*c a*d, b*c, b*d)) | File "/tmp/tmpywyvyjsv/tmpoidii6cz.py", line 2
print(max(a*c a*d, b*c, b*d))
^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s066085268 | p02553 | u188228787 | 1600042255 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8824 | 77 | a, b, c, d = [int(x) for x input().split(" ")]
print(max(a*c a*d, b*c, b*d))
| File "/tmp/tmp4xjt0ogb/tmp5dt6brh5.py", line 1
a, b, c, d = [int(x) for x input().split(" ")]
^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s654577616 | p02553 | u389058980 | 1600040644 | Python | Python (3.8.2) | py | Runtime Error | 2293 | 3009112 | 56 | a,b,c,d = map(int,input().split())
print(max(a,b)*(c,d)) | Traceback (most recent call last):
File "/tmp/tmp9f_5ur77/tmp4t_q39q3.py", line 1, in <module>
a,b,c,d = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s179659032 | p02553 | u991159676 | 1600034891 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8848 | 141 | in = input()
a,b,c,d = map(int,in)
output = []
for t in range(a,b+1):
for p in range(c,d+1):
output.append(t*p)
print(max(output))
| File "/tmp/tmp7mrtfele/tmpcyix8rag.py", line 1
in = input()
^^
SyntaxError: invalid syntax
| |
s565821371 | p02553 | u144969476 | 1600033236 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9196 | 262 | l=[int(x) for x in input().split()]
a=l[0]
b=l[0]
c=l[0]
d=l[0]
if a>0:
if d>0:
print(bd)
else:
print(ad)
elif b<0:
if c<0:
print(ac)
else:
print(bc)
else:
if d>0:
print(bd)
else:
print(ac) | Traceback (most recent call last):
File "/tmp/tmpoduq8b25/tmpameziszl.py", line 1, in <module>
l=[int(x) for x in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s135028669 | p02553 | u733496135 | 1600031403 | Python | PyPy3 (7.3.0) | py | Runtime Error | 260 | 74656 | 66 | a, b, c, d = map(int, imput().split())
print(max(a*c,a*d,b*d,b*c)) | Traceback (most recent call last):
File "/tmp/tmpbr665evr/tmps1j49mbc.py", line 1, in <module>
a, b, c, d = map(int, imput().split())
^^^^^
NameError: name 'imput' is not defined. Did you mean: 'input'?
| |
s915988772 | p02553 | u581022379 | 1600030447 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9316 | 2286 | N = int(input())
INF = 10 ** 9
y_min_pos = [INF, []]
x_min_pos = [INF, []]
y_max_pos = [0, []]
x_max_pos = [0, []]
for _ in range(N):
# print(x_min_pos, y_min_pos, y_max_pos, x_max_pos)
x, y = map(int, input().split())
if y <= y_min_pos[0]:
if y == y_min_pos[0]:
y_min_pos[1].append(x)
... | Traceback (most recent call last):
File "/tmp/tmpyrj7hqbw/tmplt2m6ixh.py", line 1, in <module>
N = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s519470526 | p02553 | u163320134 | 1600030019 | Python | Python (3.8.2) | py | Runtime Error | 34 | 8992 | 82 | ans=-10**18
if a<=0<=b or c<=0<=d:
ans=0
ans=max(ans,a*c,a*d,b*c,b*d)
print(ans) | Traceback (most recent call last):
File "/tmp/tmpdihsufi1/tmp4tr03pyx.py", line 2, in <module>
if a<=0<=b or c<=0<=d:
^
NameError: name 'a' is not defined
| |
s808316530 | p02553 | u605662776 | 1600029996 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9100 | 61 | 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/tmpatferegm/tmprx3ls7zn.py", line 1, in <module>
a,b,c,d=map(int(input()).split())
^^^^^^^
EOFError: EOF when reading a line
| |
s494233970 | p02553 | u513929200 | 1600029918 | Python | Python (3.8.2) | py | Runtime Error | 30 | 8948 | 67 | a,b,c,d = map(int, raw_input().split())
print(max(a*c,a*d,b*c,b*d)) | Traceback (most recent call last):
File "/tmp/tmpxp6_w5bo/tmpkffbptvx.py", line 1, in <module>
a,b,c,d = map(int, raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s299935171 | p02553 | u130076114 | 1600029831 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9088 | 45 | ans=max(max(a*c,a*d),max(b*c,b*d))
print(ans) | Traceback (most recent call last):
File "/tmp/tmpk6fph43t/tmpbepu4rv5.py", line 1, in <module>
ans=max(max(a*c,a*d),max(b*c,b*d))
^
NameError: name 'a' is not defined
| |
s245328700 | p02553 | u506422818 | 1600029830 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9088 | 68 | 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/tmpl73o49wq/tmpq982riq7.py", line 1, in <module>
a,b,c,d = map(int,input.split())
^^^^^^^^^^^
AttributeError: 'builtin_function_or_method' object has no attribute 'split'
| |
s751888118 | p02553 | u544397444 | 1600029761 | Python | Python (3.8.2) | py | Runtime Error | 30 | 8924 | 1025 | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using ll = long long... | File "/tmp/tmpsgkxrxwt/tmpxopmj4y7.py", line 13
using namespace std;
^^^^^^^^^
SyntaxError: invalid syntax
| |
s377494979 | p02553 | u130076114 | 1600029759 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9104 | 35 | ans=max(a*c,a*d,b*c,b*d)
print(ans) | Traceback (most recent call last):
File "/tmp/tmpy1fiuoje/tmpoqtu9o4e.py", line 1, in <module>
ans=max(a*c,a*d,b*c,b*d)
^
NameError: name 'a' is not defined
| |
s451638993 | p02553 | u341912569 | 1600029654 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9004 | 170 | a= int(input())
b= int(input())
c= int(input())
d= int(input())
e = a * c;
f = a * d;
g = b * c;
h = b * d;
if (e > f) f = e
if (g > h) h = g
if (f > h) h = f;
print(h)
| File "/tmp/tmpp8f9k5x2/tmpe2io8bmy.py", line 9
if (e > f) f = e
^
SyntaxError: invalid syntax
| |
s877955720 | p02553 | u465423770 | 1600029604 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9044 | 182 | import math
a, b, c, d = map(int, input().split())
ac = a * c
ad = a * d
bc = b * c
bd = b * d
ans_1 = math.max(ac,ad)
ans_2 = math.max(bc, bd)
ans = math.max(ans1_, ans2)
print(ans) | Traceback (most recent call last):
File "/tmp/tmp_o2thozs/tmpugkbevyw.py", line 2, in <module>
a, b, c, d = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s511668470 | p02553 | u605662776 | 1600029598 | Python | Python (3.8.2) | py | Runtime Error | 32 | 9080 | 74 | a,b,c,d=int(input().split())
print(max(abs(a),abs(b))*max(abs(c),abs(d)))
| Traceback (most recent call last):
File "/tmp/tmpwwcg7ohq/tmp0ojajqsd.py", line 1, in <module>
a,b,c,d=int(input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s826064136 | p02553 | u605662776 | 1600029559 | Python | Python (3.8.2) | py | Runtime Error | 29 | 9136 | 73 | a,b,c,d=int(input()).split()
print(max(abs(a),abs(b))*max(abs(c),abs(d))) | Traceback (most recent call last):
File "/tmp/tmpqof32sck/tmpxcfrfnne.py", line 1, in <module>
a,b,c,d=int(input()).split()
^^^^^^^
EOFError: EOF when reading a line
| |
s971378897 | p02553 | u270086843 | 1600029551 | Python | Python (3.8.2) | py | Runtime Error | 2309 | 3036552 | 349 | a,b,c,d=(int(z) for z in input().split())
xcalc = 0
ycalc = 0
if -10**9 <= a <= xcalc <= b <= 10**9:
xcalc = list(range(a,b))
if -10**9 <= c <= ycalc <= d<= 10**9:
ycalc = list(range(c,d))
for i in range(len(xcalc)):
for j in range(len(ycalc)):
if max1 < i and max2 <j:
max = max1 * max2... | Traceback (most recent call last):
File "/tmp/tmpd4m1oay_/tmp1niq9yy1.py", line 1, in <module>
a,b,c,d=(int(z) for z in input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s238229771 | p02553 | u060012100 | 1600029441 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9144 | 95 | a,b,c,d = map(int, input().split())
n1 = a * c
n2 = bd
n3 = cb
n4 = d*a
print(max(n1,n2,n3,n4)) | Traceback (most recent call last):
File "/tmp/tmpfeqdk5vc/tmp4wtnlf_z.py", line 1, in <module>
a,b,c,d = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s081555060 | p02553 | u513929200 | 1600029426 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8880 | 206 | a,b,c,d = map(raw_input().split())
m = a*c
n = a*d
o = b*c
p = b*d
if(m>n and m>o and m>p):
print(m)
elif (n>m and n>o and n>p):
print(n)
elif (o> m and o>n and o>p):
print(o)
else:
print(p) | Traceback (most recent call last):
File "/tmp/tmptco_ooe_/tmprddk81sd.py", line 1, in <module>
a,b,c,d = map(raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s284346352 | p02553 | u939597971 | 1600029349 | Python | Python (3.8.2) | py | Runtime Error | 2332 | 3050336 | 250 | x = map(int,input().split())
list1 = list(x)
list2 = list(range(list1[0],list1[1]+1 ))
list3 = list(range(list1[2],list1[3]+1 ))
list4 = [min(list2)*min(list3),min(list2)*max(list3),max(list2)*min(list3),max(list2)*max(list3)]
a = max(list4)
print(a) | Traceback (most recent call last):
File "/tmp/tmps00jauh9/tmp8x9lro9x.py", line 1, in <module>
x = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s280281925 | p02553 | u060012100 | 1600029340 | Python | Python (3.8.2) | py | Runtime Error | 27 | 9168 | 95 | a,b,c,d = map(int, input().split())
n1 = a * c
n2 = bd
n3 = cb
n4 = d*a
print(max(n1,n2,n3,n4)) | Traceback (most recent call last):
File "/tmp/tmp9c2y399o/tmpiyima428.py", line 1, in <module>
a,b,c,d = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s114910538 | p02553 | u513929200 | 1600029262 | Python | Python (3.8.2) | py | Runtime Error | 30 | 9008 | 212 | a,b,c,d = map(int, raw_input().split())
m = a*c
n = a*d
o = b*c
p = b*d
if(m>n and m>o and m>p):
print(m)
elif (n>m and n>o and n>p):
print(n)
elif (o> m and o>n and o>p):
print(o)
else:
print(p)
| Traceback (most recent call last):
File "/tmp/tmp4k_0ennl/tmp7f2273sk.py", line 1, in <module>
a,b,c,d = map(int, raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s232266983 | p02553 | u477638578 | 1600029109 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9012 | 215 | a,b,c,d=map(int, input().split())
if (max(a,b)>= and max(c,d)>=0) or (max(a,b)<=0 and max(c,d)<=0):
print(max(a,b)*max(c,d))
else:
if max(a,b)<0:
print(max(a,b)*min(c,d))
else:
print(min(a,b)*max(c,d)) | File "/tmp/tmpshqsd4vn/tmpefvfryqp.py", line 2
if (max(a,b)>= and max(c,d)>=0) or (max(a,b)<=0 and max(c,d)<=0):
^^^
SyntaxError: invalid syntax
| |
s588207228 | p02553 | u270086843 | 1600029060 | Python | Python (3.8.2) | py | Runtime Error | 31 | 9124 | 322 | a,b,c,d=(int(z) for z in input().split())
if -10**9 <= a <= x <= b <= 10**9:
xcalc = list(range(a,b))
if -10**9 <= c <= y <= d<= 10**9:
ycalc = list(range(c,d))
for i in range(len(xcalc)):
for j in range(len(ycalc)):
if max1 < i and max2 <j:
max = max1 * max2
break
print(ma... | Traceback (most recent call last):
File "/tmp/tmp05op3_tn/tmpaswc7qvs.py", line 1, in <module>
a,b,c,d=(int(z) for z in input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s696730364 | p02553 | u750712894 | 1600029022 | Python | PyPy3 (7.3.0) | py | Runtime Error | 105 | 68740 | 517 | a,b,c,d = map(int,input().split())
if a < 0 and b < 0 :
if c <= 0 :
print(a*c)
else :
print(b*c)
elif a < 0 and b == 0:
if c <= 0:
print(a*c)
else :
print(b*c)
elif a < 0 and b > 0 :
if d<=0 :
print(a*c)
else :
if a * c < b * d :
print(b*d)
... | File "/tmp/tmpee2bjwzu/tmpq55keyz4.py", line 19
else :
^^^^
SyntaxError: invalid syntax
| |
s485996503 | p02553 | u233932118 | 1600028984 | Python | Python (3.8.2) | py | Runtime Error | 32 | 9236 | 377 | a,b,c,d = map(int,input().split())
if a>=0 and c>=0:
(x,y) = (b,d)
elif a<0 and b>=0 and c>=0:
(x,y) = (b,d)
elif a>=0 and c<0 and d>=0:
(x,y) = (b,d)
elif b<0 and c>=0:
(x,y) = (b,c)
elif a>=0 and d<0:
(x,y) = (a,d)
elif b<0 and c<0 and d>=0:
(x,y) = (a,c)
elif a<0 and b>=0 and d<0:
(x,y) ... | Traceback (most recent call last):
File "/tmp/tmpr5yc2fft/tmpre1prd_o.py", line 1, in <module>
a,b,c,d = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s160951593 | p02553 | u939597971 | 1600028934 | Python | Python (3.8.2) | py | Runtime Error | 2311 | 3235692 | 250 | x = map(int,input().split())
list1 = list(x)
list2 = list(range(list1[0],list1[1]+1 ))
list3 = list(range(list1[2],list1[3]+1 ))
list4 = [min(list2)*min(list3),min(list2)*max(list3),max(list2)*min(list3),max(list2)*max(list3)]
a = max(list4)
print(a) | Traceback (most recent call last):
File "/tmp/tmpt89a7xam/tmpvrqyfm83.py", line 1, in <module>
x = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s376896277 | p02553 | u270086843 | 1600028879 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9064 | 320 | a,b,c,d=(int(z) for z in input().split())
if -10**9 <= a <= x <= b <= 10**9:
xcalc = list(range(a,b))
if -10**9 <= c <= y <= d<= 10**9:
ycalc = list(range(c,d))
for i in range(len(xcalc))
for j in range(len(ycalc))
if max1 < i and max2 <j:
max = max1 * max2
break
print(max) | File "/tmp/tmp22k02mdm/tmpls95wm9t.py", line 8
for i in range(len(xcalc))
^
SyntaxError: expected ':'
| |
s874658935 | p02553 | u924241064 | 1600028822 | Python | PyPy3 (7.3.0) | py | Runtime Error | 109 | 74464 | 354 | a, b, c, d = map(int,input().split())
if b < 0 and d < 0:
print(a*c)
elif a > 0 and b > 0 and d < 0:
print(a*d)
elif 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 d < 0:
print(a*c)
elif a > 0, c > 0:
print(b*d)
elif b < 0... | File "/tmp/tmpof7tpnf0/tmpsuouay65.py", line 18
elif a > 0, c > 0:
^
SyntaxError: invalid syntax
| |
s188471864 | p02553 | u924241064 | 1600028762 | Python | PyPy3 (7.3.0) | py | Runtime Error | 104 | 68588 | 349 | a, b, c, d = map(int,input().split())
if b < 0 and d < 0:
print(a*c)
elif a > 0 and b > 0 and d < 0:
print(a*d)
elif 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 d < 0:
print(a*c)
elif a > 0, c > 0:
print(b*d)
elif b < 0... | File "/tmp/tmpam8zrmbv/tmpoza9tvbm.py", line 18
elif a > 0, c > 0:
^
SyntaxError: invalid syntax
| |
s234758368 | p02553 | u992455162 | 1600028761 | Python | Python (3.8.2) | py | Runtime Error | 31 | 9148 | 451 | n = list(map(int,input().split()))
x = False
y = False
if max(n[0],n[1]) < 0:
x = True
if max(n[2],n[3]) < 0:
y = True
if n[1] > 0:
if n[3] > 0:
ans = n[1] * n[3]
else:
if n[0] < 0:
ans = n[0] * n[2]
else:
ans = n[0] * n[3]
elif n[3] > 0:
if n[... | Traceback (most recent call last):
File "/tmp/tmp70_e1i21/tmpwhmnfgmk.py", line 1, in <module>
n = list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s295328934 | p02553 | u955653863 | 1600028726 | Python | Python (3.8.2) | py | Runtime Error | 32 | 8780 | 81 | a b c d = list(map(int, input().split()))
x < b
x > a
y < d
y > c
print(max(x*y)) | File "/tmp/tmpqhxxvyct/tmpthrynkhb.py", line 1
a b c d = list(map(int, input().split()))
^
SyntaxError: invalid syntax
| |
s063881753 | p02553 | u233932118 | 1600028682 | Python | Python (3.8.2) | py | Runtime Error | 31 | 9156 | 387 | a,b,c,d = map(int,input().split())
if a>=0 and c>=0:
(x,y) = (b,d)
elif a<=0 and b>=0 and c>=0:
(x,y) = (b,d)
elif a>=0 and c<=0 and d>=0:
(x,y) = (b,d)
elif b<=0 and c>=0:
(x,y) = (b,c)
elif a>=0 and d<=0:
(x,y) = (a,d)
elif b<=0 and c<=0 and d>=0:
(x,y) = (a,c)
elif a<=0 and b>=0 and d<=0:
... | Traceback (most recent call last):
File "/tmp/tmp6nhba2jd/tmpsflwuwi5.py", line 1, in <module>
a,b,c,d = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s445313341 | p02553 | u233932118 | 1600028562 | Python | Python (3.8.2) | py | Runtime Error | 31 | 9236 | 386 | a,b,c,d = map(int,input().split())
if a>=0 and c>=0:
(x,y) = (b,d)
elif a<=0 and b>=0 and c>=0:
(x,y) = (b,d)
elif a>=0 and c<=0 and d>=0:
(x,y) = (b,d)
elif b<~0 and c>=0:
(x,y) = (b,c)
elif a>=0 and d<=0:
(x,y) = (a,d)
elif b<=0 and c<=0 and d>=0:
(x,y) = (a,c)
elif a<=0 and b>=0 and d<=0:
... | Traceback (most recent call last):
File "/tmp/tmp7g9f9iu5/tmp1ztygc1a.py", line 1, in <module>
a,b,c,d = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s588760967 | p02553 | u243815850 | 1600028532 | Python | Python (3.8.2) | py | Runtime Error | 2098 | 3532012 | 211 | import numpy as np
num = list(map(int, input().split()))
a,b,c,d = num[0],num[1],num[2],num[3]
A = np.arange(a,b+1).reshape(1,-1)
B = np.tile(np.arange(c, d+1), (len(A),1))
m = np.matmul(A.T, B)
print(np.max(m)) | Traceback (most recent call last):
File "/tmp/tmpm89h2h0l/tmpvv3kqb15.py", line 2, in <module>
num = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s597328948 | p02553 | u513929200 | 1600028390 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9120 | 212 | a,b,c,d = map(int, raw_input().split())
m = a*c
n = a*d
o = b*c
p = b*d
if(m>n and m>o and m>p):
print(m)
elif (n>m and n>o and n>p):
print(n)
elif (o> m and o>n and o>p):
print(o)
else:
print(p)
| Traceback (most recent call last):
File "/tmp/tmp9u73l8am/tmpd89j6iin.py", line 1, in <module>
a,b,c,d = map(int, raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s306093095 | p02553 | u513929200 | 1600028329 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9144 | 212 | a,b,c,d = map(int, raw_input().split())
m = a*c
n = a*d
o = b*c
p = b*d
if(m>n and m>o and m>p):
print(m)
elif (n>m and n>o and n>p):
print(n)
elif (o> m and o>n and o>p):
print(o)
else:
print(p)
| Traceback (most recent call last):
File "/tmp/tmpv54drcp4/tmpzp9_wh56.py", line 1, in <module>
a,b,c,d = map(int, raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s272268308 | p02553 | u939597971 | 1600028293 | Python | Python (3.8.2) | py | Runtime Error | 2315 | 2997804 | 232 | x = map(int,input().split())
list1 = list(x)
list2 = list(range(list1[0],list1[1]+1 ))
list3 = list(range(list1[2],list1[3]+1 ))
list4 = []
for i in list2:
for l in list3:
list4_a = list4.append(l*i)
a = max(list4)
print(a)
| Traceback (most recent call last):
File "/tmp/tmptoh8mzr9/tmpep6ok_h4.py", line 1, in <module>
x = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s915940223 | p02553 | u309147468 | 1600028276 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8896 | 433 | a, b, c, d = [int(x) for x in input().split()]
max_i = -10**9 - 1
max_j = -10**9 - 1
min_i = 10**9 + 1
min_j = 10**9 + 1
for i in range(a, b+1):
if i > max_i:
max_i = i
if i < min_i:
min_i = i
for j in range(c, d+1):
if j > max_j:
max_j = j
if j < min_j:
min_j = j
... | File "/tmp/tmpwlz187ng/tmpn7xs0ppt.py", line 1
a, b, c, d = [int(x) for x in input().split()]
IndentationError: unexpected indent
| |
s893428258 | p02553 | u275893569 | 1600028249 | Python | Python (3.8.2) | py | Runtime Error | 2307 | 3092668 | 232 | a,b,c,d=(int(x) for x in input().split())
x = range(a,b+1)
y = range(c,d+1)
X = list(x)
Y = list(y)
max = X[0] * Y[0]
for i in range(1, len(X)):
for j in range(1, len(Y)):
if max < X[i] * Y[j]:
max = X[i] * Y[j]
print(max) | Traceback (most recent call last):
File "/tmp/tmp_tyhhem0/tmp_r3xdszr.py", line 1, in <module>
a,b,c,d=(int(x) for x in input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s978045579 | p02553 | u006738234 | 1600028034 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9044 | 284 | a,b,c,d = map(int,input().split())
if(a >= 0 and d <= 0):
print(a*d)
elif(b<= 0 and d <= 0):
print(a*c)
elif((b <= 0 and c >= 0) or (b > 0 and d < 0)):
print(b*c)
elif((b > 0 and c > 0):
print(b*d)
elif(a*c > a*d):
print(a*c)
elif(a*c < a*d):
print(a*d)
| File "/tmp/tmpm9hoyuox/tmpa1ra9niv.py", line 9
elif((b > 0 and c > 0):
^
SyntaxError: invalid syntax
| |
s293819764 | p02553 | u924241064 | 1600027883 | Python | PyPy3 (7.3.0) | py | Runtime Error | 116 | 68700 | 288 | a, b, c, d = int(input().split())
if b < 0 and d < 0:
print(a*c)
elif a > 0 and b > 0 and d < 0:
print(a*d)
elif 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 d < 0
print(a*c)
else:
print(b*d) | File "/tmp/tmpeb5gx08q/tmp3f_jda44.py", line 15
elif a < 0 and b > 0 and d < 0
^
SyntaxError: expected ':'
| |
s935364016 | p02553 | u371712262 | 1600027875 | Python | Python (3.8.2) | py | Runtime Error | 30 | 9188 | 173 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
aa = a*c
bb = a*d
cc = b*c
dd = b*d
m = aa
if(m<bb):
m = bb
if(m<cc):
m = cc
if(m<dd):
m = dd
print(m) | Traceback (most recent call last):
File "/tmp/tmp03hh7h5m/tmpo46_oxfh.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s588510522 | p02553 | u939597971 | 1600027785 | Python | Python (3.8.2) | py | Runtime Error | 2316 | 3071948 | 231 | x = map(int,input().split())
list1 = list(x)
list2 = list(range(list1[0],list1[1]+1 ))
list3 = list(range(list1[2],list1[3]+1 ))
list4 = []
for i in list2:
for l in list3:
list4_a = list4.append(l*i)
a = max(list4)
print(a) | Traceback (most recent call last):
File "/tmp/tmpj5e5pfhx/tmpbmnd_xf3.py", line 1, in <module>
x = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.