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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s831249906 | p02388 | u219202227 | 1507274432 | Python | Python3 | py | Runtime Error | 0 | 0 | 31 | input = input()
print(input**3) | Traceback (most recent call last):
File "/tmp/tmpop919gui/tmphjxx05g6.py", line 1, in <module>
input = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s607975109 | p02388 | u219202227 | 1507274507 | Python | Python3 | py | Runtime Error | 0 | 0 | 44 | input = input()
print(input * input * input) | Traceback (most recent call last):
File "/tmp/tmpndqmtmll/tmpafetlyir.py", line 1, in <module>
input = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s722479131 | p02388 | u219202227 | 1507274579 | Python | Python3 | py | Runtime Error | 0 | 0 | 43 | input= input()
print(input * input * input) | Traceback (most recent call last):
File "/tmp/tmptc9gynpj/tmpgf02yccy.py", line 1, in <module>
input= input()
^^^^^^^
EOFError: EOF when reading a line
| |
s374740487 | p02388 | u219202227 | 1507274659 | Python | Python3 | py | Runtime Error | 0 | 0 | 54 | input = int(input())
output = input ** 3
return output | File "/tmp/tmphx35iug8/tmpbf2a5uoc.py", line 3
return output
^^^^^^^^^^^^^
SyntaxError: 'return' outside function
| |
s388107191 | p02388 | u981238682 | 1507288003 | Python | Python3 | py | Runtime Error | 0 | 0 | 26 | a = input()
print (a ** 3) | Traceback (most recent call last):
File "/tmp/tmp6iyx4xl6/tmp7cmpdurg.py", line 1, in <module>
a = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s415595924 | p02388 | u626266743 | 1507690318 | Python | Python3 | py | Runtime Error | 0 | 0 | 23 | x = input()
print(x**3) | Traceback (most recent call last):
File "/tmp/tmpykiwq1kf/tmp1pl428cs.py", line 1, in <module>
x = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s741085143 | p02388 | u424457654 | 1507690531 | Python | Python3 | py | Runtime Error | 0 | 0 | 27 | x = input()
print x * x * x | File "/tmp/tmp9lx8l5na/tmp1aleuv9o.py", line 2
print x * x * x
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s209761577 | p02388 | u808708892 | 1507691275 | Python | Python3 | py | Runtime Error | 0 | 0 | 41 | import sys
a = sys.argv[1]
print(a*a*a) | Traceback (most recent call last):
File "/tmp/tmpq3mlw2vl/tmpf6r7zaiz.py", line 3, in <module>
a = sys.argv[1]
~~~~~~~~^^^
IndexError: list index out of range
| |
s314697471 | p02388 | u400765446 | 1507737650 | Python | Python3 | py | Runtime Error | 0 | 0 | 11 | print(x**3) | Traceback (most recent call last):
File "/tmp/tmprnaffq3s/tmpxieshghu.py", line 1, in <module>
print(x**3)
^
NameError: name 'x' is not defined
| |
s684053410 | p02388 | u400765446 | 1507819025 | Python | Python3 | py | Runtime Error | 0 | 0 | 29 | x = input()
y = x**3
print(y) | Traceback (most recent call last):
File "/tmp/tmpzjdnu_l0/tmp5emfwwu3.py", line 1, in <module>
x = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s783304037 | p02388 | u102664642 | 1507820318 | Python | Python | py | Runtime Error | 0 | 0 | 28 | x = raw_input()
print x ** 3 | File "/tmp/tmpgl2x2eqg/tmpjfy3kn7s.py", line 2
print x ** 3
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s025352365 | p02388 | u197670577 | 1508056010 | Python | Python | py | Runtime Error | 0 | 0 | 26 | x = raw_input()
print x**3 | File "/tmp/tmper_l516k/tmpzp8bqyru.py", line 2
print x**3
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s423819901 | p02388 | u755500650 | 1508166301 | Python | Python3 | py | Runtime Error | 0 | 0 | 34 | x=(int)input().strip()
print(x**3) | File "/tmp/tmpe1ekbd2n/tmp4yoseves.py", line 1
x=(int)input().strip()
^^^^^
SyntaxError: invalid syntax
| |
s406092312 | p02388 | u635391238 | 1508224251 | Python | Python3 | py | Runtime Error | 0 | 0 | 36 | val = input()
ans = val^3
print(ans) | Traceback (most recent call last):
File "/tmp/tmpxzxaa74a/tmpd9u3vmdd.py", line 1, in <module>
val = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s153296107 | p02388 | u635391238 | 1508224319 | Python | Python3 | py | Runtime Error | 0 | 0 | 75 | if __name__ == "__main__":
val = input()
ans = val^3
print(ans) | Traceback (most recent call last):
File "/tmp/tmpq6ljynah/tmp8unlgu4x.py", line 2, in <module>
val = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s606486802 | p02388 | u635391238 | 1508224570 | Python | Python3 | py | Runtime Error | 0 | 0 | 103 | import fileinput
if __name__ == "__main__":
val = fileinput.input()
ans = val^3
print(ans) | Traceback (most recent call last):
File "/tmp/tmprk6rrj20/tmpkg1anlz2.py", line 5, in <module>
ans = val^3
~~~^~
TypeError: unsupported operand type(s) for ^: 'FileInput' and 'int'
| |
s404086305 | p02388 | u635391238 | 1508224631 | Python | Python3 | py | Runtime Error | 0 | 0 | 106 | import fileinput
if __name__ == "__main__":
val = fileinput.input()
ans = val ** 3
print(ans) | Traceback (most recent call last):
File "/tmp/tmpl7sto6l0/tmp34ot30rj.py", line 5, in <module>
ans = val ** 3
~~~~^^~~
TypeError: unsupported operand type(s) for ** or pow(): 'FileInput' and 'int'
| |
s893366256 | p02388 | u574330094 | 1508401855 | Python | Python3 | py | Runtime Error | 0 | 0 | 28 | x = input()
print(x * x * x) | Traceback (most recent call last):
File "/tmp/tmpou2uy0zj/tmp3jz141gn.py", line 1, in <module>
x = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s421578889 | p02388 | u574330094 | 1508401905 | Python | Python | py | Runtime Error | 0 | 0 | 32 | int x = input()
print(x * x * x) | File "/tmp/tmpeo6qp5zy/tmpd4wy7679.py", line 1
int x = input()
^
SyntaxError: invalid syntax
| |
s732047424 | p02388 | u876635199 | 1508489779 | Python | Python3 | py | Runtime Error | 0 | 0 | 26 | x = int(input())
print x | File "/tmp/tmpghniu1nh/tmp1gzhgbgs.py", line 3
print x
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s014228961 | p02388 | u876635199 | 1508489916 | Python | Python3 | py | Runtime Error | 0 | 0 | 34 | x = int(input())
y = x***
print y | File "/tmp/tmpxo0yuwkg/tmp_9a7hpn7.py", line 2
y = x***
^
SyntaxError: invalid syntax
| |
s548263257 | p02388 | u996463517 | 1508560088 | Python | Python3 | py | Runtime Error | 0 | 0 | 23 | x = input()
print(x**3) | Traceback (most recent call last):
File "/tmp/tmprur6p4l1/tmpu0sdwkhd.py", line 1, in <module>
x = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s501852786 | p02388 | u886119481 | 1508913190 | Python | Python | py | Runtime Error | 0 | 0 | 3677 | # -*- coding: utf-8 -*-
'''
Created on 2017/10/25
@author: naja yama
'''
def find_r_child(tree, offset):
offset += 1
count = 0
end = len(tree)
while(offset < end):
if tree[offset] == "(":
count += 1
elif tree[offset] == ")":
count -= 1
elif count == 1 and tree[offset] == ",":
return offset
offset += 1
return None
def find_l_child(tree, offset):
offset -= 1
count = 0
while(offset >= 1):
if tree[offset] == "(":
count -= 1
elif tree[offset] == ")":
count += 1
elif count == 1 and tree[offset] == ",":
return offset
offset -= 1
return None
def del_node(tree, offset):
count = 0
i = offset - 1
while(1):
if tree[i] == ")":
count += 1
elif tree[i] == "(":
if count == 0:
offset2 = i
break
count -= 1
i -= 1
count = 0
i = offset + 1
while(1):
if tree[i] == "(":
count += 1
elif tree[i] == ")":
if count == 0:
offset3 = i
break
count -= 1
i += 1
tree = tree[:offset2] + tree[offset3 + 1:]
return tree
def calc_union(s_tree, offset_s, r_tree, offset_r):
offset_cs = find_l_child(s_tree, offset_s)
if offset_cs is None:
pass
else:
offset_rs = find_l_child(r_tree, offset_r)
if offset_rs is None:
r_tree = r_tree[:offset_r] + "(,)" + r_tree[offset_r:]
offset_rs = offset_r + 2
r_tree = calc_union(s_tree, offset_cs, r_tree, offset_rs)
offset_cs = find_r_child(s_tree, offset_s)
if offset_cs is None:
return r_tree
offset_rs = find_r_child(r_tree, offset_r)
if offset_rs is None:
r_tree = r_tree[:offset_r+1] + "(,)" + r_tree[offset_r+1:]
offset_rs = offset_r + 2
r_tree = calc_union(s_tree, offset_cs, r_tree, offset_rs)
return r_tree
def calc_intersection(s_tree, offset_s, r_tree, offset_r):
offset_rs = find_l_child(r_tree, offset_r)
if offset_rs is None:
pass
else:
offset_cs = find_l_child(s_tree, offset_s)
if offset_cs is None:
r_tree = del_node(r_tree, offset_rs)
else:
r_tree = calc_intersection(s_tree, offset_cs, r_tree, offset_rs)
offset_rs = find_r_child(r_tree, offset_r)
if offset_rs is None:
pass
else:
offset_cs = find_r_child(s_tree, offset_s)
if offset_cs is None:
r_tree = del_node(r_tree, offset_rs)
else:
r_tree = calc_intersection(s_tree, offset_cs, r_tree, offset_rs)
return r_tree
#Get input
input_line = raw_input()
while input_line:
#Get command, f_tree, s_tree
command = input_line[0:2]
input_line = input_line[2:]
space = input_line.find(" ")
f_tree = input_line[0:space]
s_tree = input_line[space+1:]
r_tree = f_tree
if command[0] == "u":
r_tree = calc_union(s_tree, find_r_child(s_tree, -1), r_tree, find_r_child(r_tree, -1))
else:
r_tree = calc_intersection(s_tree, find_r_child(s_tree, -1), r_tree, find_r_child(r_tree, -1))
#Output answer string
print r_tree
#update input_line
input_line = raw_input() | File "/tmp/tmpjw56pyam/tmpr5uqg3l_.py", line 165
print r_tree
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s836151721 | p02388 | u617472286 | 1509176107 | Python | Python3 | py | Runtime Error | 0 | 0 | 25 | s = input()
print(s ** 3) | Traceback (most recent call last):
File "/tmp/tmpq040_ybx/tmpitu1tejx.py", line 1, in <module>
s = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s537567275 | p02388 | u104114903 | 1509336421 | Python | Python3 | py | Runtime Error | 0 | 0 | 23 | x = input()
print(x**3) | Traceback (most recent call last):
File "/tmp/tmp4bktc75a/tmp5bqdv7yp.py", line 1, in <module>
x = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s164162875 | p02388 | u104114903 | 1509336617 | Python | Python3 | py | Runtime Error | 0 | 0 | 44 | import sys
x = sys.argv[1]
x = x**3
print(x) | Traceback (most recent call last):
File "/tmp/tmp0mnd61e9/tmpchc53rd_.py", line 2, in <module>
x = sys.argv[1]
~~~~~~~~^^^
IndexError: list index out of range
| |
s081810069 | p02388 | u518939641 | 1509377392 | Python | Python3 | py | Runtime Error | 0 | 0 | 33 | if 1<=x and x<=100:
print(x***3) | File "/tmp/tmpxel5xkv5/tmpo_8yhzm1.py", line 2
print(x***3)
^
SyntaxError: invalid syntax
| |
s762603974 | p02388 | u521963900 | 1509379506 | Python | Python3 | py | Runtime Error | 0 | 0 | 32 | x = input().rstrip()
print(x**3) | Traceback (most recent call last):
File "/tmp/tmpoathsgza/tmp7maino73.py", line 1, in <module>
x = input().rstrip()
^^^^^^^
EOFError: EOF when reading a line
| |
s292204644 | p02388 | u480716860 | 1509504581 | Python | Python | py | Runtime Error | 0 | 0 | 67 | x = int(input("x???????????\????????????????????????"))
print(x**3) | Traceback (most recent call last):
File "/tmp/tmpzwx941m0/tmp0l6343zo.py", line 1, in <module>
x = int(input("x???????????\????????????????????????"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
EOFError: EOF when reading a line
| x???????????\???????????????????????? |
s226595364 | p02388 | u104114903 | 1509509278 | Python | Python3 | py | Runtime Error | 0 | 0 | 23 | a = input()
print(a**3) | Traceback (most recent call last):
File "/tmp/tmpb0f1jjfa/tmpsl_mlh57.py", line 1, in <module>
a = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s527167192 | p02388 | u183248852 | 1509509413 | Python | Python | py | Runtime Error | 0 | 0 | 9 | print x^3 | File "/tmp/tmp521w2yj0/tmpwbbd0lpi.py", line 1
print x^3
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s233120687 | p02388 | u183248852 | 1509509757 | Python | Python | py | Runtime Error | 0 | 0 | 9 | print x*3 | File "/tmp/tmpebd7cgqt/tmprohwy2bq.py", line 1
print x*3
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s267748444 | p02388 | u183248852 | 1509509970 | Python | Python | py | Runtime Error | 0 | 0 | 10 | print x**3 | File "/tmp/tmpr3kasmfh/tmpj9uwyfuj.py", line 1
print x**3
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s805345677 | p02388 | u232783413 | 1509637856 | Python | Python3 | py | Runtime Error | 0 | 0 | 30 | X = str(input(""))
print(X**3) | Traceback (most recent call last):
File "/tmp/tmp8sw1okx2/tmpa_vwqh_0.py", line 1, in <module>
X = str(input(""))
^^^^^^^^^
EOFError: EOF when reading a line
| |
s485637859 | p02388 | u279985494 | 1510122019 | Python | Python3 | py | Runtime Error | 0 | 0 | 10 | print(x^3) | Traceback (most recent call last):
File "/tmp/tmplz206xlh/tmpb_3_tmbe.py", line 1, in <module>
print(x^3)
^
NameError: name 'x' is not defined
| |
s143765075 | p02388 | u725391514 | 1510304265 | Python | Python3 | py | Runtime Error | 0 | 0 | 17 | int x
print(x**3) | File "/tmp/tmpb82dcr81/tmphoxsfam0.py", line 1
int x
^
SyntaxError: invalid syntax
| |
s840585814 | p02388 | u499289652 | 1510442981 | Python | Python3 | py | Runtime Error | 0 | 0 | 19 | x=input
print(x**3) | Traceback (most recent call last):
File "/tmp/tmpgitqx5nn/tmpzgzf7cvt.py", line 2, in <module>
print(x**3)
~^^~
TypeError: unsupported operand type(s) for ** or pow(): 'builtin_function_or_method' and 'int'
| |
s742155329 | p02388 | u499289652 | 1510448743 | Python | Python3 | py | Runtime Error | 0 | 0 | 29 | x=input()
int(x)
print(x*x*x) | Traceback (most recent call last):
File "/tmp/tmphszkdgu2/tmpmoqit0mx.py", line 1, in <module>
x=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s522649579 | p02388 | u899891332 | 1510451471 | Python | Python3 | py | Runtime Error | 0 | 0 | 23 | print(int(input())**3)) | File "/tmp/tmp65sfo2u6/tmp53jbuypk.py", line 1
print(int(input())**3))
^
SyntaxError: unmatched ')'
| |
s505793695 | p02388 | u499289652 | 1510475381 | Python | Python3 | py | Runtime Error | 0 | 0 | 21 | x=input()
print(x**3) | Traceback (most recent call last):
File "/tmp/tmp45n3pxv_/tmpuyt3igcp.py", line 1, in <module>
x=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s172277093 | p02388 | u811314383 | 1510733170 | Python | Python | py | Runtime Error | 0 | 0 | 23 | x = input
print(x ** 3) | Traceback (most recent call last):
File "/tmp/tmp8obq84lw/tmpy69de6oo.py", line 2, in <module>
print(x ** 3)
~~^^~~
TypeError: unsupported operand type(s) for ** or pow(): 'builtin_function_or_method' and 'int'
| |
s255815315 | p02388 | u811314383 | 1510733188 | Python | Python | py | Runtime Error | 0 | 0 | 29 | input_x = input
print(x ** 3) | Traceback (most recent call last):
File "/tmp/tmp_kem2kxk/tmp3551_j2j.py", line 2, in <module>
print(x ** 3)
^
NameError: name 'x' is not defined
| |
s009000487 | p02388 | u811314383 | 1510733385 | Python | Python | py | Runtime Error | 0 | 0 | 31 | input_x = input()
print(x ** 3) | Traceback (most recent call last):
File "/tmp/tmpk8f35b5p/tmpyvlz4kwn.py", line 1, in <module>
input_x = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s955768500 | p02388 | u488038316 | 1511157670 | Python | Python3 | py | Runtime Error | 0 | 0 | 47 | n = int(input())
print('{0}'.format(pow(n, 3)) | File "/tmp/tmpr3_ahubp/tmp2yj9lcv1.py", line 3
print('{0}'.format(pow(n, 3))
^
SyntaxError: '(' was never closed
| |
s521523416 | p02388 | u335508235 | 1511239374 | Python | Python3 | py | Runtime Error | 0 | 0 | 22 | x=(input())
print(x^3) | Traceback (most recent call last):
File "/tmp/tmptr1tvbik/tmp_3hbqqnf.py", line 1, in <module>
x=(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s367050424 | p02388 | u335508235 | 1511239390 | Python | Python3 | py | Runtime Error | 0 | 0 | 23 | x=(input())
print(x**3) | Traceback (most recent call last):
File "/tmp/tmpypmstny8/tmpp4ft5d7x.py", line 1, in <module>
x=(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s796686585 | p02388 | u294702312 | 1511273756 | Python | Python3 | py | Runtime Error | 0 | 0 | 82 | out = 0
for i in range(len(row_input())):
out += int(row_intput())
print(out) | Traceback (most recent call last):
File "/tmp/tmpxvc7icb8/tmpavmnqc6_.py", line 2, in <module>
for i in range(len(row_input())):
^^^^^^^^^
NameError: name 'row_input' is not defined
| |
s552040874 | p02388 | u825264062 | 1511422235 | Python | Python3 | py | Runtime Error | 0 | 0 | 23 | a = input()
print(a**3) | Traceback (most recent call last):
File "/tmp/tmpk8_hc2b3/tmpf2stlm8g.py", line 1, in <module>
a = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s880254006 | p02388 | u744506422 | 1511766448 | Python | Python | py | Runtime Error | 0 | 0 | 40 | x = raw_input()
print("{0}".format(x^3)) | Traceback (most recent call last):
File "/tmp/tmp0pd15s5v/tmptr0v97q3.py", line 1, in <module>
x = raw_input()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s161346017 | p02388 | u744506422 | 1511766570 | Python | Python3 | py | Runtime Error | 0 | 0 | 40 | x = raw_input()
print("{0}".format(x^3)) | Traceback (most recent call last):
File "/tmp/tmpaji9mel0/tmpi64zw687.py", line 1, in <module>
x = raw_input()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s110994596 | p02388 | u744506422 | 1511766785 | Python | Python3 | py | Runtime Error | 0 | 0 | 57 | x = int(raw_input())
y = x * x * x
print "{0}" .format(y) | File "/tmp/tmpt35lt115/tmp731a8_h4.py", line 3
print "{0}" .format(y)
^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s216192228 | p02388 | u744506422 | 1511766868 | Python | Python3 | py | Runtime Error | 0 | 0 | 45 | x = int(raw_input())
print("{0}".format(x^3)) | Traceback (most recent call last):
File "/tmp/tmp0m_xmabh/tmp0pbb7tci.py", line 1, in <module>
x = int(raw_input())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s797221610 | p02388 | u987649781 | 1512055824 | Python | Python3 | py | Runtime Error | 0 | 0 | 44 | x = int(sys.stdin.readline())
print(x ** 3) | Traceback (most recent call last):
File "/tmp/tmpppph0r9p/tmpwxdes385.py", line 1, in <module>
x = int(sys.stdin.readline())
^^^
NameError: name 'sys' is not defined
| |
s119913286 | p02388 | u968165442 | 1512188871 | Python | Python3 | py | Runtime Error | 0 | 0 | 55 | inputa = input()
inputa3 = inputa ** 3
print(inputa3) | Traceback (most recent call last):
File "/tmp/tmp0ibqy81c/tmpvhs0au4h.py", line 1, in <module>
inputa = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s258487828 | p02388 | u202430481 | 1512264012 | Python | Python3 | py | Runtime Error | 0 | 0 | 41 | x = input()
answer = x ** 3
print(answer) | Traceback (most recent call last):
File "/tmp/tmp8aq3ygd4/tmppzf9qxbt.py", line 1, in <module>
x = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s860739458 | p02388 | u755566642 | 1512377983 | Python | Python3 | py | Runtime Error | 0 | 0 | 22 | n = input()
return n*3 | File "/tmp/tmpy94g8bds/tmp37ll3brr.py", line 2
return n*3
^^^^^^^^^^
SyntaxError: 'return' outside function
| |
s021120268 | p02388 | u755566642 | 1512378112 | Python | Python3 | py | Runtime Error | 0 | 0 | 35 | n = input()
ans = n ** 3
print(ans) | Traceback (most recent call last):
File "/tmp/tmpsx9x8sqq/tmp9p2rt1g7.py", line 1, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s763866750 | p02388 | u755566642 | 1512378162 | Python | Python3 | py | Runtime Error | 0 | 0 | 35 | n = input()
ans = n ** 3
return ans | File "/tmp/tmpkn29fbzp/tmpwg47eog0.py", line 3
return ans
^^^^^^^^^^
SyntaxError: 'return' outside function
| |
s520139451 | p02388 | u755566642 | 1512378296 | Python | Python3 | py | Runtime Error | 0 | 0 | 25 | N = input()
print(N ** 3) | Traceback (most recent call last):
File "/tmp/tmpllt_fhm8/tmpg9gn16kv.py", line 1, in <module>
N = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s197803643 | p02388 | u755566642 | 1512378371 | Python | Python3 | py | Runtime Error | 0 | 0 | 25 | n = input()
return n ** 3 | File "/tmp/tmpewkfqjic/tmpucks526d.py", line 2
return n ** 3
^^^^^^^^^^^^^
SyntaxError: 'return' outside function
| |
s267587022 | p02388 | u706217959 | 1512551027 | Python | Python | py | Runtime Error | 0 | 0 | 225 | def main():
# x?????????????¨??????????
n = int(input())
if n <= 1 or n >= 101:
print("invalid answer.")
return
ans = n * 3
print("{0}".format(ans))
if __name__ == '__main__':
main() | Traceback (most recent call last):
File "/tmp/tmp2o5tgmub/tmpybxwlf7x.py", line 12, in <module>
main()
File "/tmp/tmp2o5tgmub/tmpybxwlf7x.py", line 3, in main
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s064682873 | p02388 | u849863666 | 1512622085 | Python | Python3 | py | Runtime Error | 0 | 0 | 46 | # -*- coding: utf-8 -*-
x = x * 3:
print (x) | File "/tmp/tmpxuhhiwfb/tmp5k_pf2xn.py", line 3
x = x * 3:
^
SyntaxError: invalid syntax
| |
s129976993 | p02388 | u849863666 | 1512622198 | Python | Python3 | py | Runtime Error | 0 | 0 | 54 | # -*- coding: utf-8 -*-
x = 1
x = x * 3:
print x | File "/tmp/tmpsubzrbcq/tmpg23alzdv.py", line 4
x = x * 3:
IndentationError: unexpected indent
| |
s106966957 | p02388 | u849863666 | 1512622225 | Python | Python3 | py | Runtime Error | 0 | 0 | 56 | # -*- coding: utf-8 -*-
x = 1
x = x * 3:
print (x) | File "/tmp/tmps8n1__9x/tmpin45s2er.py", line 4
x = x * 3:
IndentationError: unexpected indent
| |
s762063389 | p02388 | u849863666 | 1512622321 | Python | Python3 | py | Runtime Error | 0 | 0 | 52 | # -*- coding: utf-8 -*-
x = 2
x = x * 3:
print (x) | File "/tmp/tmp3qoxt79t/tmpw7y5va10.py", line 4
x = x * 3:
IndentationError: unexpected indent
| |
s809090727 | p02388 | u849863666 | 1512624126 | Python | Python3 | py | Runtime Error | 0 | 0 | 60 | # -*- coding: utf-8 -*-
x = input()
y = x**3
print int(y) | File "/tmp/tmpeownao27/tmpd674uj6f.py", line 7
print int(y)
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s722628656 | p02388 | u849863666 | 1512624179 | Python | Python3 | py | Runtime Error | 0 | 0 | 50 | #coding:UTF-8
x = input()
y = x**3
print int(y) | File "/tmp/tmpg2tnz23u/tmpwc_t9cpw.py", line 7
print int(y)
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s945347310 | p02388 | u849863666 | 1512624210 | Python | Python3 | py | Runtime Error | 0 | 0 | 60 | # -*- coding: utf-8 -*-
x = input()
y = x**3
print int(y) | File "/tmp/tmpt8_hpz5b/tmp111v_zo4.py", line 7
print int(y)
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s858679629 | p02388 | u095097138 | 1512719991 | Python | Python3 | py | Runtime Error | 0 | 0 | 39 | parse.args('x')
print('{}'.format(x*3)) | Traceback (most recent call last):
File "/tmp/tmpq45xcjcu/tmprpp7fh4n.py", line 1, in <module>
parse.args('x')
^^^^^
NameError: name 'parse' is not defined. Did you mean: 'vars'?
| |
s283088898 | p02388 | u095097138 | 1512720205 | Python | Python3 | py | Runtime Error | 0 | 0 | 374 | import argparse
parser = argparse.ArgumentParser(description='Process some integers.')
parser.add_argument('n', \
action='store', \
nargs=None, \
const=None, \
default=None, \
type=int, \
choices=None, \
help='Directory path where your taken photo files are located.', \
metavar=None)
print('{}'.format(n*3)) | Traceback (most recent call last):
File "/tmp/tmp5f9oe17l/tmpxf2vabu7.py", line 14, in <module>
print('{}'.format(n*3))
^
NameError: name 'n' is not defined
| |
s547998216 | p02388 | u095097138 | 1512720323 | Python | Python3 | py | Runtime Error | 0 | 0 | 377 | import argparse
parser = argparse.ArgumentParser(description='Process some integers.')
parser.add_argument('n', \
action='store', \
nargs=None, \
const=None, \
default=None, \
type=int, \
choices=None, \
help='Directory path where your taken photo files are located.', \
metavar=None)
print('{}'.format(n**3)) | Traceback (most recent call last):
File "/tmp/tmpqq377fz_/tmpbiw1z9iv.py", line 14, in <module>
print('{}'.format(n**3))
^
NameError: name 'n' is not defined
| |
s902418943 | p02388 | u635066025 | 1512895221 | Python | Python3 | py | Runtime Error | 0 | 0 | 11 | print(x**3) | Traceback (most recent call last):
File "/tmp/tmpg3irrdul/tmpjjaoahmg.py", line 1, in <module>
print(x**3)
^
NameError: name 'x' is not defined
| |
s229534514 | p02388 | u635066025 | 1512895272 | Python | Python3 | py | Runtime Error | 0 | 0 | 11 | print(x**3) | Traceback (most recent call last):
File "/tmp/tmptw3wgrx0/tmpbjd15w5o.py", line 1, in <module>
print(x**3)
^
NameError: name 'x' is not defined
| |
s868887987 | p02388 | u635066025 | 1512895358 | Python | Python3 | py | Runtime Error | 0 | 0 | 15 | print(x = x**3) | Traceback (most recent call last):
File "/tmp/tmp9gwfwohj/tmphc4sgh7o.py", line 1, in <module>
print(x = x**3)
^
NameError: name 'x' is not defined
| |
s115530116 | p02388 | u635066025 | 1512895383 | Python | Python3 | py | Runtime Error | 0 | 0 | 16 | print(x = x*x*x) | Traceback (most recent call last):
File "/tmp/tmpalcei_tv/tmpk446hquq.py", line 1, in <module>
print(x = x*x*x)
^
NameError: name 'x' is not defined
| |
s654680088 | p02388 | u635066025 | 1512895560 | Python | Python3 | py | Runtime Error | 0 | 0 | 12 | print(x*x*x) | Traceback (most recent call last):
File "/tmp/tmp_7r41tqr/tmpf1yause7.py", line 1, in <module>
print(x*x*x)
^
NameError: name 'x' is not defined
| |
s285724798 | p02388 | u150984829 | 1513040592 | Python | Python3 | py | Runtime Error | 0 | 0 | 23 | x = input()
print(x**3) | Traceback (most recent call last):
File "/tmp/tmpe7oe6kzu/tmpk9kpo5sd.py", line 1, in <module>
x = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s268034475 | p02388 | u849863666 | 1513044943 | Python | Python3 | py | Runtime Error | 0 | 0 | 23 | int x
x = ** 3
print(x) | File "/tmp/tmp1yettbrm/tmpf3pzyvyy.py", line 1
int x
^
SyntaxError: invalid syntax
| |
s698060327 | p02388 | u813969619 | 1513406815 | Python | Python3 | py | Runtime Error | 0 | 0 | 21 |
input x
print(x^3) | File "/tmp/tmplas9qfgr/tmp9zfiafhg.py", line 3
input x
^
SyntaxError: invalid syntax
| |
s963187811 | p02388 | u058433718 | 1513417308 | Python | Python3 | py | Runtime Error | 0 | 0 | 46 | import sys
x = int(sys.argv[1])
print(x ** 3) | Traceback (most recent call last):
File "/tmp/tmps9imm54s/tmpuksp_9mx.py", line 3, in <module>
x = int(sys.argv[1])
~~~~~~~~^^^
IndexError: list index out of range
| |
s998327838 | p02388 | u830563109 | 1513437471 | Python | Python3 | py | Runtime Error | 0 | 0 | 12 | print(x * 3) | Traceback (most recent call last):
File "/tmp/tmpq228zs3e/tmpx6bqlv8o.py", line 1, in <module>
print(x * 3)
^
NameError: name 'x' is not defined
| |
s190553917 | p02388 | u830563109 | 1513437984 | Python | Python3 | py | Runtime Error | 0 | 0 | 36 | x = input()
y = x * 3
print int(y) | File "/tmp/tmp3zz635mk/tmpp2dlvx4r.py", line 5
print int(y)
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s717787314 | p02388 | u830563109 | 1513438003 | Python | Python3 | py | Runtime Error | 0 | 0 | 35 | x = input()
y = x**3
print int(y) | File "/tmp/tmpdhn5fgcr/tmpglidl700.py", line 5
print int(y)
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s965825236 | p02388 | u830563109 | 1513438022 | Python | Python3 | py | Runtime Error | 0 | 0 | 35 | x = input()
y = x**3
print int(y) | File "/tmp/tmpoaatysmu/tmp8kuig_7r.py", line 5
print int(y)
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s087019844 | p02388 | u830563109 | 1513438078 | Python | Python3 | py | Runtime Error | 0 | 0 | 36 | x = input()
y = x**3
print (int(y) | File "/tmp/tmpzszpcjnp/tmpcq54f0jx.py", line 5
print (int(y)
^
SyntaxError: '(' was never closed
| |
s391320869 | p02388 | u830563109 | 1513438082 | Python | Python3 | py | Runtime Error | 0 | 0 | 37 | x = input()
y = x**3
print (int(y)) | Traceback (most recent call last):
File "/tmp/tmpvc86aw5f/tmpa2bae6b8.py", line 1, in <module>
x = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s609133496 | p02388 | u884342371 | 1513948804 | Python | Python3 | py | Runtime Error | 0 | 0 | 26 |
x = input()
print(x*x*x) | Traceback (most recent call last):
File "/tmp/tmpjhgg97uz/tmp1pepu72h.py", line 2, in <module>
x = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s321607184 | p02388 | u884342371 | 1513948849 | Python | Python3 | py | Runtime Error | 0 | 0 | 25 |
x = input()
print(x**3) | Traceback (most recent call last):
File "/tmp/tmpnul4y2gt/tmpco21l2lr.py", line 2, in <module>
x = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s889084499 | p02388 | u544943822 | 1514213636 | Python | Python | py | Runtime Error | 0 | 0 | 44 | 1 <= x <= 100
x = int(input())
print(x ** 3) | Traceback (most recent call last):
File "/tmp/tmpe0uhsimo/tmp7i3k5oxa.py", line 1, in <module>
1 <= x <= 100
^
NameError: name 'x' is not defined
| |
s100017710 | p02388 | u544943822 | 1514213674 | Python | Python | py | Runtime Error | 0 | 0 | 42 | 1 < x < 100
x = int(input())
print(x ** 3) | Traceback (most recent call last):
File "/tmp/tmp2dxoq_jm/tmpdxiftctn.py", line 1, in <module>
1 < x < 100
^
NameError: name 'x' is not defined
| |
s757037823 | p02388 | u910851170 | 1514541891 | Python | Python3 | py | Runtime Error | 0 | 0 | 23 | x = input()
print(x**3) | Traceback (most recent call last):
File "/tmp/tmpb8s4q9be/tmpevr6util.py", line 1, in <module>
x = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s053036782 | p02388 | u165141947 | 1514578567 | Python | Python | py | Runtime Error | 0 | 0 | 38 | x = raw_input()
y = pow(x,3)
print 'y' | File "/tmp/tmpeqi1lf3d/tmp0yte3dd5.py", line 3
print 'y'
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s910007432 | p02388 | u165141947 | 1514578645 | Python | Python | py | Runtime Error | 0 | 0 | 6 | x ** 3 | Traceback (most recent call last):
File "/tmp/tmprwfi16jz/tmpa44zsl7f.py", line 1, in <module>
x ** 3
^
NameError: name 'x' is not defined
| |
s513094325 | p02388 | u841567836 | 1514991135 | Python | Python3 | py | Runtime Error | 0 | 0 | 26 | n = input()
print(n ** 3)
| Traceback (most recent call last):
File "/tmp/tmputci6bhh/tmpcjhzvl0d.py", line 1, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s348623112 | p02388 | u841567836 | 1514991285 | Python | Python3 | py | Runtime Error | 0 | 0 | 26 | n = input()
print(n ** 3)
| Traceback (most recent call last):
File "/tmp/tmpp7n4_d3q/tmpslp4kkeq.py", line 1, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s016276293 | p02388 | u841567836 | 1515042284 | Python | Python3 | py | Runtime Error | 0 | 0 | 41 | s = raw_input()
n = int(s)
print(n ** 3)
| Traceback (most recent call last):
File "/tmp/tmp4mut9i0b/tmpkrb1y4u9.py", line 1, in <module>
s = raw_input()
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s234463127 | p02388 | u841567836 | 1515042420 | Python | Python3 | py | Runtime Error | 0 | 0 | 29 | n = input()
print(n * n * n)
| Traceback (most recent call last):
File "/tmp/tmp6juhv58n/tmp1detz97r.py", line 1, in <module>
n = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s311705766 | p02388 | u987701388 | 1515060897 | Python | Python3 | py | Runtime Error | 0 | 0 | 18 | input x
pow(n,3)
| File "/tmp/tmp34g7cj5a/tmp_jyj7bid.py", line 1
input x
^
SyntaxError: invalid syntax
| |
s681701130 | p02388 | u009288816 | 1515063039 | Python | Python | py | Runtime Error | 0 | 0 | 21 | print raw_input()**3
| File "/tmp/tmpud635d8b/tmpkz92d0gy.py", line 1
print raw_input()**3
^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s232422140 | p02388 | u987701388 | 1515065536 | Python | Python3 | py | Runtime Error | 0 | 0 | 41 | n=input('input: ')
a=pow(n,3)
print(a)
| Traceback (most recent call last):
File "/tmp/tmpi1yu9i64/tmpqtquch8r.py", line 1, in <module>
n=input('input: ')
^^^^^^^^^^^^^^^^
EOFError: EOF when reading a line
| input: |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.