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
s073374897
p02382
u126322807
1494753020
Python
Python3
py
Runtime Error
0
0
447
#!/usr/bin/env python import math chebyshev = [] n = int(input()) x = input().split() y = input().split() for i in range(n): x[i] = int(x[i]) for i in range(n): y[i] = int(y[i]) for p in range(3): total = 0 for i in range(n): total += (math.fabs(x[i]-y[i]))**(p+1) distance = total**(1/(...
Traceback (most recent call last): File "/tmp/tmp9iccqz_g/tmpw58x_766.py", line 6, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s402123519
p02382
u279605379
1495086496
Python
Python3
py
Runtime Error
0
0
383
#ITP1_10-D Distance2 n = int(input()) x = float().split(" ") y = float().split(" ") d1=0.0 for i in range(n): d1 += abs(x[i]-y[i]) print(d1) d2=0.0 for i in range(n): d2 += (x[i]-y[i])**2 print(d2**0.5) d3=0.0 for i in range(n): d3 += (x[i]-y[i])**3 print(d3**(1.0/3.0)) d_inf=0.0 for i in range(n): ...
Traceback (most recent call last): File "/tmp/tmpfu3w1p74/tmpv1pug5hq.py", line 2, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s056415987
p02382
u650790815
1496462343
Python
Python3
py
Runtime Error
0
0
270
def distance(x,y,n): return sum(abs(x[i]-y[i])**n for i in range(len(n))) **(1/n) n = int(input()) x = list(map(float,input().split())) y = list(map(float,input().split())) for i in range(1,4): print(distance(x,y,i)) print(max(abs(x[i]-y[i]) for i in range(n)))
Traceback (most recent call last): File "/tmp/tmpx5z0myml/tmps4mrbyy0.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s526052399
p02382
u440180827
1496468774
Python
Python3
py
Runtime Error
30
7944
677
import math n = int(input()) x = list(map(int, input().split())) y = list(map(int, input().split())) tmp = [[0 for i in range(6)] for j in range(n+1)] absDiff = abs(x[0]-y[0]) tmp[0][3] = tmp[0][0] = absDiff tmp[0][4] = tmp[0][1] = absDiff ** 2 tmp[0][5] = tmp[0][2] = absDiff ** 3 max = absDiff for i in range(1, n, 1):...
Traceback (most recent call last): File "/tmp/tmp4bvr3ntd/tmp7or_scrk.py", line 2, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s434164158
p02382
u914146430
1500438984
Python
Python3
py
Runtime Error
0
0
538
def min_dist(x_b,y_b): s=0 for x,y in zip(x_b,y_b): s+=abs(x-y) return s def man_dist(x_b,y_b): s=0 for x, y in zip(x_b,y_b): s+=(abs(x-y))**2 return s**0.5 def che_dist(x_b,y_b): s=0 for x,y in zip(x_b,y_b): s+=(abs(x-y))**3 return s**(1/3) def anf_dist(x_...
Traceback (most recent call last): File "/tmp/tmpv3_s7qsj/tmp481unpo9.py", line 23, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s620365419
p02382
u248424983
1503038666
Python
Python3
py
Runtime Error
0
0
288
import math n=int(input()) xli=list(map(int,input().split()) yli=list(map(int,input().split()) a=0 b=0 c=0 d=0 for x,y in zip(xli,yli): base = math.fabs(x,y) a += base b += base**2 c += base**3 if d < base : d = base print(a) print(b**(1/2)) print(c**(1/3)) print(d)
File "/tmp/tmp3a8m6jb4/tmp5jo84g9c.py", line 3 xli=list(map(int,input().split()) ^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s120043071
p02382
u248424983
1503038746
Python
Python3
py
Runtime Error
0
0
290
import math n=int(input()) xli=list(map(int,input().split())) yli=list(map(int,input().split())) a=0 b=0 c=0 d=0 for x,y in zip(xli,yli): base = math.fabs(x,y) a += base b += base**2 c += base**3 if d < base : d = base print(a) print(b**(1/2)) print(c**(1/3)) print(d)
Traceback (most recent call last): File "/tmp/tmph6ifk7pp/tmp2gwradqj.py", line 2, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s507729461
p02382
u248424983
1503039006
Python
Python3
py
Runtime Error
0
0
294
import math n=int(input()) xli=list(map(float,input().split()) yli=list(map(float,input().split()) a=0 b=0 c=0 d=0 for x,y in zip(xli,yli): base = math.fabs(x-y) a += base b += base**2 c += base**3 if d < base : d = base print(a) print(b**(1/2)) print(c**(1/3)) print(d)
File "/tmp/tmpeyqd52ta/tmpyg78tbar.py", line 3 xli=list(map(float,input().split()) ^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s734981650
p02382
u954858867
1503826910
Python
Python
py
Runtime Error
0
0
417
import math ni = int(input()) xi = map(int, raw_input().split()) yi = map(int, raw_input().split()) p1 = [] p2 = [] p3 = [] p4 = [] for x, y in zip(xi, yi): p1.append(abs(x - y)) p2.append(abs(x - y)**2) p3.append(abs(x - y)**3) p4.append(abs(x - y)) print '%.6f' % reduce(lambda x, y: x + y, print '%....
File "/tmp/tmp3bvfpgam/tmp81pr95l4.py", line 18 print '%.6f' % reduce(lambda x, y: x + y, ^ SyntaxError: '(' was never closed
s378790435
p02382
u954858867
1503827050
Python
Python
py
Runtime Error
0
0
386
import math ni = int(input()) xi = map(int, raw_input().split( yi = map(int, raw_input().split( p1 = [] p2 = [] p3 = [] p4 = [] for x, y in zip(xi, yi): p1.append(abs(x - y)) p2.append(abs(x - y)**2) p3.append(abs(x - y)**3) p4.append(abs(x - y)) print '%.8f' % reduce(lambda x, print '%.8f' % reduce(...
File "/tmp/tmpf26pfby8/tmpmc20ws9k.py", line 6 p1 = [] ^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s335429401
p02382
u933096856
1505787067
Python
Python3
py
Runtime Error
0
0
183
while True: n = int( input() ) if n==0: break a=list(map(int, input().split())) m=sum(a)/n s=0 for i in a: s+=(i-m)**2 print( ( s/n)**0.5 )
Traceback (most recent call last): File "/tmp/tmpwyox7iwu/tmpa0al1wlc.py", line 2, in <module> n = int( input() ) ^^^^^^^ EOFError: EOF when reading a line
s830768776
p02382
u748921161
1509178910
Python
Python3
py
Runtime Error
20
8032
855
import math def str2list(str): result = [] for value in str.split(' '): result.append(int(value)) return result def distance1(n, x, y): result = 0 for i in range(n): result += abs(x[i] - y[i]) return result def distance2(n, x, y): result = 0 for i in range(n): result += (x[i] - y[i]) * (x[i] - y[i]...
Traceback (most recent call last): File "/tmp/tmpyc969thq/tmpbsgb2bwm.py", line 38, in <module> n = int(input()); ^^^^^^^ EOFError: EOF when reading a line
s981655504
p02382
u748921161
1509179389
Python
Python3
py
Runtime Error
0
0
1711
import math def str2list(str): result = [] for value in str.split(' '): result.append(int(value)) return result def distance1(n, x, y): result = 0 for i in range(n): result += abs(x[i] - y[i]) return result def distance2(n, x, y): result = 0 for i in range(n): result += (x[i] - y[i]) * (x[i] - y[i]...
Traceback (most recent call last): File "/tmp/tmph2dukjex/tmpo901enhi.py", line 38, in <module> n = int(input()); ^^^^^^^ EOFError: EOF when reading a line
s531468532
p02382
u748921161
1509179413
Python
Python3
py
Runtime Error
20
8044
855
import math def str2list(str): result = [] for value in str.split(' '): result.append(int(value)) return result def distance1(n, x, y): result = 0 for i in range(n): result += abs(x[i] - y[i]) return result def distance2(n, x, y): result = 0 for i in range(n): result += (x[i] - y[i]) * (x[i] - y[i]...
Traceback (most recent call last): File "/tmp/tmpyu97jlij/tmpz_kgyy0b.py", line 38, in <module> n = int(input()); ^^^^^^^ EOFError: EOF when reading a line
s335474173
p02382
u426534722
1516026097
Python
Python3
py
Runtime Error
0
0
327
from math import * import numpy as np input() P1 = [] P2 = [] P3 = [] for a, b in zip(map(int, input().split()), map(int, input().split())): t = abs(a - b) P1.append(t) P2.append(t ** 2) P3.append(t ** 3) print("{:f}".format(sum(P1))) print(sqrt(sum(P2))) print(np.cbrt(sum(P3))) print("{:f}".format(max(...
Traceback (most recent call last): File "/tmp/tmpy3w05l9e/tmppo8jj93q.py", line 3, in <module> input() EOFError: EOF when reading a line
s215620476
p02382
u150984829
1516427649
Python
Python3
py
Runtime Error
0
0
178
n=int(input()) x,y=[list(map(int,input().split()))for in range(2)] d=[abs(s-t)for s,t in zip(x,y)] f=lambda n:sum([s**n for s in d])**(1/n) print(f(1),f(2),f(3),max(d),sep='\n')
File "/tmp/tmpt4d087xy/tmpeealev7x.py", line 2 x,y=[list(map(int,input().split()))for in range(2)] ^^ SyntaxError: invalid syntax
s430099767
p02382
u027874809
1523330346
Python
Python3
py
Runtime Error
0
0
564
import math import numpy as np s = int(input()) all_list = [] for _ in range(2): all_list.append(list(map(float, input().split()))) p1 = sum([math.fabs(x - y) for x, y in zip(all_list[0], all_list[1])]) p2 = math.sqrt(sum([(math.fabs(x - y))**2 for x, y in zip(all_list[0], all_list[1])])) p3 = np.cbrt(sum([(mat...
Traceback (most recent call last): File "/tmp/tmpk_fboyxv/tmp93pka3g2.py", line 4, in <module> s = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s527953400
p02382
u682153677
1524395031
Python
Python3
py
Runtime Error
0
0
431
# -*- coding: utf-8 -*- import math n = int(input()) x = list(map(float, input().split())) y = list(map(float, input().split())) abs_xy = [] for i in range(n): abs_xy.append(abs(x[i] - y[i])) d1 = sum(abs_xy) d2 = 0 for i in range(n): d2 += abs_xy * abs_xy d2 = math.sqrt(d2) d3 = 0 for i in range(n): ...
Traceback (most recent call last): File "/tmp/tmpk9nnvix8/tmp6j6fvrmz.py", line 5, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s873980543
p02382
u592529978
1526521633
Python
Python
py
Runtime Error
0
0
117
n=map(int,raw_input().split()) x1, y1, x2, y2 = map(float, raw_input().split()) print ((x1-x2)**2 + (y1-y2)**2)**0.5
Traceback (most recent call last): File "/tmp/tmpnx3keh5r/tmptwtkxspf.py", line 1, in <module> n=map(int,raw_input().split()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s420733353
p02382
u995990363
1528451681
Python
Python3
py
Runtime Error
0
0
275
import math def mink(x,y,p): return (sum([math.fabs(_x - _y)**p for _x, _y in zip(x,y)]))**(1/p) n = int(input()) x = [int(i) for i in input().split()] y = [int(i) for i in input().split()] print(mink(x,y,1)) print(mink(x,y,2)) print(mink(x,y,3)) print(mink(x,y,10**9))
Traceback (most recent call last): File "/tmp/tmph8gypmjs/tmpm4e3f5t0.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s215178484
p02383
u869301406
1530963392
Python
Python3
py
Runtime Error
0
0
2187
class Dice(object): def __init__(self, d): self.rows = [d[0], d[4], d[5], d[1]] self.cols = [d[0], d[2], d[5], d[3]] def move_next_rows(self): temp = self.rows.pop(0) self.rows.append(temp) self.__update(self.cols, self.rows) def move_prev_rows(self): te...
Traceback (most recent call last): File "/tmp/tmpqabtkmpv/tmpzi_h_c80.py", line 78, in <module> d1 = list(map(int, input().split(" "))) ^^^^^^^ EOFError: EOF when reading a line
s634420672
p02383
u744506422
1540293093
Python
Python3
py
Runtime Error
0
0
1435
c1=[int(i) for i in input().split()] c2=[int(i) for i in input().split()] d=[(0,0,1),(-1,0,0),(0,1,0),(0,-1,0),(1,0,0),(0,0,-1)] def crosspro(y,x): return (y[1]*x[2]-y[2]*x[1],y[2]*x[0]-y[0]*x[2],y[0]*x[1]-y[1]*x[0]) def north(r): res=[] for p in r: res.append((p[2],p[1],-p[0])) return res def s...
Traceback (most recent call last): File "/tmp/tmphq_0kr_x/tmparplo_rn.py", line 1, in <module> c1=[int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s908863258
p02383
u482227082
1558921936
Python
Python3
py
Runtime Error
0
0
1044
class Cube: def __init__(self, u, s, e, w, n, d): self.u = u self.s = s self.e = e self.w = w self.n = n self.d = d def rotate(self, dic): if dic == "N": tmp = self.u self.u = self.s self.s = self.d self.d =...
File "/tmp/tmp_3vnniqe/tmpw844uwo3.py", line 48 main( ^ SyntaxError: '(' was never closed
s263985044
p02383
u142359205
1559075378
Python
Python3
py
Runtime Error
0
0
970
## サイコロ d1, d2, d3, d4, d5, d6 = input().split() dice = { '1': d1, '2': d2, '3': d3, '4': d4, '5': d5, '6': d6 } spin_dict = { '1' : { 's' : '6', #上 'n' : '2', #下 'e' : '4', #左 'w' : '3', #右 }, '2' : { 's' : '1', #上 'n' : '6', #下 ...
Traceback (most recent call last): File "/tmp/tmp2v6y2yam/tmpc7gyktld.py", line 3, in <module> d1, d2, d3, d4, d5, d6 = input().split() ^^^^^^^ EOFError: EOF when reading a line
s499884854
p02383
u142359205
1559075637
Python
Python3
py
Runtime Error
0
0
960
## サイコロ d1, d2, d3, d4, d5, d6 = input().split() dice = { '1': d1, '2': d2, '3': d3, '4': d4, '5': d5, '6': d6 } spin_dict = { '1' : { 's' : '6', #上 'n' : '2', #下 'e' : '4', #左 'w' : '3', #右 }, '2' : { 's' : '1', #上 'n' : '6', #下 ...
Traceback (most recent call last): File "/tmp/tmpi0uyy3oc/tmp8cdxkze0.py", line 3, in <module> d1, d2, d3, d4, d5, d6 = input().split() ^^^^^^^ EOFError: EOF when reading a line
s489151136
p02383
u535719732
1559323836
Python
Python3
py
Runtime Error
0
0
1053
class Dice(): def __init__(self,data): self.number = data def rota_S(self): self.number[0],self.number[1],self.number[5],self.number[4] = self.number[1],self.$ def rota_E(self): self.number[0],self.number[2],self.number[5],self.number[3] = self.nu...
File "/tmp/tmpmvxxb2m4/tmpxb_157j2.py", line 6 self.number[0],self.number[1],self.number[5],self.number[4] = self.number[1],self.$ ^ SyntaxError: invalid syntax
s292423825
p02383
u535719732
1559323860
Python
Python3
py
Runtime Error
0
0
1413
GNU nano 2.9.3 a.py class Dice(): def __init__(self,data): self.number = data def rota_S(self): ...
File "/tmp/tmpg9dwkb95/tmpmzvsuo9a.py", line 2 GNU nano 2.9.3 a.py IndentationError: unexpected indent
s383734497
p02383
u881310147
1408158037
Python
Python
py
Runtime Error
0
0
1460
class Dice(object): def __init__(self, top, south, east, west, north, bottom): self.top = top self.south = south self.east = east self.west = west self.north = north self.bottom = bottom def rollN(self): prevN = self.north prevB = self.bottom ...
File "/tmp/tmpbzug803o/tmpm_qg5gmj.py", line 57 print diceI.top ^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s340058401
p02383
u881310147
1408158198
Python
Python
py
Runtime Error
0
0
1462
class Dice(object): def __init__(self, top, south, east, west, north, bottom): self.top = top self.south = south self.east = east self.west = west self.north = north self.bottom = bottom def rollN(self): prevN = self.north prevB = self.bottom ...
File "/tmp/tmpbgm59pkz/tmpejkeg598.py", line 57 print diceI.top ^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s649247442
p02383
u881310147
1408158329
Python
Python
py
Runtime Error
0
0
1462
class Dice(object): def __init__(self, top, south, east, west, north, bottom): self.top = top self.south = south self.east = east self.west = west self.north = north self.bottom = bottom def rollN(self): prevN = self.north prevB = self.bottom ...
File "/tmp/tmpce7sp6ti/tmpm2hqjmtt.py", line 57 print diceI.top ^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s305085329
p02383
u067975558
1423706176
Python
Python3
py
Runtime Error
0
0
951
class Dice: def __init__(self, data): self.data = data def move(self, direction): if direction == 'E': self.data[0],self.data[3], self.data[5], self.data[2] = \ self.data[3],self.data[5], self.data[2], self.data[0] elif direction == 'N': self.dat...
Traceback (most recent call last): File "/tmp/tmp_876d0yz/tmp4jt9a77v.py", line 23, in <module> dice = Dice.Dice(input().split()) ^^^^^^^^^ AttributeError: type object 'Dice' has no attribute 'Dice'
s515462035
p02383
u067975558
1423706206
Python
Python3
py
Runtime Error
0
0
951
class Dice: def __init__(self, data): self.data = data def move(self, direction): if direction == 'E': self.data[0],self.data[3], self.data[5], self.data[2] = \ self.data[3],self.data[5], self.data[2], self.data[0] elif direction == 'N': self.dat...
Traceback (most recent call last): File "/tmp/tmpp2fzvn7x/tmpkwic4ff4.py", line 23, in <module> dice = Dice.Dice(input().split()) ^^^^^^^^^ AttributeError: type object 'Dice' has no attribute 'Dice'
s645374640
p02383
u297342993
1423706303
Python
Python3
py
Runtime Error
0
0
1189
class Dice: def __init__(self, data): self.data = data def move(self, direction): if direction == 'E': self.data[0],self.data[3],self.data[5],self.data[2] = \ ...
File "/tmp/tmpky2ojhy6/tmp4l16de6o.py", line 8 self.data[0],self.data[3],self.data[5],self.data[2] = \ ^ SyntaxError: unexpected character after line continuation character
s984847980
p02383
u067975558
1423706322
Python
Python3
py
Runtime Error
0
0
950
class Dice: def __init__(self, data): self.data = data def move(self, direction): if direction == 'E': self.data[0],self.data[3], self.data[5], self.data[2] = \ self.data[3],self.data[5], self.data[2], self.data[0] elif direction == 'N': self.dat...
Traceback (most recent call last): File "/tmp/tmps8c71x6y/tmpanf6okoy.py", line 22, in <module> dice = Dice.Dice(input().split()) ^^^^^^^^^ AttributeError: type object 'Dice' has no attribute 'Dice'
s721596649
p02383
u823030818
1423706378
Python
Python3
py
Runtime Error
0
0
1139
class Dice: def _init_ (self,data): self.data = data def move(self,direction): if direction == 'E': self.data[0],self.data[3],self.data[5],self.data[2] = \ self.data[3].self.data[5],self.data[2],self.data[0] """tmp = self.data[0] self.dat...
Traceback (most recent call last): File "/tmp/tmpxnz5xvy7/tmp63kzcm0i.py", line 28, in <module> dice = Dice.Dice(input().split()) ^^^^^^^^^ AttributeError: type object 'Dice' has no attribute 'Dice'
s790549539
p02383
u823030818
1423706512
Python
Python3
py
Runtime Error
0
0
950
class Dice: def _init_ (self,data): self.data = data def move(self,direction): if direction == 'E': self.data[0],self.data[3],self.data[5],self.data[2] = \ self.data[3].self.data[5],self.data[2],self.data[0] elif direction == 'N': self.data[0]...
Traceback (most recent call last): File "/tmp/tmposnmlizb/tmpe2y6dwik.py", line 22, in <module> dice = Dice.Dice(input().split()) ^^^^^^^^^ AttributeError: type object 'Dice' has no attribute 'Dice'
s288922674
p02383
u823030818
1423706588
Python
Python3
py
Runtime Error
0
0
950
class Dice: def _init_ (self,data): self.data = data def move(self,direction): if direction == 'E': self.data[0],self.data[3],self.data[5],self.data[2] = \ self.data[3].self.data[5],self.data[2],self.data[0] elif direction == 'N': self.data[0]...
Traceback (most recent call last): File "/tmp/tmpgxdyyap_/tmp5v_99p7y.py", line 22, in <module> dice = Dice.dice(input().split()) ^^^^^^^^^ AttributeError: type object 'Dice' has no attribute 'dice'
s713215302
p02383
u823030818
1423706668
Python
Python3
py
Runtime Error
0
0
950
class Dice: def _init_ (self,data): self.data = data def move(self,direction): if direction == 'E': self.data[0],self.data[3],self.data[5],self.data[2] = \ self.data[3].self.data[5],self.data[2],self.data[0] elif direction == 'N': self.data[0]...
Traceback (most recent call last): File "/tmp/tmpb0vdsrka/tmpznv8xyq4.py", line 22, in <module> dice = Dice.Dice(input().split()) ^^^^^^^^^ AttributeError: type object 'Dice' has no attribute 'Dice'
s215542630
p02383
u823030818
1423706977
Python
Python3
py
Runtime Error
0
0
945
class Dice: def _init_ (self,data): self.data = data def move(self,direction): if direction == 'E': self.data[0],self.data[3],self.data[5],self.data[2] = \ self.data[3].self.data[5],self.data[2],self.data[0] elif direction == 'N': self.data[0]...
Traceback (most recent call last): File "/tmp/tmp21yrl69h/tmp2dadlz10.py", line 22, in <module> dice = Dice(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s367519334
p02383
u823030818
1423707077
Python
Python3
py
Runtime Error
0
0
933
def _init_ (self,data): self.data = data def move(self,direction): if direction == 'E': self.data[0],self.data[3],self.data[5],self.data[2] = \ self.data[3].self.data[5],self.data[2],self.data[0] elif direction == 'N': self.data[0],self.data[4...
File "/tmp/tmpxur8li6m/tmp1tvl177o.py", line 1 def _init_ (self,data): IndentationError: unexpected indent
s461572633
p02383
u823030818
1423707166
Python
Python3
py
Runtime Error
0
0
945
def _init_ (self,data): self.data = data class Dice: def move(self,direction): if direction == 'E': self.data[0],self.data[3],self.data[5],self.data[2] = \ self.data[3].self.data[5],self.data[2],self.data[0] elif direction == 'N': self.data[0]...
File "/tmp/tmp4_ud000w/tmpp8y23q2k.py", line 1 def _init_ (self,data): IndentationError: unexpected indent
s895132340
p02383
u823030818
1423707779
Python
Python3
py
Runtime Error
0
0
946
def __init__ (self,data): self.data = data class Dice: def move(self,direction): if direction == 'E': self.data[0],self.data[3],self.data[5],self.data[2] = \ self.data[3],self.data[5],self.data[2],self.data[0] elif direction == 'N': self.data[...
File "/tmp/tmp81x827xj/tmpiftqf9nj.py", line 1 def __init__ (self,data): IndentationError: unexpected indent
s749689401
p02383
u823030818
1423707957
Python
Python3
py
Runtime Error
0
0
956
class Dice: def __init__ (self,data): self.data = data def move(self,direction): if direction == 'E': self.data[0],self.data[3],self.data[5],self.data[2] = \ self.data[3],self.data[5],self.data[2],self.data[0] elif direction == 'N': self.data[...
File "/tmp/tmptky43z7h/tmpxct2pdic.py", line 22 from Dice ^ SyntaxError: invalid syntax
s809308242
p02383
u823030818
1423708217
Python
Python3
py
Runtime Error
0
0
936
def __init__ (self,data): self.data = data def move(self,direction): if direction == 'E': self.data[0],self.data[3],self.data[5],self.data[2] = \ self.data[3],self.data[5],self.data[2],self.data[0] elif direction == 'N': self.data[0],self.dat...
File "/tmp/tmpieom43zg/tmpl76to9zh.py", line 2 def __init__ (self,data): IndentationError: unexpected indent
s785373509
p02383
u370429022
1426605696
Python
Python3
py
Runtime Error
0
0
1078
# 1: top, 2: front, 3: right, # 4: left, 5: back, 6: bottom class Dice: def __init__(self, nums): self.top, self.front, self.right, self.left, self.back, self.bottom = nums def roll(self, direction): if direction == 'E': self.top, self.right, self.left, self.bottom = self.left, sel...
Traceback (most recent call last): File "/tmp/tmp5jlbbvni/tmp708s8dn1.py", line 29, in <module> nums = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s111494198
p02383
u140201022
1431447936
Python
Python
py
Runtime Error
0
0
1239
#!/usr/bin/env python # -*- coding: UTF-8 -*- import time import sys import io import re import math import itertools #sys.stdin=file('input.txt') #sys.stdout=file('output.txt','w') #10**9+7 mod=1000000007 #mod=1777777777 pi=3.141592653589 xy=[(1,0),(-1,0),(0,1),(0,-1)] bs=[(-1,-1),(-1,1),(1,1),(1,-1)] #start = time.cl...
File "/tmp/tmpn45spaxu/tmp9pct7_is.py", line 39 print 'Yes' ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s319773427
p02383
u633068244
1433167319
Python
Python
py
Runtime Error
0
0
1309
import random class Dice: def __init__(self, ls): self.top, self.bottom = ls[0], ls[5] self.right, self.left = ls[2], ls[3] self.front, self.back = ls[1], ls[4] def rot(self, d): if d == "N": (self.top, self.back, self.bottom, self.front) = ( sel...
File "/tmp/tmp5j1emxwa/tmpg1hvfqie.py", line 42 print "Yes" if judge else "No" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s262089088
p02383
u777299405
1435836331
Python
Python3
py
Runtime Error
0
0
1072
class Dice: def __init__(self, faces): self.faces = tuple(faces) def roll_north(self): self.faces = (self.faces[1], self.faces[5], self.faces[2], self.faces[3], self.faces[0], self.faces[4]) def roll_south(self): self.faces = (self.faces[4], self.faces[0], se...
Traceback (most recent call last): File "/tmp/tmp7aamzs5l/tmp_dwjyiis.py", line 26, in <module> dice = Dice(list(map(int, input().split))) ^^^^^^^ EOFError: EOF when reading a line
s892577209
p02383
u609407244
1436089353
Python
Python3
py
Runtime Error
0
0
490
axis_1 = '0154' * 2 # 2 -> 3 axis_2 = '0253' * 2 # 4 -> 1 axis_3 = '3124' * 2 # 0 -> 5 right = [axis_3, axis_2[::-1], axis_1, axis_1[::-1], axis_2, axis_3[::-1], ] a = list(map(int, input().split())) n = int(input()) for _ in range(n): top, front = map(a.index, map(int, input().split())) x = '%d%d' % (top, ...
Traceback (most recent call last): File "/tmp/tmpeac76xf6/tmpjjvnea9a.py", line 6, in <module> a = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s875646152
p02383
u938745275
1440919594
Python
Python
py
Runtime Error
0
0
1324
class Dice: def __init__(self, list = map(str, range(1, 7))): self.top = list[0] self.front = list[1] self.right = list[2] self.left = list[3] self.back = list[4] self.bottom = list[5] def print_all(self): print "top = " + self.top print "front = " + self.front print "right = " ...
File "/tmp/tmphk0oik2a/tmphp2dirj7.py", line 11 print "top = " + self.top ^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s663833964
p02383
u938745275
1440919618
Python
Python
py
Runtime Error
0
0
1324
class Dice: def __init__(self, list = map(str, range(1, 7))): self.top = list[0] self.front = list[1] self.right = list[2] self.left = list[3] self.back = list[4] self.bottom = list[5] def print_all(self): print "top = " + self.top print "front = " + self.front print "right = " ...
File "/tmp/tmppwb8sejn/tmpk07ezs5o.py", line 11 print "top = " + self.top ^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s797913244
p02383
u467309160
1443585706
Python
Python3
py
Runtime Error
0
0
1300
class Dice: ?? ????????def __init__(self, faces): ????????????????self.faces = tuple(faces) ?? ????????def roll_north(self): ????????????????self.faces = (self.faces[1], self.faces[5], self.faces[2], ????????????????????????????????????????????self.faces[3], self.faces[0], self.faces[4]) ?? ????????def roll_south(self)...
File "/tmp/tmp4j9lqe7f/tmpkz1xwnfw.py", line 2 ?? ^ IndentationError: expected an indented block after class definition on line 1
s131601599
p02383
u224288634
1445083468
Python
Python
py
Runtime Error
0
0
735
class Dice(object): def __init__(self,List): self.face=List def n_spin(List): temp=List[0] List[0]=List[1] List[1]=List[5] List[5]=List[4] List[4]=temp def s_spin(List): temp=List[0] List[0]=List[4] List[4]=List[5] List[5]=List[1] List[1]=temp def e_spin(lList): temp=List[0] List[0]=Li...
File "/tmp/tmpt10on2hx/tmpgbuts8y5.py", line 33 dice = Dice(map(int,raw_input().split()) ^ SyntaxError: '(' was never closed
s378146594
p02383
u569960318
1464764207
Python
Python3
py
Runtime Error
0
0
1694
class dice: def __init__(self,label): self.d = label def roll(self,op): d = self.d if op=='N': self.d = [d[1],d[5],d[2],d[3],d[0],d[4]] elif op=='E': self.d = [d[3],d[1],d[0],d[5],d[4],d[2]] elif op=='W': self.d = [d[2],d[1],d[5],d[0],d[4],d[3]] elif op=='S': se...
Traceback (most recent call last): File "/tmp/tmpvazbwfat/tmpnu8m79fe.py", line 39, in <module> label = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s166233297
p02383
u427088273
1466651716
Python
Python
py
Runtime Error
0
0
1031
class Dice : def __init__(self,num): self.num = num def move_E(self): self.copy = self.num.copy() for i,j in zip([0,2,5,3],[3,0,2,5]): self.num[i] = self.copy[j] def move_W(self): self.copy = self.num.copy() for i,j in zip([0,3,5,2],[2,0,3,5]): ...
Traceback (most recent call last): File "/tmp/tmpcea02a6b/tmpgwzjjr50.py", line 27, in <module> number = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s695788319
p02383
u358919705
1471810077
Python
Python3
py
Runtime Error
0
0
1996
class Dice: def __init__(self, labels): self.labels = labels self.up = labels[0] self.front = labels[1] self.right = labels[2] self.left = labels[3] self.back = labels[4] self.down = labels[5] def east(self): self.up, self.right, self.down, self.le...
Traceback (most recent call last): File "/tmp/tmp7xqnlg9d/tmpddt2_bsk.py", line 44, in <module> dice_1 = Dice(list(map(int, input().split()))) ^^^^^^^ EOFError: EOF when reading a line
s939349597
p02383
u998435601
1473777756
Python
Python3
py
Runtime Error
0
0
820
# coding: utf-8 # ?????????????????¨???????????? class Dice(object): def __init__(self): # ???????????????????????° # ????????¶??? self.x = [2, 5] self.y = [3, 4] self.z = [1, 6] SN = {'S': 0, 'N': 1} WE = {'W': 0, 'E': 1} pass def rotate(self, _dir): def rot(_k, _r): return list(reversed(_r)), ...
Traceback (most recent call last): File "/tmp/tmpui6buwvn/tmp350phidy.py", line 36, in <module> val = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s260131759
p02383
u391228754
1476175819
Python
Python3
py
Runtime Error
0
0
1437
class Dice: def __init__(self, faces): self.faces = tuple(faces) def roll_north(self): self.faces = (self.faces[1], self.faces[5], self.faces[2], self.faces[3], self.faces[0], self.faces[4]) def roll_south(self): self.faces = (self.faces[4], self.faces[0],...
Traceback (most recent call last): File "/tmp/tmpadqwkt1a/tmpi458gmoq.py", line 34, in <module> dice1 = Dice(list(map(int, input().split()))) ^^^^^^^ EOFError: EOF when reading a line
s506648171
p02383
u831244171
1478272489
Python
Python3
py
Runtime Error
0
0
972
class Dice(object): def __init__(self): self.upside = 1 self.frontside = 2 self.rightside = 3 self.backside = 4 self.leftside = 5 self.downside = 6 def throwDice(self,dir): up = self.upside front = self.frontside left = self.leftside if dir == "S": self.frontside = up self.backside...
File "/tmp/tmpr_ku4m4_/tmpourz1za6.py", line 4 self.frontside = 2 TabError: inconsistent use of tabs and spaces in indentation
s462125031
p02383
u831244171
1478272515
Python
Python3
py
Runtime Error
0
0
975
class Dice(object): def __init__(self): self.upside = 1 self.frontside = 2 self.rightside = 3 self.backside = 4 self.leftside = 5 self.downside = 6 def throwDice(self,dir): up = self.upside front = self.frontside left = self.leftside if dir == "S": self.frontside = up self.backside...
File "/tmp/tmppkr7ngrw/tmpjrfxc627.py", line 4 self.frontside = 2 TabError: inconsistent use of tabs and spaces in indentation
s397068474
p02383
u831244171
1478322745
Python
Python3
py
Runtime Error
0
0
1475
def whatIsRight(u,f): r = 0 if u == 1: if f == 2: r = 3 elif f == 3: r = 5 elif f == 4: r = 2 elif f == 5: r = 4 return r if u == 2: if f == 6: r = 3 elif f == 3: r = 1 ...
File "/tmp/tmpn03y_z59/tmp5_dllvx5.py", line 56 return r TabError: inconsistent use of tabs and spaces in indentation
s326095950
p02383
u801346721
1479113117
Python
Python3
py
Runtime Error
0
0
1051
a = list(map(int, input().split())) O = input() class dice(): def __init__(self, dice): self.dice = dice def S(): one = self.dice[4] two = self.dice[0] five = self.dice[5] six = self.dice[1] InsSN(one, two, five, six) def InsSN(one, two, five, six): self.dice[0] = one self.dice[1] = two self.dice...
Traceback (most recent call last): File "/tmp/tmp_yhga6mz/tmp56apzmox.py", line 1, in <module> a = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s878480299
p02383
u801346721
1479113201
Python
Python3
py
Runtime Error
0
0
1045
a = list(map(int, input().split())) O = input() class Dice(): def __init__(self, d): self.dice = d def S(): one = self.dice[4] two = self.dice[0] five = self.dice[5] six = self.dice[1] InsSN(one, two, five, six) def InsSN(one, two, five, six): self.dice[0] = one self.dice[1] = two self.dice[4] = ...
Traceback (most recent call last): File "/tmp/tmptw0h0q3_/tmpui7txqzm.py", line 1, in <module> a = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s200233044
p02383
u801346721
1479113358
Python
Python3
py
Runtime Error
0
0
1073
a = list(map(int, input().split())) O = input() class Dice(): def __init__(self, d): self.dice = d def S(self): one = self.dice[4] two = self.dice[0] five = self.dice[5] six = self.dice[1] InsSN(one, two, five, six) def InsSN(self, one, two, five, six): self.dice[0] = one self.dice[1] = two self....
Traceback (most recent call last): File "/tmp/tmp4y7xxdjr/tmpvzgzt_in.py", line 1, in <module> a = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s649259932
p02383
u801346721
1479113553
Python
Python3
py
Runtime Error
0
0
1067
d = list(map(int, input().split())) O = input() class Dice(): def __init__(self, d): self.dice = d def S(self): one = self.dice[4] two = self.dice[0] five = self.dice[5] six = self.dice[1] InsSN(one, two, five, six) def InsSN(self, one, two, five, six): self.dice[0] = one self.dice[1] = two self....
Traceback (most recent call last): File "/tmp/tmpa584hgeu/tmpvqpjl7jb.py", line 1, in <module> d = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s582475067
p02383
u494314211
1481449500
Python
Python3
py
Runtime Error
0
0
408
d=list(map(int,input().split())) c=list(input()) class dice(object): def __init__(self, d): self.d = d def roll(self,com): a1,a2,a3,a4,a5,a6=self.d if com=="E": self.d = [a4,a2,a1,a6,a5,a3] elif com=="W": self.d = [a3,a2,a6,a1,a5,a4] elif com=="S": self.d = [a5,a1,a3,a4,a6,a2] elif com=="N": ...
Traceback (most recent call last): File "/tmp/tmpfin_fes3/tmp0m6544zw.py", line 1, in <module> d=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s515806848
p02383
u918276501
1484496752
Python
Python3
py
Runtime Error
0
0
512
class Dice: def __init__(self, f): self.f = f # f = face := (top, sud, est, west, nord, botm) dict = {'S' : (4, 0, 2, 3, 5, 1), \ 'E' : (3, 1, 0, 5, 4, 2), \ 'W' : (3, 1, 2, 3, 4, 5), \ 'N' : (1, 5, 2, 3, 0, 4) } def turn(self, c): ...
Traceback (most recent call last): File "/tmp/tmpv779tkd1/tmpni4n8tba.py", line 18, in <module> face = list(map(int, input().strip().split())) ^^^^^^^ EOFError: EOF when reading a line
s476771077
p02383
u513411598
1485104622
Python
Python3
py
Runtime Error
20
7584
2372
class Dice: __top = 0 __front = 1 __right = 2 __left = 3 __back = 4 __bottom = 5 def __init__(self, a, b, c, d, e, f): self.__dice = [a,b,c,d,e,f] self.__dice[Dice.__top] = a self.__dice[Dice.__front] = b self.__dice[Dice.__right] = c self.__dice[Dic...
Traceback (most recent call last): File "/tmp/tmpuzcqpec0/tmpytq13vfg.py", line 58, in <module> a,b,c,d,e,f = input().split() ^^^^^^^ EOFError: EOF when reading a line
s393993789
p02383
u519227872
1486394331
Python
Python3
py
Runtime Error
0
0
1515
class Dice: def __init__(self,l1,l2,l3,l4,l5,l6): self.l1 = l1 self.l2 = l2 self.l3 = l3 self.l4 = l4 self.l5 = l5 self.l6 = l6 self.top = 1 self.front = 2 self.right = 3 def get_up_front(self): return eval("("+"self." + 'l' + str(...
Traceback (most recent call last): File "/tmp/tmpdj7x8zix/tmpkpbbxy7_.py", line 40, in <module> l = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s572016430
p02383
u144068724
1487044619
Python
Python3
py
Runtime Error
0
0
357
class Dice: u,s,e,w,n,b = map(int,input().split()) roll = input() for i in range(len(data)): if roll[i] == E: tmp = e e = u u = w w = b b = tmp elif roll[i] == S: tmp = s s = u u = n n = b b = tmp elif roll[i] == W: tmp = w w = u u = e e = b b = tmp elif roll[i] == N: tmp = n n = ...
File "/tmp/tmpbmhyynep/tmp1yu74d8f.py", line 3 u,s,e,w,n,b = map(int,input().split()) ^ IndentationError: expected an indented block after class definition on line 1
s660417806
p02383
u144068724
1487044690
Python
Python3
py
Runtime Error
0
0
357
class Dice: u,s,e,w,n,b = map(int,input().split()) roll = input() for i in range(len(roll)): if roll[i] == E: tmp = e e = u u = w w = b b = tmp elif roll[i] == S: tmp = s s = u u = n n = b b = tmp elif roll[i] == W: tmp = w w = u u = e e = b b = tmp elif roll[i] == N: tmp = n n = ...
File "/tmp/tmpbo4nxkjc/tmps04e5f2q.py", line 3 u,s,e,w,n,b = map(int,input().split()) ^ IndentationError: expected an indented block after class definition on line 1
s857816515
p02383
u144068724
1487044707
Python
Python3
py
Runtime Error
0
0
357
class Dice: u,s,e,w,n,b = map(int,input().split()) roll = input() for i in range(len(roll)): if roll[i] == E: tmp = e e = u u = w w = b b = tmp elif roll[i] == S: tmp = s s = u u = n n = b b = tmp elif roll[i] == W: tmp = w w = u u = e e = b b = tmp elif roll[i] == N: tmp = n n = ...
File "/tmp/tmp50zfdajs/tmpf9chs9vn.py", line 3 u,s,e,w,n,b = map(int,input().split()) ^ IndentationError: expected an indented block after class definition on line 1
s755267896
p02383
u144068724
1487044729
Python
Python3
py
Runtime Error
0
0
345
class Dice: u,s,e,w,n,b = map(int,input().split()) roll = input() for i in roll: if roll[i] == E: tmp = e e = u u = w w = b b = tmp elif roll[i] == S: tmp = s s = u u = n n = b b = tmp elif roll[i] == W: tmp = w w = u u = e e = b b = tmp elif roll[i] == N: tmp = n n = u u = s ...
File "/tmp/tmpe33gjjw4/tmpaus8zhqq.py", line 3 u,s,e,w,n,b = map(int,input().split()) ^ IndentationError: expected an indented block after class definition on line 1
s746999334
p02383
u144068724
1487044770
Python
Python3
py
Runtime Error
0
0
321
class Dice: u,s,e,w,n,b = map(int,input().split()) roll = input() for i in roll: if i == E: tmp = e e = u u = w w = b b = tmp elif i == S: tmp = s s = u u = n n = b b = tmp elif i == W: tmp = w w = u u = e e = b b = tmp elif i == N: tmp = n n = u u = s s = b b = tmp print(u...
File "/tmp/tmpsafn5xy_/tmp_c1dqjot.py", line 3 u,s,e,w,n,b = map(int,input().split()) ^ IndentationError: expected an indented block after class definition on line 1
s683063633
p02383
u042885182
1493915640
Python
Python3
py
Runtime Error
0
0
3523
# coding: utf-8 # Here your code ! import sys import collections import unittest def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: return __input_error() dice = CubicArbitraryValueDice(faces[0], fac...
Traceback (most recent call last): File "/tmp/tmpeve9slo6/tmpqr0zfkyj.py", line 57, in <module> class __TestValueClass(unittest.TestCase): File "/tmp/tmpeve9slo6/tmpqr0zfkyj.py", line 58, in __TestValueClass def testEqual(self, func, tuples, eff_digit = math.nan, print_success = False): ...
s646258600
p02383
u042885182
1493915999
Python
Python3
py
Runtime Error
0
0
3543
# coding: utf-8 # Here your code ! import sys import collections import unittest def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: return __input_error() dice = CubicArbitraryValueDice(faces[0], fac...
Traceback (most recent call last): File "/tmp/tmp90q1px6n/tmp779h59_i.py", line 58, in <module> class __TestValueClass(unittest.TestCase): File "/tmp/tmp90q1px6n/tmp779h59_i.py", line 59, in __TestValueClass def testEqual(self, func, tuples, eff_digit = math.nan, print_success = False): ...
s315293067
p02383
u042885182
1493916043
Python
Python3
py
Runtime Error
0
0
3545
# coding: utf-8 # Here your code ! import sys import collections import unittest def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: return __input_error() dice = CubicArbitraryValueDice(faces[0], fac...
Traceback (most recent call last): File "/tmp/tmpqp_sphf3/tmprrxtg_fv.py", line 58, in <module> class __TestValueClass(unittest.TestCase): File "/tmp/tmpqp_sphf3/tmprrxtg_fv.py", line 59, in __TestValueClass def testEqual(self, func, tuples, eff_digit = math.nan, print_success = False): ...
s270939336
p02383
u042885182
1493916066
Python
Python3
py
Runtime Error
0
0
3546
# coding: utf-8 # Here your code ! import sys import collections import unittest def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: return __input_error() dice = CubicArbitraryValueDice(faces[0], fac...
Traceback (most recent call last): File "/tmp/tmpmhxfzzo5/tmpyizog2au.py", line 58, in <module> class __TestValueClass(unittest.TestCase): File "/tmp/tmpmhxfzzo5/tmpyizog2au.py", line 59, in __TestValueClass def testEqual(self, func, tuples, eff_digit = math.nan, print_success = False): ...
s827781440
p02383
u042885182
1493916091
Python
Python3
py
Runtime Error
0
0
3548
# coding: utf-8 # Here your code ! import sys import collections import unittest def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: return __input_error() # dice = CubicArbitraryValueDice(faces[0], fa...
Traceback (most recent call last): File "/tmp/tmpftcdbbgq/tmpjnjhs92c.py", line 58, in <module> class __TestValueClass(unittest.TestCase): File "/tmp/tmpftcdbbgq/tmpjnjhs92c.py", line 59, in __TestValueClass def testEqual(self, func, tuples, eff_digit = math.nan, print_success = False): ...
s030248222
p02383
u042885182
1493916142
Python
Python3
py
Runtime Error
0
0
3554
# coding: utf-8 # Here your code ! import sys import collections import unittest def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: return __input_error() # dice = CubicArbitraryValueDice(faces[0], fa...
Traceback (most recent call last): File "/tmp/tmp8z08brnm/tmpqwiz_q8s.py", line 58, in <module> class __TestValueClass(unittest.TestCase): File "/tmp/tmp8z08brnm/tmpqwiz_q8s.py", line 59, in __TestValueClass def testEqual(self, func, tuples, eff_digit = math.nan, print_success = False): ...
s756861228
p02383
u042885182
1493916315
Python
Python3
py
Runtime Error
0
0
3524
# coding: utf-8 # Here your code ! import sys import collections import unittest def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: return __input_error() dice = CubicArbitraryValueDice(faces[0], fac...
File "/tmp/tmp9bmptxel/tmpfux2zuwh.py", line 67 else: ^ IndentationError: expected an indented block after 'if' statement on line 65
s719087168
p02383
u042885182
1493916399
Python
Python3
py
Runtime Error
0
0
3526
# coding: utf-8 # Here your code ! import sys import collections import unittest def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: return __input_error() dice = CubicArbitraryValueDice(faces[0], fac...
File "/tmp/tmpcqo_gmha/tmpywc98ycr.py", line 67 else: ^ IndentationError: expected an indented block after 'if' statement on line 65
s913810174
p02383
u042885182
1493916442
Python
Python3
py
Runtime Error
0
0
3527
# coding: utf-8 # Here your code ! import sys import collections import unittest def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: return __input_error() dice = CubicArbitraryValueDice(faces[0], fac...
File "/tmp/tmp0frgjpf3/tmpdrtmn6ns.py", line 67 else: ^ IndentationError: expected an indented block after 'if' statement on line 65
s731355072
p02383
u042885182
1493916491
Python
Python3
py
Runtime Error
0
0
3547
# coding: utf-8 # Here your code ! import sys import collections import unittest def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: return __input_error() dice = CubicArbitraryValueDice(faces[0], fac...
Traceback (most recent call last): File "/tmp/tmp6ulxe31z/tmpz0lcue7s.py", line 57, in <module> class __TestValueClass(unittest.TestCase): File "/tmp/tmp6ulxe31z/tmpz0lcue7s.py", line 58, in __TestValueClass def testEqual(self, func, tuples, eff_digit = math.nan, print_success = False): ...
s453461214
p02383
u042885182
1493916728
Python
Python3
py
Runtime Error
0
0
3644
# coding: utf-8 # Here your code ! import sys import collections import math import unittest def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: return __input_error() dice = CubicArbitraryValueDice(f...
Traceback (most recent call last): File "/tmp/tmpvohvxrn9/tmp81wk36ec.py", line 58, in <module> class __TestValueClass(unittest.TestCase): File "/tmp/tmpvohvxrn9/tmp81wk36ec.py", line 60, in __TestValueClass def testEqual(self, func, tuples, eff_digit = matn.nan, print_success = False): ...
s812969896
p02383
u042885182
1493916751
Python
Python3
py
Runtime Error
0
0
3644
# coding: utf-8 # Here your code ! import sys import collections import math import unittest def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: return __input_error() dice = CubicArbitraryValueDice(f...
input error
s279806567
p02383
u042885182
1493926096
Python
Python3
py
Runtime Error
0
0
4308
# coding: utf-8 # Here your code ! from sys import exit from collections import Iterable from unittest import TestCase import numpy as np def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: ret...
Traceback (most recent call last): File "/tmp/tmpbgos7nsa/tmp31gra137.py", line 4, in <module> from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/root/miniconda3/envs/sandbox-runtime/lib/python3.11/collections/__init__.py)
s704196371
p02383
u042885182
1493926140
Python
Python3
py
Runtime Error
0
0
4314
# coding: utf-8 # Here your code ! from sys import exit from collections import Iterable from unittest import TestCase import numpy as np def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: ret...
Traceback (most recent call last): File "/tmp/tmpkxee_807/tmp_zzxa4hq.py", line 4, in <module> from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/root/miniconda3/envs/sandbox-runtime/lib/python3.11/collections/__init__.py)
s636825971
p02383
u042885182
1493926193
Python
Python3
py
Runtime Error
0
0
4315
# coding: utf-8 # Here your code ! from sys import exit from collections import Iterable from unittest import TestCase import numpy as np def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: ret...
Traceback (most recent call last): File "/tmp/tmp0nxfe12v/tmpl6np2608.py", line 4, in <module> from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/root/miniconda3/envs/sandbox-runtime/lib/python3.11/collections/__init__.py)
s997451496
p02383
u042885182
1493926225
Python
Python3
py
Runtime Error
0
0
4321
# coding: utf-8 # Here your code ! from sys import exit from collections import Iterable from unittest import TestCase import numpy as np def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: ret...
Traceback (most recent call last): File "/tmp/tmpfeujz2gz/tmpr80_xhdv.py", line 4, in <module> from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/root/miniconda3/envs/sandbox-runtime/lib/python3.11/collections/__init__.py)
s161263732
p02383
u042885182
1493926257
Python
Python3
py
Runtime Error
0
0
4321
# coding: utf-8 # Here your code ! from sys import exit from collections import Iterable from unittest import TestCase import numpy as np def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: ret...
Traceback (most recent call last): File "/tmp/tmpz5opl478/tmpiloh58z6.py", line 4, in <module> from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/root/miniconda3/envs/sandbox-runtime/lib/python3.11/collections/__init__.py)
s246425843
p02383
u042885182
1493926308
Python
Python3
py
Runtime Error
0
0
4321
# coding: utf-8 # Here your code ! from sys import exit from collections import Iterable from unittest import TestCase import numpy as np def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: ret...
Traceback (most recent call last): File "/tmp/tmp3m5jptq3/tmpcet1wqpq.py", line 4, in <module> from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/root/miniconda3/envs/sandbox-runtime/lib/python3.11/collections/__init__.py)
s847298560
p02383
u042885182
1493926340
Python
Python3
py
Runtime Error
0
0
4314
# coding: utf-8 # Here your code ! from sys import exit from collections import Iterable from unittest import TestCase import numpy as np def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: ret...
Traceback (most recent call last): File "/tmp/tmpbvvcwiup/tmpn21uhdof.py", line 4, in <module> from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/root/miniconda3/envs/sandbox-runtime/lib/python3.11/collections/__init__.py)
s599636435
p02383
u042885182
1493926429
Python
Python3
py
Runtime Error
0
0
4320
# coding: utf-8 # Here your code ! from sys import exit from collections import Iterable from unittest import TestCase import numpy as np def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: ret...
Traceback (most recent call last): File "/tmp/tmpgkyqcib6/tmpi0tr3wvb.py", line 4, in <module> from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/root/miniconda3/envs/sandbox-runtime/lib/python3.11/collections/__init__.py)
s601725561
p02383
u042885182
1493926491
Python
Python3
py
Runtime Error
0
0
4330
# coding: utf-8 # Here your code ! from sys import exit from collections import Iterable from unittest import TestCase import numpy as np def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: ret...
Traceback (most recent call last): File "/tmp/tmp7yi72pfz/tmpxxhy17lb.py", line 4, in <module> from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/root/miniconda3/envs/sandbox-runtime/lib/python3.11/collections/__init__.py)
s608179599
p02383
u042885182
1493926519
Python
Python3
py
Runtime Error
0
0
4333
# coding: utf-8 # Here your code ! from sys import exit from collections import Iterable from unittest import TestCase import numpy as np def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: ret...
Traceback (most recent call last): File "/tmp/tmpkk1k4ob_/tmpshatlrdu.py", line 4, in <module> from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/root/miniconda3/envs/sandbox-runtime/lib/python3.11/collections/__init__.py)
s664869121
p02383
u042885182
1493926698
Python
Python3
py
Runtime Error
0
0
4336
# coding: utf-8 # Here your code ! from sys import exit from collections import Iterable from unittest import TestCase import numpy def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: return __...
Traceback (most recent call last): File "/tmp/tmp41jhux8t/tmphhjzpnfm.py", line 4, in <module> from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/root/miniconda3/envs/sandbox-runtime/lib/python3.11/collections/__init__.py)
s737997853
p02383
u042885182
1493926745
Python
Python3
py
Runtime Error
0
0
4349
# coding: utf-8 # Here your code ! from sys import exit from collections import Iterable from unittest import TestCase import numpy def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: return __...
Traceback (most recent call last): File "/tmp/tmp0bpvdu_d/tmpzdgc1mti.py", line 4, in <module> from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/root/miniconda3/envs/sandbox-runtime/lib/python3.11/collections/__init__.py)
s218817228
p02383
u042885182
1493926788
Python
Python3
py
Runtime Error
0
0
4348
# coding: utf-8 # Here your code ! from sys import exit from collections import Iterable from unittest import TestCase import numpy def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: return __i...
Traceback (most recent call last): File "/tmp/tmp7roz5u4a/tmpqcv3fvqe.py", line 4, in <module> from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/root/miniconda3/envs/sandbox-runtime/lib/python3.11/collections/__init__.py)
s309951730
p02383
u042885182
1493926817
Python
Python3
py
Runtime Error
0
0
4348
# coding: utf-8 # Here your code ! import numpy from sys import exit from collections import Iterable from unittest import TestCase def top_face_after_rolling_dice(): try: faces = [int(num) for num in input().rstrip().split()] rollings = input().rstrip() except: return __i...
Traceback (most recent call last): File "/tmp/tmpf3emt_7j/tmp44ihuhor.py", line 5, in <module> from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/root/miniconda3/envs/sandbox-runtime/lib/python3.11/collections/__init__.py)