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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s306358039 | p00202 | u032662562 | 1519308235 | Python | Python3 | py | Runtime Error | 0 | 0 | 2309 | # -*- coding: utf-8 -*-
import pdb
import sys,math,time
#Debug=True
Debug=False
nmax=1000000
#unit_cost = [500,305,260,129]
#total_cost = 15000
#unit_cost = [12,9,5]
#total_cost = 200909
unit_cost = []
total_cost=0
primes=[]
pmax=-1
dic = {2:True,3:True}
def prime3(n):
global dic
if n in dic:
return(d... | Traceback (most recent call last):
File "/tmp/tmp04pzv134/tmpc5ytz2on.py", line 93, in <module>
main()
File "/tmp/tmp04pzv134/tmpc5ytz2on.py", line 64, in main
m, total_cost = list(map(int, fh.readline().strip().split()))
^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 0)
| |
s371597075 | p00202 | u032662562 | 1519346154 | Python | Python3 | py | Runtime Error | 0 | 0 | 2309 | # -*- coding: utf-8 -*-
import pdb
import sys,math,time
#Debug=True
Debug=False
nmax=1000000
#unit_cost = [500,305,260,129]
#total_cost = 15000
#unit_cost = [12,9,5]
#total_cost = 200909
unit_cost = []
total_cost=0
primes=[]
pmax=-1
dic = {2:True,3:True}
def prime3(n):
global dic
if n in dic:
return(d... | Traceback (most recent call last):
File "/tmp/tmp8ghx356x/tmpppmp4ruf.py", line 93, in <module>
main()
File "/tmp/tmp8ghx356x/tmpppmp4ruf.py", line 64, in main
m, total_cost = list(map(int, fh.readline().strip().split()))
^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 0)
| |
s221745652 | p00202 | u032662562 | 1519346343 | Python | Python3 | py | Runtime Error | 0 | 0 | 2205 | # -*- coding: utf-8 -*-
import sys,math,time
#Debug=True
Debug=False
nmax=1000000
unit_cost = []
total_cost=0
primes=[]
pmax=-1
dic = {2:True,3:True}
def prime3(n):
global dic
if n in dic:
return(dic[n])
else:
if n % 2==0:
return False
while True:
for i in r... | Traceback (most recent call last):
File "/tmp/tmp9_a62ic1/tmp38ngcsp2.py", line 88, in <module>
main()
File "/tmp/tmp9_a62ic1/tmp38ngcsp2.py", line 59, in main
m, total_cost = list(map(int, fh.readline().strip().split()))
^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 0)
| |
s968471310 | p00202 | u032662562 | 1519346428 | Python | Python3 | py | Runtime Error | 0 | 0 | 2203 | # -*- coding: utf-8 -*-
import sys,math
#Debug=True
Debug=False
nmax=1000000
unit_cost = []
total_cost=0
primes=[]
pmax=-1
dic = {2:True,3:True}
def prime3(n):
global dic
if n in dic:
return(dic[n])
else:
if n % 2==0:
return False
while True:
for i in range(... | Traceback (most recent call last):
File "/tmp/tmpdq8ut8gs/tmp3ub0npr2.py", line 88, in <module>
main()
File "/tmp/tmpdq8ut8gs/tmp3ub0npr2.py", line 59, in main
m, total_cost = list(map(int, fh.readline().strip().split()))
^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 0)
| |
s631716471 | p00202 | u032662562 | 1519483093 | Python | Python3 | py | Runtime Error | 0 | 0 | 1347 | # -*- coding: utf-8 -*-
import sys
from math import sqrt, ceil
#Debug=True
Debug=False
nmax=1000000
nmax1=nmax+1
def nums(unit_cost, total_cost):
cand = [True if i==0 else False for i in range(total_cost+1)]
for i in range(total_cost+1):
if cand[i]:
for j in unit_cost:
if i +... | Traceback (most recent call last):
File "/tmp/tmpx4rgt1jp/tmpaesgaojm.py", line 58, in <module>
main()
File "/tmp/tmpx4rgt1jp/tmpaesgaojm.py", line 39, in main
m, total_cost = list(map(int, fh.readline().strip().split()))
^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 0)
| |
s705953996 | p00202 | u032662562 | 1519483988 | Python | Python3 | py | Runtime Error | 0 | 0 | 1393 | # -*- coding: utf-8 -*-
import sys
from math import sqrt, ceil
#Debug=True
Debug=False
nmax=1000000
nmax1=nmax+1
def nums(unit_cost, total_cost):
cand = [True if i==0 else False for i in range(total_cost+1)]
for i in range(total_cost+1):
if cand[i]:
for j in unit_cost:
if i +... | Traceback (most recent call last):
File "/tmp/tmp6_ac35u3/tmpomual9y4.py", line 60, in <module>
main()
File "/tmp/tmp6_ac35u3/tmpomual9y4.py", line 39, in main
m, total_cost = list(map(int, fh.readline().strip().split()))
^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 0)
| |
s249066665 | p00202 | u032662562 | 1519546334 | Python | Python | py | Runtime Error | 0 | 0 | 1394 | # -*- coding: utf-8 -*-
import sys,time
from math import sqrt, ceil
range=xrange
#Debug=True
Debug=False
nmax=1000000
nmax1=nmax+1
def nums(unit_cost, total_cost):
cand = [True if i==0 else False for i in range(total_cost+1)]
for i in range(total_cost+1):
if cand[i]:
for j in unit_cost:
... | Traceback (most recent call last):
File "/tmp/tmp0tq56zwu/tmp4zh73a7g.py", line 4, in <module>
range=xrange
^^^^^^
NameError: name 'xrange' is not defined. Did you mean: 'range'?
| |
s194255898 | p00202 | u019169314 | 1528786819 | Python | Python3 | py | Runtime Error | 0 | 0 | 629 | N=1000000
isPrime = [False,False]+[True]*(N-2)
isPrime[4::2] = [False]*len(isPrime[4::2])
for i in range(3,1000,2):
if isPrime[i]:
isPrime[2*i::i] = [False]*len(isPrime[2*i::i])
while True:
n,g = [int(i) for i in input().split()]
prices = [int(input()) for i in range(n)]
if n==0: break
isP... | Traceback (most recent call last):
File "/tmp/tmpk2pa262d/tmpfqrlodz3.py", line 10, in <module>
n,g = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s032774376 | p00202 | u019169314 | 1528787618 | Python | Python3 | py | Runtime Error | 0 | 0 | 638 | N=1000000
isPrime = [False,False]+[True]*(N-2)
isPrime[4::2] = [False]*len(isPrime[4::2])
for i in range(3,1000,2):
if isPrime[i]:
isPrime[2*i::i] = [False]*len(isPrime[2*i::i])
while True:
n,g = [int(i) for i in input().split()]
prices = [int(input()) for i in range(n)]
if n==0 and g==0: brea... | Traceback (most recent call last):
File "/tmp/tmpr0af1y1a/tmp_5d_rdto.py", line 10, in <module>
n,g = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s231915136 | p00202 | u019169314 | 1528803873 | Python | Python3 | py | Runtime Error | 0 | 0 | 640 | N=1000000
isPrime = [False,False]+[True]*(N-2)
isPrime[4::2] = [False]*len(isPrime[4::2])
for i in range(3,1000,2):
if isPrime[i]:
isPrime[2*i::i] = [False]*len(isPrime[2*i::i])
while True:
n,g = [int(i) for i in input().split()]
prices = [int(input()) for i in range(n)]
if n==0 and g == 0: br... | Traceback (most recent call last):
File "/tmp/tmpf0tda_nj/tmpyn3k3_nw.py", line 10, in <module>
n,g = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s402161807 | p00202 | u019169314 | 1528808071 | Python | Python3 | py | Runtime Error | 0 | 0 | 565 | isPrime = [False,False]+[True]*(1000000-2)
isPrime[4::2] = [False]*len(isPrime[4::2])
for i in range(3,1000,2):
if isPrime[i]:
isPrime[2*i::i] = [False]*len(isPrime[2*i::i])
while True:
n,x = [int(i) for i in input().split()]
if n==0: break
prices = [int(input()) for i in range(n)]
isPayabl... | Traceback (most recent call last):
File "/tmp/tmpjf2n1qjq/tmp0pf6mf4h.py", line 8, in <module>
n,x = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s912524687 | p00202 | u019169314 | 1528808330 | Python | Python3 | py | Runtime Error | 0 | 0 | 567 | isPrime = [False,False]+[True]*(1000000-2)
isPrime[4::2] = [False]*len(isPrime[4::2])
for i in range(3,1000,2):
if isPrime[i]:
isPrime[2*i::i] = [False]*len(isPrime[2*i::i])
while True:
n,x = [int(i) for i in input().split()]
if n==0: break
prices = [int(input()) for i in range(n)]
isPayabl... | Traceback (most recent call last):
File "/tmp/tmp19jlri3d/tmp0g6c9f1e.py", line 8, in <module>
n,x = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s496475884 | p00202 | u019169314 | 1528866506 | Python | Python3 | py | Runtime Error | 0 | 0 | 567 | isPrime = [False,False]+[True]*(1000000-2)
isPrime[4::2] = [False]*len(isPrime[4::2])
for i in range(3,1000,2):
if isPrime[i]:
isPrime[2*i::i] = [False]*len(isPrime[2*i::i])
while True:
n,x = [int(i) for i in input().split()]
if n==0: break
prices = [int(input()) for i in range(n)]
isPayabl... | Traceback (most recent call last):
File "/tmp/tmpysr344s3/tmpbo12w6nh.py", line 8, in <module>
n,x = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s142626256 | p00202 | u019169314 | 1528866979 | Python | Python3 | py | Runtime Error | 0 | 0 | 604 | while True:
n,x = [int(i) for i in input().split()]
if n==0: break
prices = [int(input()) for i in range(n)]
isPrime = [False,False]+[True]*(x-1) # x+1
isPrime[4::2] = [False]*len(isPrime[4::2])
for i in range(3,int(x**0.5)+1,2):
if isPrime[i]:
isPrime[2*i::i] = [False]*len(... | Traceback (most recent call last):
File "/tmp/tmp0x3acj9a/tmp5hb_lr44.py", line 2, in <module>
n,x = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s365962816 | p00202 | u019169314 | 1528867316 | Python | Python3 | py | Runtime Error | 0 | 0 | 592 | isPrime = [False,False]+[True]*(1000000)
isPrime[4::2] = [False]*len(isPrime[4::2])
for i in range(3,1000,2):
if isPrime[i]:
isPrime[2*i::i] = [False]*len(isPrime[2*i::i])
while True:
n,x = [int(i) for i in input().split()]
if n==0: break
prices = [int(input()) for i in range(n)]
isPayable ... | Traceback (most recent call last):
File "/tmp/tmpjo79_4e2/tmpjpg8rjjm.py", line 8, in <module>
n,x = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s203432247 | p00202 | u019169314 | 1528867565 | Python | Python3 | py | Runtime Error | 0 | 0 | 650 | isPrime = [False,False]+[True]*(1000000)
isPrime[4::2] = [False]*len(isPrime[4::2])
for i in range(3,1000,2):
if isPrime[i]:
isPrime[2*i::i] = [False]*len(isPrime[2*i::i])
while True:
n,x = [int(i) for i in input().split()]
if n==0: break
prices = [int(input()) for i in range(n)]
isPayable ... | Traceback (most recent call last):
File "/tmp/tmpxcu5ivb1/tmp7lbe0ac2.py", line 8, in <module>
n,x = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s369252890 | p00202 | u019169314 | 1528869173 | Python | Python3 | py | Runtime Error | 0 | 0 | 745 | isPrime = [False,False]+[True]*(1000000-1) # 1,000,001
isPrime[4::2] = [False]*len(isPrime[4::2])
for i in range(3,1000,2):
if isPrime[i]:
isPrime[2*i::i] = [False]*len(isPrime[2*i::i])
while True:
# n,x = [int(i) for i in input().split()]
n,x = list(map(int, input().split()))
if n==0 and x==0:... | Traceback (most recent call last):
File "/tmp/tmpjtu5v_22/tmpjc6n_mf4.py", line 9, in <module>
n,x = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s768152922 | p00202 | u019169314 | 1528870227 | Python | Python3 | py | Runtime Error | 0 | 0 | 522 | isPrime = [False, True] * 500000
isPrime[1:3] = [False, True]
for i in range(3, 1000, 2):
if isPrime[i]:
isPrime[2 * i::i] = [False] * len(isPrime[2 * i::i])
while True:
n, x = [int(i) for i in input().split()]
if n == 0: break
prices = [int(input()) for i in range(n)] # n
isPayable = [True] + [False] * x # x... | Traceback (most recent call last):
File "/tmp/tmpl0oohuln/tmplp8r6goe.py", line 8, in <module>
n, x = [int(i) for i in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
s339638918 | p00202 | u019169314 | 1528875694 | Python | Python3 | py | Runtime Error | 0 | 0 | 609 | isPrime = [False,True]*500000 # len:1,000,000
isPrime[1:3] = [False,True]
for i in range(3,1000,2):
if isPrime[i]:
isPrime[i*i::2*i] = [False]*len(isPrime[i*i::2*i])
n,x = map(int, input().split())
while n!=0:
prices = [int(input()) for i in range(n)] # len:n
isPayable = [False]*(x+1) # len:x+1
... | Traceback (most recent call last):
File "/tmp/tmp7qlf5m4r/tmpfdnjfsan.py", line 7, in <module>
n,x = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s438098432 | p00202 | u019169314 | 1528876514 | Python | Python3 | py | Runtime Error | 0 | 0 | 683 | isPrime = [False,True]*500000 # len:1,000,000
isPrime[1:3] = [False,True]
for i in range(3,1000,2):
if isPrime[i]:
isPrime[i*i::2*i] = [False]*len(isPrime[i*i::2*i])
while True:
# n,x = [int(i) for i in input().split()]
n,x = map(int, input().split())
if n==0 and x==0:
import sys
... | Traceback (most recent call last):
File "/tmp/tmp5lot5tmv/tmpw7vn9may.py", line 9, in <module>
n,x = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s900595874 | p00202 | u019169314 | 1528876760 | Python | Python3 | py | Runtime Error | 0 | 0 | 618 | isPrime = [False,True]*500000 + [True] # len:1,000,000
isPrime[1:3] = [False,True]
for i in range(3,1000,2):
if isPrime[i]:
isPrime[i*i::2*i] = [False]*len(isPrime[i*i::2*i])
n,x = map(int, input().split())
while n!=0:
prices = [int(input()) for i in range(n)] # len:n
isPayable = [False]*(x+1) # le... | Traceback (most recent call last):
File "/tmp/tmpwkr73c68/tmpf9cmineh.py", line 7, in <module>
n,x = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s158627737 | p00202 | u019169314 | 1528877397 | Python | Python3 | py | Runtime Error | 0 | 0 | 626 | isPrime = [False,True]*500000+[False] # len:1,000,001
isPrime[1:3] = [False,True]
for i in range(3,1000,2):
if isPrime[i]:
isPrime[i*i::2*i] = [False]*len(isPrime[i*i::2*i])
while True:
n,x = map(int, input().split())
if n==0 and x==0:
break
prices = [int(input()) for i in range(n)] # l... | Traceback (most recent call last):
File "/tmp/tmpzfjc03ke/tmpd387pw1s.py", line 8, in <module>
n,x = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s187125762 | p00202 | u847467233 | 1529982975 | Python | Python3 | py | Runtime Error | 0 | 0 | 666 | # AOJ 0202: At Boss's Expense
# Python3 2018.6.26 bal4u
MAX = 1000000
SQRT = 1000 # sqrt(MAX)
not_prime = [0]*MAX
def sieve():
for i in range(3, SQRT, 2):
if not_prime[i] == 0:
for j in range(i*i, MAX, i): not_prime[j] = 1
sieve()
while True:
n, x = map(int, input().split())
if n == 0: break
mk, v = [0]... | Traceback (most recent call last):
File "/tmp/tmpexw4fs_y/tmpy8w1zoxs.py", line 15, in <module>
n, x = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s807785750 | p00202 | u847467233 | 1529983568 | Python | Python3 | py | Runtime Error | 0 | 0 | 671 | # AOJ 0202: At Boss's Expense
# Python3 2018.6.26 bal4u
MAX = 1000000
SQRT = 1000 # sqrt(MAX)
not_prime = [0]*(MAX+3)
def sieve():
for i in range(3, SQRT, 2):
if not_prime[i] == 0:
for j in range(i*i, MAX, i): not_prime[j] = 1
sieve()
while True:
n, x = map(int, input().split())
if n == 0: break
mk, v ... | Traceback (most recent call last):
File "/tmp/tmp4n4ebliy/tmpvgqsbq_h.py", line 16, in <module>
n, x = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s550939980 | p00202 | u847467233 | 1530014582 | Python | Python3 | py | Runtime Error | 0 | 0 | 670 | # AOJ 0202: At Boss's Expense
# Python3 2018.6.26 bal4u
MAX = 1000000
SQRT = 1000 # sqrt(MAX)
not_prime = [0]*(MAX+3)
def sieve():
for i in range(3, SQRT, 2):
if not_prime[i] == 0:
for j in range(i*i, MAX, i): not_prime[j] = 1
sieve()
v = [0]*33
while True:
n, x = map(int, input().split())
if n == 0: bre... | Traceback (most recent call last):
File "/tmp/tmp7wv6ippm/tmp7n3lol9r.py", line 16, in <module>
n, x = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s232660345 | p00202 | u759949288 | 1361350723 | Python | Python | py | Runtime Error | 19920 | 122852 | 573 | from array import array
PRIME_MAX = 1000001
isPrime = array('b', [True] * PRIME_MAX)
isPrime[0] = isPrime[1] = False
for i in xrange(2, PRIME_MAX):
if not isPrime[i]: continue
for j in xrange(i << 1, PRIME_MAX, i):
isPrime[j] = False
while True:
n, x = map(int, raw_input().split())
if n == x == 0: break
menu = [... | File "/tmp/tmpphv9ao8v/tmphm40rtgc.py", line 24
print result
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s010379489 | p00202 | u759949288 | 1361351416 | Python | Python | py | Runtime Error | 19930 | 122856 | 564 | from array import array
PRIME_MAX = 1000001
isPrime = array('b', [1] * PRIME_MAX)
isPrime[0] = 0
isPrime[1] = 0
for i in xrange(2, PRIME_MAX):
if not isPrime[i]: continue
for j in xrange(i << 1, PRIME_MAX, i):
isPrime[j] = 0
while True:
n, x = map(int, raw_input().split())
if n == x == 0: break
menu = [input() f... | File "/tmp/tmpka9szczt/tmpjfkzmobm.py", line 25
print result
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s674687800 | p00202 | u759949288 | 1361361808 | Python | Python | py | Runtime Error | 19920 | 123148 | 642 | import sys
from array import array
PRIME_MAX = 1000001
isPrime = array('b', [True] * PRIME_MAX)
isPrime[0] = isPrime[1] = False
for i in xrange(2, PRIME_MAX):
if not isPrime[i]: continue
for j in xrange(i << 1, PRIME_MAX, i):
isPrime[j] = False
sin = iter(map(int, "".join(sys.stdin.readlines()).split()))
while True... | File "/tmp/tmpfl4ictej/tmpoko6ioe0.py", line 27
print result
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s522691893 | p00202 | u759949288 | 1361362674 | Python | Python | py | Runtime Error | 19930 | 122920 | 643 | import sys
from array import array
PRIME_MAX = 1000010
isPrime = array('b', [True] * PRIME_MAX)
isPrime[0] = isPrime[1] = False
for i in xrange(2, PRIME_MAX):
if not isPrime[i]: continue
for j in xrange(i << 1, PRIME_MAX, i):
isPrime[j] = False
sin = iter(map(int, "".join(sys.stdin.readlines()).split()))
while True... | File "/tmp/tmpg08zihv3/tmpaaofckm1.py", line 27
print result
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s339708946 | p00202 | u759949288 | 1361363171 | Python | Python | py | Runtime Error | 19930 | 35560 | 606 | import sys
PRIME_MAX = 1000010
isPrime = [True] * PRIME_MAX
isPrime[0] = isPrime[1] = False
for i in xrange(2, PRIME_MAX):
if not isPrime[i]: continue
for j in xrange(i << 1, PRIME_MAX, i):
isPrime[j] = False
sin = iter(map(int, "".join(sys.stdin.readlines()).split()))
while True:
n = sin.next()
x = sin.next()
i... | File "/tmp/tmp7j1oamju/tmp1e3flvmj.py", line 26
print result
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s116228937 | p00202 | u633068244 | 1396445778 | Python | Python | py | Runtime Error | 0 | 0 | 363 | def prime(n):
return True if pow(2,n-1,n)==1 else False
while 1:
n,x=map(int,raw_input().split())
if n==0:break
p=[input() for i in [1]*n]
s=[0 for i in [1]*(x+1)]
for i in p:s[i]=1
for i in range(1,x+1):
if s[i]==1:
for j in p:
try:s[i+j]=1
except:pass
for i in range(x,0,-1):
if s[i]==1 and pri... | File "/tmp/tmpp_7o0k92/tmp_xhf4sok.py", line 17
print i
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s299345573 | p00202 | u633068244 | 1396445812 | Python | Python | py | Runtime Error | 0 | 0 | 412 | def prime(n):
return True if pow(2,n-1,n)==1 else False
while 1:
try:
n,x=map(int,raw_input().split())
if n==0:break
p=[input() for i in [1]*n]
s=[0 for i in [1]*(x+1)]
for i in p:s[i]=1
for i in range(1,x+1):
if s[i]==1:
for j in p:
try:s[i+j]=1
except:pass
for i in range(x,0,-1):
... | File "/tmp/tmpvelzfkx7/tmpdqpr4n1v.py", line 18
print i
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s177246307 | p00202 | u871901071 | 1397311056 | Python | Python | py | Runtime Error | 0 | 0 | 1210 | input = raw_input
def init():
table = [True] * 1000001
table[0] = False
table[1] = False
n = len(table)
for i in range(2, n):
for j in range(i + i, n, i):
table[j] = False
return table
def is_prime(p):
if p == 0 or p == 1:
return False
for i in range(2, ... | Traceback (most recent call last):
File "/tmp/tmpc4t0nkf9/tmpo4awxptt.py", line 1, in <module>
input = raw_input
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s011062807 | p00202 | u871901071 | 1397311146 | Python | Python | py | Runtime Error | 0 | 0 | 1199 | def init():
table = [True] * 1000001
table[0] = False
table[1] = False
n = len(table)
for i in range(2, n):
for j in range(i + i, n, i):
table[j] = False
return table
def is_prime(p):
if p == 0 or p == 1:
return False
for i in range(2, p - 1):
if ... | Traceback (most recent call last):
File "/tmp/tmpcw52fi39/tmp_ccwul3h.py", line 54, in <module>
main()
File "/tmp/tmpcw52fi39/tmp_ccwul3h.py", line 46, in main
n, price = map(int,raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s316125368 | p00202 | u871901071 | 1397311537 | Python | Python | py | Runtime Error | 0 | 0 | 1210 | input = raw_input
def init():
table = [True] * 1000001
table[0] = False
table[1] = False
n = len(table)
for i in range(2, n):
for j in range(i + i, n, i):
table[j] = False
return table
def is_prime(p):
if p == 0 or p == 1:
return False
for i in range(2, ... | Traceback (most recent call last):
File "/tmp/tmp4m62blix/tmpufl1o9nl.py", line 1, in <module>
input = raw_input
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s919736373 | p00202 | u871901071 | 1397311849 | Python | Python | py | Runtime Error | 0 | 0 | 1210 | input = raw_input
def init():
table = [True] * 1000001
table[0] = False
table[1] = False
n = len(table)
for i in range(2, n):
for j in range(i + i, n, i):
table[j] = False
return table
def is_prime(p):
if p == 0 or p == 1:
return False
for i in range(2, ... | Traceback (most recent call last):
File "/tmp/tmp96x_u7bc/tmpv26py3nw.py", line 1, in <module>
input = raw_input
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s315674315 | p00202 | u871901071 | 1397369979 | Python | Python | py | Runtime Error | 0 | 0 | 1210 | input = raw_input
def init():
table = [True] * 1000001
table[0] = False
table[1] = False
n = len(table)
for i in range(2, n):
for j in range(i + i, n, i):
table[j] = False
return table
def is_prime(p):
if p == 0 or p == 1:
return False
for i in range(2, ... | Traceback (most recent call last):
File "/tmp/tmpjzqwwg96/tmpjmn7yzfb.py", line 1, in <module>
input = raw_input
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s013649940 | p00202 | u871901071 | 1397370023 | Python | Python | py | Runtime Error | 0 | 0 | 1210 | input = raw_input
def init():
table = [True] * 2000001
table[0] = False
table[1] = False
n = len(table)
for i in range(2, n):
for j in range(i + i, n, i):
table[j] = False
return table
def is_prime(p):
if p == 0 or p == 1:
return False
for i in range(2, ... | Traceback (most recent call last):
File "/tmp/tmpck1l9bxk/tmp4a3aen91.py", line 1, in <module>
input = raw_input
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s587322654 | p00202 | u871901071 | 1397370085 | Python | Python | py | Runtime Error | 0 | 0 | 1052 | input = raw_input
def init():
table = [True] * 2000001
table[0] = False
table[1] = False
n = len(table)
for i in range(2, n):
for j in range(i + i, n, i):
table[j] = False
return table
def solve(price, ps, is_prime):
dp = []
for i in range(len(ps)):
dp.a... | Traceback (most recent call last):
File "/tmp/tmph32j4a1a/tmpie44hlng.py", line 1, in <module>
input = raw_input
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s047167725 | p00202 | u871901071 | 1397371308 | Python | Python | py | Runtime Error | 0 | 0 | 1401 | from datetime import datetime
def measure(f):
measure_start = datetime.now()
v = f()
print(datetime.now() - measure_start)
return v
def init():
table = [True] * 1000001
table[0] = False
table[1] = False
n = len(table)
def prime(p):
for i in range(p + p, n, p):
... | Traceback (most recent call last):
File "/tmp/tmpmgc476x9/tmp9r87a2hg.py", line 65, in <module>
main()
File "/tmp/tmpmgc476x9/tmp9r87a2hg.py", line 57, in main
n, price = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| 0:00:00.092459
|
s098612977 | p00202 | u871901071 | 1397371635 | Python | Python | py | Runtime Error | 0 | 0 | 1402 | from datetime import datetime
def measure(f):
measure_start = datetime.now()
v = f()
print(datetime.now() - measure_start)
return v
# input = raw_input
def init():
table = [True] * 1000001
table[0] = False
table[1] = False
n = len(table)
def prime(p):
for i in range(p... | Traceback (most recent call last):
File "/tmp/tmp1nbsuaxz/tmp8n3djkkd.py", line 66, in <module>
main()
File "/tmp/tmp1nbsuaxz/tmp8n3djkkd.py", line 58, in main
n, price = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| 0:00:00.094039
|
s407160224 | p00202 | u871901071 | 1397377760 | Python | Python | py | Runtime Error | 0 | 0 | 2187 | from datetime import datetime
def measure(f):
measure_start = datetime.now()
v = f()
print(datetime.now() - measure_start)
return v
# input = raw_input
# range = xrange
def init():
table = [True] * 1000001
table[0] = False
table[1] = False
n = len(table)
def prime(p):
... | Traceback (most recent call last):
File "/tmp/tmpbtweujvj/tmpka8puw0s.py", line 94, in <module>
main()
File "/tmp/tmpbtweujvj/tmpka8puw0s.py", line 86, in main
n, price = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| 0:00:00.111918
|
s169215662 | p00202 | u871901071 | 1397379200 | Python | Python | py | Runtime Error | 0 | 0 | 2700 | from datetime import datetime
def measure(f):
measure_start = datetime.now()
v = f()
print(datetime.now() - measure_start)
return v
# input = raw_input
# range = xrange
def init():
table = [True] * 1000001
table[0] = False
table[1] = False
n = len(table)
def prime(p):
... | Traceback (most recent call last):
File "/tmp/tmp7qwhzcb1/tmpxk40g3qq.py", line 109, in <module>
main()
File "/tmp/tmp7qwhzcb1/tmpxk40g3qq.py", line 101, in main
n, price = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s378077993 | p00202 | u871901071 | 1397379515 | Python | Python | py | Runtime Error | 0 | 0 | 1650 | from datetime import datetime
def measure(f):
measure_start = datetime.now()
v = f()
print(datetime.now() - measure_start)
return v
# input = raw_input
# range = xrange
def init():
table = [True] * 1000001
table[0] = False
table[1] = False
n = len(table)
def prime(p):
... | Traceback (most recent call last):
File "/tmp/tmp0j5a1n17/tmp453wxf66.py", line 74, in <module>
main()
File "/tmp/tmp0j5a1n17/tmp453wxf66.py", line 66, in main
n, price = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s480626022 | p00202 | u871901071 | 1397379762 | Python | Python | py | Runtime Error | 0 | 0 | 1711 | from datetime import datetime
def measure(f):
measure_start = datetime.now()
v = f()
print(datetime.now() - measure_start)
return v
# input = raw_input
# range = xrange
def init():
table = [True] * 1000001
table[0] = False
table[1] = False
n = len(table)
def prime(p):
... | Traceback (most recent call last):
File "/tmp/tmplgwln3ua/tmpz2ehzsce.py", line 76, in <module>
main()
File "/tmp/tmplgwln3ua/tmpz2ehzsce.py", line 68, in main
n, price = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s931764273 | p00202 | u633068244 | 1399111543 | Python | Python | py | Runtime Error | 0 | 0 | 446 | r = 1000001
s = int(r*0.5)
p = [1]*r
p[0] = p[1] = 0
for i in range(2,s+1):
if p[i]:
p[2*i::i] = [0 for _ in range(2*i,r,i)]
while 1:
n,x = map(int,raw_input().split())
if n == 0: break
dish = [int(raw_input()) for i in range(n)]
dp = [0]*(x+1)
for i in dish:
dp[i] = 1
for cost in dish:
for j in range(x-i+... | File "/tmp/tmpyhntwdhv/tmpcxrbhd26.py", line 21
print i
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s303887874 | p00202 | u633068244 | 1399111596 | Python | Python | py | Runtime Error | 0 | 0 | 446 | r = 1000001
s = int(r*0.5)
p = [1]*r
p[0] = p[1] = 0
for i in range(2,s+1):
if p[i]:
p[2*i::i] = [0 for _ in range(2*i,r,i)]
while 1:
n,x = map(int,raw_input().split())
if n == 0: break
dish = [int(raw_input()) for i in range(n)]
dp = [0]*(x+1)
for i in dish:
dp[i] = 1
for cost in dish:
for j in range(x-i+... | File "/tmp/tmpk2iaiumb/tmp2o5i0u_p.py", line 21
print i
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s428374760 | p00202 | u633068244 | 1399111673 | Python | Python | py | Runtime Error | 0 | 0 | 460 | r = 1000001
s = int(r*0.5)
p = [1]*r
p[0] = p[1] = 0
for i in range(2,s+1):
if p[i]:
p[2*i::i] = [0 for _ in range(2*i,r,i)]
while 1:
n,x = map(int,raw_input().split())
if n == 0: break
dish = [int(raw_input()) for i in range(n)]
dp = [0]*(x+1)
for i in dish:
if i <= x:
dp[i] = 1
for cost in dish:
for j... | File "/tmp/tmp1rpv05lu/tmpzsuh9clu.py", line 22
print i
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s959246464 | p00202 | u633068244 | 1399111750 | Python | Python | py | Runtime Error | 0 | 0 | 449 | r = 1000001
s = int(r*0.5)
p = [1]*r
p[0] = p[1] = 0
for i in range(2,s+1):
if p[i]:
p[2*i::i] = [0 for _ in range(2*i,r,i)]
while 1:
n,x = map(int,raw_input().split())
if n == 0: break
dish = [int(raw_input()) for i in range(n)]
dp = [0]*(x+1)
for i in dish:
dp[i] = 1
for cost in dish:
for j in range(x-co... | File "/tmp/tmp_3dnepss/tmpt7j_m1fm.py", line 21
print i
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s115837398 | p00202 | u633068244 | 1399114004 | Python | Python | py | Runtime Error | 0 | 0 | 599 | r = 1000001
s = int(r**0.5)
p = [1]*r
p[0] = p[1] = 0
for i in range(2,s+1):
if p[i]:
p[2*i::i] = [0 for _ in range(2*i,r,i)]
while 1:
n,x = map(int,raw_input().split())
if n == 0: break
dish = [int(raw_input()) for i in range(n)]
c = 0
pay = [0]*(x+1)
ref = [0]*(x+1)
for i in dish:
pay[c] = i
ref[c] = 1
... | File "/tmp/tmp0gx43xi5/tmpx6qwhepw.py", line 29
print i
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s751081714 | p00203 | u266872031 | 1428070905 | Python | Python | py | Runtime Error | 0 | 0 | 901 | while(1):
[X,Y]=[int(x) for x in raw_input().split()]
if X==0:
break
else:
F=[]
for i in range(Y):
F.append([0]+[int(x) for x in raw_input().split()]+[0])
F.append([3 for x in range(X+2)])
S=[[0 for x in range(X+2)] for y in range(Y+1)] #F,S[y][x]
... | File "/tmp/tmppepbcw_t/tmp9mcjqyo1.py", line 26
print sum(S[Y])
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s676790581 | p00203 | u755162050 | 1471430825 | Python | Python3 | py | Runtime Error | 0 | 0 | 1436 | """ Created by Jieyi on 8/16/16. """
def algorithm():
def down_jump(x, y, times):
if x == r:
out_map[x - 1][y] += times
elif in_map[x][y] == 2:
down_jump(x + 2, y, times)
else:
out_map[x][y] += times
while True:
c, r = map(int, input().split... | Traceback (most recent call last):
File "/tmp/tmpzw3q7pqb/tmp36u27wop.py", line 50, in <module>
main()
File "/tmp/tmpzw3q7pqb/tmp36u27wop.py", line 46, in main
algorithm()
File "/tmp/tmpzw3q7pqb/tmp36u27wop.py", line 14, in algorithm
c, r = map(int, input().split())
^^^^^^^
EOFErro... | |
s175748503 | p00203 | u755162050 | 1471431291 | Python | Python3 | py | Runtime Error | 0 | 0 | 1496 | """ Created by Jieyi on 8/16/16. """
def algorithm():
def down_jump(x, y, times):
if x == r:
out_map[x - 1][y] += times
elif x == r - 1:
out_map[x][y] += times
elif in_map[x][y] == 2:
down_jump(x + 2, y, times)
else:
out_map[x][y] += ... | Traceback (most recent call last):
File "/tmp/tmptguo8ajt/tmpqgd4lsdr.py", line 52, in <module>
main()
File "/tmp/tmptguo8ajt/tmpqgd4lsdr.py", line 48, in main
algorithm()
File "/tmp/tmptguo8ajt/tmpqgd4lsdr.py", line 16, in algorithm
c, r = map(int, input().split())
^^^^^^^
EOFErro... | |
s918790574 | p00203 | u755162050 | 1471432103 | Python | Python3 | py | Runtime Error | 0 | 0 | 1540 | """ Created by Jieyi on 8/16/16. """
def algorithm():
def down_jump(x, y, times):
if x == r:
out_map[x - 1][y] += times
elif x == r - 1:
out_map[x][y] += times
elif in_map[x][y] == 2:
down_jump(x + 2, y, times)
else:
out_map[x][y] += ... | Traceback (most recent call last):
File "/tmp/tmpbb196sov/tmp3puucu_l.py", line 53, in <module>
main()
File "/tmp/tmpbb196sov/tmp3puucu_l.py", line 49, in main
algorithm()
File "/tmp/tmpbb196sov/tmp3puucu_l.py", line 16, in algorithm
c, r = map(int, input().split())
^^^^^^^
EOFErro... | |
s905198523 | p00203 | u811733736 | 1509283225 | Python | Python3 | py | Runtime Error | 0 | 0 | 2623 | # -*- coding: utf-8 -*-
"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0203
"""
import sys
from sys import stdin
from collections import deque, defaultdict
input = stdin.readline
def solve(field):
0 0 # 0: ????????°, 1: ?????????, 2: ?????£????????°
course = 0
# ????????????????????????????... | File "/tmp/tmp2a9mr0oa/tmpkd5bty27.py", line 13
0 0 # 0: ????????°, 1: ?????????, 2: ?????£????????°
^
IndentationError: expected an indented block after function definition on line 12
| |
s730315627 | p00203 | u811733736 | 1509284411 | Python | Python3 | py | Runtime Error | 0 | 0 | 2630 | # -*- coding: utf-8 -*-
"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0203
"""
import sys
from sys import stdin
from collections import deque, defaultdict
input = stdin.readline
def solve(field):
# 0: ????????°, 1: ?????????, 2: ?????£????????°
course = 0
# ??????????????????????????????
... | Traceback (most recent call last):
File "/tmp/tmpj0be1tdv/tmpc6fka5fx.py", line 91, in <module>
main(sys.argv[1:])
File "/tmp/tmpj0be1tdv/tmpc6fka5fx.py", line 79, in main
X, Y = map(int, input().split())
^^^^
ValueError: not enough values to unpack (expected 2, got 0)
| |
s346345430 | p00203 | u811733736 | 1509284613 | Python | Python3 | py | Runtime Error | 0 | 0 | 2673 | # -*- coding: utf-8 -*-
"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0203
"""
import sys
from sys import stdin
from collections import deque, defaultdict
input = stdin.readline
def solve(field):
# 0: ????????°, 1: ?????????, 2: ?????£????????°
course = 0
# ??????????????????????????????
... | Traceback (most recent call last):
File "/tmp/tmp7hjqdq94/tmpx1l_2q_z.py", line 93, in <module>
main(sys.argv[1:])
File "/tmp/tmp7hjqdq94/tmpx1l_2q_z.py", line 81, in main
X, Y = map(int, input().split())
^^^^
ValueError: not enough values to unpack (expected 2, got 0)
| |
s593868251 | p00203 | u811733736 | 1509285227 | Python | Python3 | py | Runtime Error | 0 | 0 | 2673 | # -*- coding: utf-8 -*-
"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0203
"""
import sys
from sys import stdin
from collections import deque, defaultdict
input = stdin.readline
def solve(field):
# 0: ????????°, 1: ?????????, 2: ?????£????????°
ans = 0
# ??????????????????????????????
... | Traceback (most recent call last):
File "/tmp/tmpz0ecjdc8/tmpq3skcg3k.py", line 92, in <module>
main(sys.argv[1:])
File "/tmp/tmpz0ecjdc8/tmpq3skcg3k.py", line 80, in main
X, Y = map(int, input().strip().split())
^^^^
ValueError: not enough values to unpack (expected 2, got 0)
| |
s359985893 | p00203 | u811733736 | 1509285366 | Python | Python3 | py | Runtime Error | 0 | 0 | 2672 | # -*- coding: utf-8 -*-
"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0203
"""
import sys
from sys import stdin
from collections import deque, defaultdict
input = stdin.readline
def solve(field):
# 0: ????????°, 1: ?????????, 2: ?????£????????°
ans = 0
# ??????????????????????????????
... | Traceback (most recent call last):
File "/tmp/tmprdv0gss7/tmp88k92j7k.py", line 92, in <module>
main(sys.argv[1:])
File "/tmp/tmprdv0gss7/tmp88k92j7k.py", line 80, in main
X, Y = map(int, input().strip().split())
^^^^
ValueError: not enough values to unpack (expected 2, got 0)
| |
s957320368 | p00203 | u811733736 | 1509291157 | Python | Python3 | py | Runtime Error | 0 | 0 | 2726 | # -*- coding: utf-8 -*-
"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0203
"""
import sys
from sys import stdin
from collections import deque, defaultdict
input = stdin.readline
def solve(field):
# 0: ????????°, 1: ?????????, 2: ?????£????????°
ans = 0 # ??????????????°???... | Traceback (most recent call last):
File "/tmp/tmpfbhg0ufy/tmp2e5qwbug.py", line 86, in <module>
main(sys.argv[1:])
File "/tmp/tmpfbhg0ufy/tmp2e5qwbug.py", line 74, in main
X, Y = map(int, input().strip().split())
^^^^
ValueError: not enough values to unpack (expected 2, got 0)
| |
s419436949 | p00203 | u811733736 | 1509293045 | Python | Python3 | py | Runtime Error | 0 | 0 | 2718 | # -*- coding: utf-8 -*-
"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0203
"""
import sys
from sys import stdin
from collections import deque, defaultdict
input = stdin.readline
def solve(field):
BLANK, OBSTACLE, JUMP = 0, 1, 2
ans = 0 # ??????????????°???????????°
dy... | Traceback (most recent call last):
File "/tmp/tmpcjyfl4ez/tmp_wr_y0ed.py", line 87, in <module>
main(sys.argv[1:])
File "/tmp/tmpcjyfl4ez/tmp_wr_y0ed.py", line 75, in main
X, Y = map(int, input().strip().split())
^^^^
ValueError: not enough values to unpack (expected 2, got 0)
| |
s212604317 | p00203 | u811733736 | 1509293061 | Python | Python3 | py | Runtime Error | 0 | 0 | 2768 | # -*- coding: utf-8 -*-
"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0203
"""
import sys
from sys import stdin
from collections import deque, defaultdict
input = stdin.readline
def solve(field):
BLANK, OBSTACLE, JUMP = 0, 1, 2
ans = 0 # ??????????????°???????????°
dy... | Traceback (most recent call last):
File "/tmp/tmponx4l8de/tmp795ek91i.py", line 89, in <module>
main(sys.argv[1:])
File "/tmp/tmponx4l8de/tmp795ek91i.py", line 77, in main
X, Y = map(int, input().strip().split())
^^^^
ValueError: not enough values to unpack (expected 2, got 0)
| |
s446567865 | p00204 | u673933691 | 1414165428 | Python | Python3 | py | Runtime Error | 0 | 0 | 1221 | import math
ans = []
while True:
ufo = []
n = raw_input().split()
if n == ["0", "0"]:
for an in ans:
print an
break
else:
R = int(n[0])
for i in range(int(n[1])):
m = [int(f) for f in raw_input().split()]
l = math.sqrt(m[0] ** 2 + m[1] ... | File "/tmp/tmpj3j8q7zg/tmpi89gdtwg.py", line 8
print an
^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s441542957 | p00204 | u180584272 | 1426675223 | Python | Python | py | Runtime Error | 0 | 0 | 12949 | from math import sqrt,fabs,ceil,floor,pow,exp,log,sin,cos,tan,asin,acos,atan,atan2,pi
eps=1e-10
inf=float("inf")
class Angle: #angle. kaku.
def __init__(self,th):
self.th = float(th)%(2*pi)
def __float__(self):
return self.th
def __eq__(self,other):
return abs(float(self)-float(other))<eps or abs(abs(float... | File "/tmp/tmprlkr099i/tmp8r4y3cy6.py", line 411
print re
^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s950309135 | p00204 | u180584272 | 1426954531 | Python | Python | py | Runtime Error | 0 | 0 | 1126 | from math import sqrt
class Ufo:
def __init__(self,px,py,d,vd,ui):
self.pd=sqrt(px**2+py**2)
self.px=float(px)
self.py=float(py)
self.ex=self.px/self.pd
self.ey=self.py/self.pd
self.d=float(d)
self.vd=float(vd)
self.vx=-self.vd*self.ex
self.vy=-self.vd*self.ey
self.i=ui
def move(self):
self.pd ... | File "/tmp/tmplknytw3x/tmpvql48hao.py", line 58
print re
^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s302007134 | p00204 | u180584272 | 1379862533 | Python | Python | py | Runtime Error | 0 | 0 | 2043 | from sys import stdin
from math import sqrt,fabs
class Ufo:
def __init__(self,x,y,r,v):
self.x = x*1.0
self.y = y*1.0
self.r = r*1.0
self.v = v*1.0
self.d = sqrt(x**2+y**2)
self.cs = self.x / self.d
self.si = self.y / self.d
self.vx = -self.v*self.cs
self.vy = -self.v*self.si
self.migigawa = (sel... | File "/tmp/tmptl4e2n_7/tmpv1c9pav0.py", line 108
print inrl
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s103894157 | p00204 | u180584272 | 1379899208 | Python | Python | py | Runtime Error | 0 | 0 | 2075 | from sys import stdin
from math import sqrt,fabs
class Ufo:
def __init__(self,x,y,r,v):
self.x = x*1.0
self.y = y*1.0
self.r = r*1.0
self.v = v*1.0
self.d = sqrt(x**2+y**2)
self.cs = self.x / self.d
self.si = self.y / self.d
self.vx = -self.v*self.cs
self.vy = -self.v*self.si
def __str__(self):
... | File "/tmp/tmphauwevt9/tmpg_yzgyb8.py", line 109
print inrl
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s051983058 | p00204 | u180584272 | 1379900647 | Python | Python | py | Runtime Error | 0 | 0 | 2263 | from sys import stdin
from math import sqrt,fabs
class Game:
class Ufo:
def __init__(self,x,y,r,v):
self.x = x*1.0
self.y = y*1.0
self.r = r*1.0
self.v = v*1.0
self.d = sqrt(x**2+y**2)
self.cs = self.x / self.d
self.si = self.y / self.d
self.vx = -self.v*self.cs
self.vy = -self.v*self.si
... | File "/tmp/tmpyz4xt3d0/tmpznrl1aro.py", line 106
print game.inrl
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s995100024 | p00204 | u180584272 | 1379901428 | Python | Python | py | Runtime Error | 0 | 0 | 2211 | from sys import stdin
from math import sqrt,fabs
class Ufo:
def __init__(self,x,y,r,v):
self.x = x*1.0
self.y = y*1.0
self.r = r*1.0
self.v = v*1.0
self.d = sqrt(x**2+y**2)
self.cs = self.x / self.d
self.si = self.y / self.d
self.vx = -self.v*self.cs
self.vy = -self.v*self.si
def __str__(self):
... | File "/tmp/tmp5fudrkk8/tmptcabfaoc.py", line 108
print game.inrl
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s108781852 | p00204 | u180584272 | 1379901757 | Python | Python | py | Runtime Error | 0 | 0 | 2204 | import sys
from math import sqrt,fabs
class Ufo:
def __init__(self,x,y,r,v):
self.x = x*1.0
self.y = y*1.0
self.r = r*1.0
self.v = v*1.0
self.d = sqrt(x**2+y**2)
self.cs = self.x / self.d
self.si = self.y / self.d
self.vx = -self.v*self.cs
self.vy = -self.v*self.si
def __str__(self):
return "ufo... | File "/tmp/tmph312wo69/tmpxoahb0_9.py", line 108
print game.inrl
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s554376833 | p00204 | u180584272 | 1381653604 | Python | Python | py | Runtime Error | 0 | 0 | 2685 | from math import sqrt,fabs
class Ufo:
def __init__(self,x,y,r,v):
self.x = x*1.0
self.y = y*1.0
self.r = r*1.0
self.v = v*1.0
self.d = sqrt(x**2+y**2)
self.cs = self.x / self.d
self.si = self.y / self.d
self.vx = -self.v*self.cs
self.vy = -sel... | File "/tmp/tmpes5i0g5t/tmph0v4dmqp.py", line 106
print game.inrl
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s502981427 | p00204 | u633068244 | 1396550452 | Python | Python | py | Runtime Error | 0 | 0 | 658 | def isHit(a,b,ufo):
D=abs(a*ufo[0]+b*ufo[1])/int((a**2+b**2)**0.5)
return True if D<=ufo[2] else False
while 1:
R,N=map(int,raw_input().split())
if R==0:break
ufos=[map(int,raw_input().split()) for i in range(N)]
for i in range(N):
ufos[i].append((ufos[i][0]**2+ufos[i][1]**2)**0.5)
#ufos[i]=[x,y,r,v,d]
invad... | File "/tmp/tmpcfa4h_ei/tmpm9vp4mrt.py", line 29
print invade
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s951956110 | p00204 | u633068244 | 1396550501 | Python | Python | py | Runtime Error | 0 | 0 | 716 | def isHit(a,b,ufo):
D=abs(a*ufo[0]+b*ufo[1])/int((a**2+b**2)**0.5)
return True if D<=ufo[2] else False
while 1:
try:
R,N=map(int,raw_input().split())
if R==0:break
ufos=[map(int,raw_input().split()) for i in range(N)]
for i in range(N):
ufos[i].append((ufos[i][0]**2+ufos[i][1]**2)**0.5)
#ufos[i]=[x,y,r... | File "/tmp/tmplkh0wvji/tmp97tm8fna.py", line 30
print invade
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s720922560 | p00204 | u633068244 | 1398078340 | Python | Python | py | Runtime Error | 0 | 0 | 1000 | import math
def isHit(a,b,ufo):
if a*ufo[1]<=0 and -b*ufo[0]<=0:return False
D=abs(a*ufo[0]+b*ufo[1])*ufo[4]
if math.sqrt(ufo[4]**2-D**2)+math.sqrt(ufos[3]**2-D**2)<=R:return False
return True if D<=ufo[2]+1e-7 else False
while 1:
R,N=map(int,raw_input().split())
if R==0:break
ufos=[map(int,raw_input().split())... | File "/tmp/tmpfr9tg3vg/tmptdiexcj2.py", line 38
print invade
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s994874737 | p00204 | u633068244 | 1398078356 | Python | Python | py | Runtime Error | 0 | 0 | 999 | import math
def isHit(a,b,ufo):
if a*ufo[1]<=0 and -b*ufo[0]<=0:return False
D=abs(a*ufo[0]+b*ufo[1])*ufo[4]
if math.sqrt(ufo[4]**2-D**2)+math.sqrt(ufo[3]**2-D**2)<=R:return False
return True if D<=ufo[2]+1e-7 else False
while 1:
R,N=map(int,raw_input().split())
if R==0:break
ufos=[map(int,raw_input().split()) ... | File "/tmp/tmpca40yn8e/tmph66v8iwg.py", line 38
print invade
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s405814786 | p00204 | u633068244 | 1398078502 | Python | Python | py | Runtime Error | 0 | 0 | 1024 | import math
def isHit(a,b,ufo):
if a*ufo[1]<=0 and -b*ufo[0]<=0:return False
D=abs(a*ufo[0]+b*ufo[1])*ufo[4]
if D>ufo[2]:
return False
else:
if math.sqrt(ufo[4]**2-D**2)+math.sqrt(ufo[3]**2-D**2)<=R:
return False
else:
return True
while 1:
R,N=map(int,raw_input().split())
if R==0:break
ufos=[map(... | File "/tmp/tmpqepygr_r/tmpu_q2z4bg.py", line 43
print invade
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s795548872 | p00205 | u567380442 | 1429020507 | Python | Python3 | py | Runtime Error | 0 | 0 | 426 | from sys import stdin
readline = stdin.readline
R, S, P = 1, 2, 3
W, L, D = 1, 2, 3
rps = {
(R, S, P):{R:D, S:D, P:D},
(R, S) :{R:W, S:L},
(S, P) :{S:W, P:L},
(R, P) :{P:W, R:L}
}
while True:
hand = int(readline())
if hand == 0:
break
hands = [hand] + [int(readline()) for _... | Traceback (most recent call last):
File "/tmp/tmpt53_lb7a/tmp6zvd8qwp.py", line 16, in <module>
hand = int(readline())
^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
| |
s334749352 | p00205 | u567380442 | 1429020633 | Python | Python3 | py | Runtime Error | 0 | 0 | 426 | from sys import stdin
readline = stdin.readline
R, S, P = 1, 2, 3
W, L, D = 1, 2, 3
rps = {
(R, S, P):{R:D, S:D, P:D},
(R, S) :{R:W, S:L},
(S, P) :{S:W, P:L},
(R, P) :{P:W, R:L}
}
while True:
hand = int(readline())
if hand == 0:
break
hands = [hand] + [int(readline()) for _... | Traceback (most recent call last):
File "/tmp/tmpytp52cqn/tmpdkv6pgy4.py", line 16, in <module>
hand = int(readline())
^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
| |
s853927777 | p00205 | u567380442 | 1429020844 | Python | Python3 | py | Runtime Error | 0 | 0 | 509 | from sys import stdin
readline = stdin.readline
def main():
R, S, P = 1, 2, 3
W, L, D = 1, 2, 3
rps = {
(R, S, P):{R:D, S:D, P:D},
(R, S) :{R:W, S:L},
(S, P) :{S:W, P:L},
(R, P) :{P:W, R:L}
}
while True:
hand = int(readline())
if hand == 0:
... | Traceback (most recent call last):
File "/tmp/tmpebegte9h/tmp0lebytwu.py", line 24, in <module>
main()
File "/tmp/tmpebegte9h/tmp0lebytwu.py", line 17, in main
hand = int(readline())
^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
| |
s345566563 | p00205 | u567380442 | 1429020995 | Python | Python3 | py | Runtime Error | 0 | 0 | 479 | from sys import stdin
readline = stdin.readline
def main():
R, S, P = 1, 2, 3
W, L, D = 1, 2, 3
rps = {
(R, S, P):{R:D, S:D, P:D},
(R, S) :{R:W, S:L},
(S, P) :{S:W, P:L},
(R, P) :{P:W, R:L}
}
while True:
try:
hands = [int(readline()) for _... | ||
s462484664 | p00205 | u567380442 | 1429065866 | Python | Python3 | py | Runtime Error | 0 | 0 | 467 | from sys import stdin
readline = stdin.readline
from io import StringIO
readline = StringIO('''1
2
3
2
1
1
2
2
2
1
0''').readline
R, S, P = 1, 2, 3 # rock, scissors, paper
W, L, D = 1, 2, 3 # win, lose, draw
while True:
hands = []
hands.append(int(readline()))
if hands[0] == 0:
break
for _... | Traceback (most recent call last):
File "/tmp/tmprs05i8ku/tmprz6l1ibp.py", line 31, in <module>
print(rps[hands_set][h])
^^^
NameError: name 'rps' is not defined
| |
s181332284 | p00205 | u546285759 | 1486503591 | Python | Python3 | py | Runtime Error | 0 | 0 | 428 | while True:
h1= int(input())
if h1== 0:
break
h2,h3,h4,h5= [int(input()) for _ in range(4)]
l= [h1,h2,h3,h4,h5]
if 1 and 2 and 3 in l:
for _ in range(5): print("3")
else:
for i in range(5):
if l[i]==1:
print('1' if 2 in l '2')
elif ... | File "/tmp/tmp5jg15m75/tmpyf7nagpn.py", line 12
print('1' if 2 in l '2')
^^^^^^^^^^^^^
SyntaxError: expected 'else' after 'if' expression
| |
s027372858 | p00206 | u104911888 | 1367120039 | Python | Python | py | Runtime Error | 0 | 0 | 238 | while True:
L=input()
if L=0:break
flag=True
for i in range(1,13):
M,N=map(int,raw_input().split())
L-=(M-N)
if L<=0 and flag:
print i
flag=False
else:
print "NA" | File "/tmp/tmpdyv00l5t/tmp4l1wknvs.py", line 3
if L=0:break
^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s654791786 | p00207 | u266872031 | 1422088845 | Python | Python | py | Runtime Error | 0 | 0 | 1860 | def tansaku(cl,nc,ok,goal): #currentlocation,nonchecked,ok,goal
[clx,cly]=cl
for i in range(clx-1,clx+2):
for j in range(cly-1,cly+2):
if [i,j] in nc:
nc.remove([i,j])
ok.append([i,j])
tansaku([i,j],nc,ok,goal)
while(1):
[boardw,boardh]=[... | File "/tmp/tmpecbrebbl/tmp38jm5_vj.py", line 42
print "NG"
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s956905537 | p00207 | u266872031 | 1422089150 | Python | Python | py | Runtime Error | 0 | 0 | 1860 | def tansaku(cl,nc,ok,goal): #currentlocation,nonchecked,ok,goal
[clx,cly]=cl
for i in range(clx-1,clx+2):
for j in range(cly-1,cly+2):
if [i,j] in nc:
nc.remove([i,j])
ok.append([i,j])
tansaku([i,j],nc,ok,goal)
while(1):
[boardw,boardh]=[... | File "/tmp/tmpkf9a7fe1/tmp9c1j8x4r.py", line 42
print "NG"
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s027564279 | p00207 | u266872031 | 1422089916 | Python | Python | py | Runtime Error | 0 | 0 | 1891 | sys.setrecursionlimit(10000)
def tansaku(cl,nc,ok,goal): #currentlocation,nonchecked,ok,goal
[clx,cly]=cl
for i in range(clx-1,clx+2):
for j in range(cly-1,cly+2):
if [i,j] in nc:
nc.remove([i,j])
ok.append([i,j])
tansaku([i,j],nc,ok,goal)
... | File "/tmp/tmpraf0yct4/tmplnpry1zd.py", line 44
print "NG"
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s466309152 | p00207 | u266872031 | 1422200778 | Python | Python | py | Runtime Error | 0 | 0 | 1923 | import sys
sys.setrecursionlimit(10000)
def tansaku(cl,nc,ok,goal): #currentlocation,nonchecked,ok,goal
directions=[[-1,0],[1,0],[0,-1],[0,1]]
[clx,cly]=cl
for dd in directions:
[i,j]=[clx+dd[0],cly+dd[1]]
if [i,j] in nc:
nc.remove([i,j])
ok.append([i,j])
... | File "/tmp/tmpy9ob4efb/tmpkg4ae3lw.py", line 46
print "NG"
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s707903039 | p00207 | u266872031 | 1422200896 | Python | Python | py | Runtime Error | 0 | 0 | 1924 | import sys
sys.setrecursionlimit(100000)
def tansaku(cl,nc,ok,goal): #currentlocation,nonchecked,ok,goal
directions=[[-1,0],[1,0],[0,-1],[0,1]]
[clx,cly]=cl
for dd in directions:
[i,j]=[clx+dd[0],cly+dd[1]]
if [i,j] in nc:
nc.remove([i,j])
ok.append([i,j])
... | File "/tmp/tmp9ozpn6es/tmpvqgiqd7r.py", line 46
print "NG"
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s283491950 | p00207 | u685815919 | 1473655862 | Python | Python | py | Runtime Error | 0 | 0 | 1112 | import Queue
blockpos = [[[0,0], [0,1], [1,0], [1,1], [2,0], [2,1], [3,0], [3,1]], [[0,0], [0,1], [0,2], [0,3], [1,0], [1,1], [1,2], [1,3]]]
dxy = [[0,1], [1,0], [0,-1], [-1,0]]
q = Queue.Queue()
W, H = 0, 0
def checker(xs, ys, xg, yg, field, color):
if color == 0:
return False
global W, H
x = xs
y = ys
... | File "/tmp/tmpog0etb1j/tmpnsu2e_c2.py", line 42
print "OK"
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s359050434 | p00207 | u755162050 | 1474357948 | Python | Python3 | py | Runtime Error | 0 | 0 | 1793 | def block(board, y, x, direction, color):
# ???
if direction == 0:
for i in range(2):
for j in range(4):
board[x + i][y + j] = color
# ??±
elif direction == 1:
for i in range(2):
for j in range(4):
board[x + j][y + i] = color
def ... | Traceback (most recent call last):
File "/tmp/tmpd9nd0yj6/tmpdpyzjfbj.py", line 68, in <module>
main()
File "/tmp/tmpd9nd0yj6/tmpdpyzjfbj.py", line 52, in main
w, h = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s176460558 | p00207 | u755162050 | 1474358116 | Python | Python3 | py | Runtime Error | 0 | 0 | 1870 | def block(board, y, x, direction, color):
# ???
if direction == 0:
for i in range(2):
for j in range(4):
board[x + i][y + j] = color
# ??±
elif direction == 1:
for i in range(2):
for j in range(4):
board[x + j][y + i] = color
def ... | Traceback (most recent call last):
File "/tmp/tmpor3nnbgm/tmpim728brb.py", line 68, in <module>
main()
File "/tmp/tmpor3nnbgm/tmpim728brb.py", line 52, in main
w, h = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s085144327 | p00207 | u755162050 | 1474358301 | Python | Python3 | py | Runtime Error | 0 | 0 | 1878 | def block(board, y, x, direction, color):
# ???
if direction == 0:
for i in range(2):
for j in range(4):
board[x + i][y + j] = color
# ??±
elif direction == 1:
for i in range(2):
for j in range(4):
board[x + j][y + i] = color
def ... | Traceback (most recent call last):
File "/tmp/tmpowszft2e/tmpklt_1hez.py", line 68, in <module>
main()
File "/tmp/tmpowszft2e/tmpklt_1hez.py", line 52, in main
w, h = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s340151461 | p00207 | u755162050 | 1474359222 | Python | Python3 | py | Runtime Error | 0 | 0 | 1878 | def block(board, y, x, direction, color):
# ???
if direction == 0:
for i in range(2):
for j in range(4):
board[x + i][y + j] = color
# ??±
elif direction == 1:
for i in range(2):
for j in range(4):
board[x + j][y + i] = color
def ... | Traceback (most recent call last):
File "/tmp/tmply2wnamv/tmpuf4z79h0.py", line 68, in <module>
main()
File "/tmp/tmply2wnamv/tmpuf4z79h0.py", line 52, in main
w, h = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s736452641 | p00207 | u755162050 | 1474371486 | Python | Python3 | py | Runtime Error | 0 | 0 | 1823 | """ Created by Jieyi on 9/20/16. """
def block(board, w, h, direction, color):
# horizontal.
if direction == 0:
for i in range(2):
for j in range(4):
board[h + i][w + j] = color
# vertical.
elif direction == 1:
for i in range(2):
for j in range(4... | Traceback (most recent call last):
File "/tmp/tmp7e9628zd/tmplgd11e6n.py", line 70, in <module>
main()
File "/tmp/tmp7e9628zd/tmplgd11e6n.py", line 54, in main
w, h = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s560678933 | p00207 | u755162050 | 1474371672 | Python | Python3 | py | Runtime Error | 0 | 0 | 1900 | """ Created by Jieyi on 9/20/16. """
def block(board, w, h, direction, color):
# horizontal.
if direction == 0:
for i in range(2):
for j in range(4):
board[h + i][w + j] = color
# vertical.
elif direction == 1:
for i in range(2):
for j in range(4... | Traceback (most recent call last):
File "/tmp/tmp1ny19u9p/tmpkcpmyitq.py", line 70, in <module>
main()
File "/tmp/tmp1ny19u9p/tmpkcpmyitq.py", line 54, in main
w, h = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s825320478 | p00207 | u227162786 | 1490017062 | Python | Python3 | py | Runtime Error | 0 | 0 | 985 | import numpy as np
def dfs(x, y, m, v, W, H, xg, yg):
'''
'''
v[y, x] = True
for dx, dy in [(-1, 0), (1, 0), (0, -1), (0, 1)]:
nx = x + dx
ny = y + dy
if nx in range(W) and ny in range(H) and m[ny, nx] == m[y, x] and v[ny, nx] == False:
dfs(nx, ny, m, v, W, H, xg, yg... | Traceback (most recent call last):
File "/tmp/tmp3zclo7q0/tmpc8i4it2e.py", line 14, in <module>
H, W = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s057962999 | p00207 | u227162786 | 1490017352 | Python | Python3 | py | Runtime Error | 0 | 0 | 994 | import numpy as np
def dfs(x, y, m, v, W, H, xg, yg):
'''
'''
v[y, x] = True
for dx, dy in [(-1, 0), (1, 0), (0, -1), (0, 1)]:
nx = x + dx
ny = y + dy
if nx in range(W) and ny in range(H) and m[ny, nx] == m[y, x] and v[ny, nx] == False:
dfs(nx, ny, m, v, W, H, xg, yg... | Traceback (most recent call last):
File "/tmp/tmpj6vct7h0/tmp88ocigr7.py", line 14, in <module>
H, W = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s397279338 | p00207 | u227162786 | 1490017361 | Python | Python3 | py | Runtime Error | 0 | 0 | 994 | import numpy as np
def dfs(x, y, m, v, W, H, xg, yg):
'''
'''
v[y, x] = True
for dx, dy in [(-1, 0), (1, 0), (0, -1), (0, 1)]:
nx = x + dx
ny = y + dy
if nx in range(W) and ny in range(H) and m[ny, nx] == m[y, x] and v[ny, nx] == False:
dfs(nx, ny, m, v, W, H, xg, yg... | Traceback (most recent call last):
File "/tmp/tmpbgled29q/tmpytokwfr8.py", line 14, in <module>
H, W = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s963806860 | p00207 | u227162786 | 1490017757 | Python | Python3 | py | Runtime Error | 0 | 0 | 993 | import numpy as np
def dfs(x, y, m, v, W, H, xg, yg):
'''
'''
v[y, x] = True
for dx, dy in [(-1, 0), (1, 0), (0, -1), (0, 1)]:
nx = x + dx
ny = y + dy
if nx in range(W) and ny in range(H) and m[ny, nx] == m[y, x] and v[ny, nx] == False:
dfs(nx, ny, m, v, W, H, xg, yg... | Traceback (most recent call last):
File "/tmp/tmpzoxecgc_/tmph5pa9hsw.py", line 14, in <module>
H, W = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s719740976 | p00207 | u227162786 | 1490018601 | Python | Python3 | py | Runtime Error | 0 | 0 | 1085 | def dfs(x, y, m, v, W, H, xg, yg):
'''
'''
v[y][x] = True
for dx, dy in [(-1, 0), (1, 0), (0, -1), (0, 1)]:
nx = x + dx
ny = y + dy
if nx in range(W) and ny in range(H) and m[ny][nx] == m[y][x] and v[ny][nx] == False:
dfs(nx, ny, m, v, W, H, xg, yg)
while True:
H... | Traceback (most recent call last):
File "/tmp/tmpnhxggdcg/tmp8jn_uo8m.py", line 12, in <module>
H, W = list(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.