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
s104556770
p02265
u728700495
1476541316
Python
Python3
py
Runtime Error
40
7732
746
class LinkedList(object): def __init__(self): self.data = [] def insert(self, d): self.data.insert(0, d) def delete(self, d): self.data.remove(d) def delete_first(self): self.data.pop(0) def delete_last(self): self.data.pop(len(self.data)-1) data = Linked...
Traceback (most recent call last): File "/tmp/tmpfjq2q7eq/tmpcbyvv2kt.py", line 18, in <module> for _ in range(int(input())): ^^^^^^^ EOFError: EOF when reading a line
s727770418
p02265
u813534019
1476555321
Python
Python
py
Runtime Error
10
6284
342
cnt=input() lst=[] for x in xrange(cnt): cmd = raw_input().split() if cmd[0] == "insert": lst = [int(cmd[1])] + lst elif cmd[0] == "delete": lst.remove(int(cmd[1])) elif cmd[0] == "deleteFirst": lst = lst[1:] elif cmd[0] == "deleteLast": lst = lst[:-1] print " ".join(...
File "/tmp/tmp44eaaccj/tmpabuygbh3.py", line 13 print " ".join([str(x) for x in lst]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s421497876
p02265
u159356473
1477285023
Python
Python3
py
Runtime Error
0
0
571
#coding:UTF-8 def DLL(n,C): ans=[] for i in range(n): if C[i]=="deleteFirst": ans.pop(len(ans)) elif C[i]=="delereLast": ans.pop(0) else: command=C[i].split(" ")[0] num=C[i].split(" ")[1] if command=="delete": an...
Traceback (most recent call last): File "/tmp/tmps7bsuk8m/tmpn2cuanul.py", line 21, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s157492890
p02265
u159356473
1477285924
Python
Python3
py
Runtime Error
20
7740
641
#coding:UTF-8 def DLL(n,C): ans=[] for i in range(n): if C[i]=="deleteFirst": ans.pop(len(ans)-1) elif C[i]=="deleteLast": ans.pop(0) else: command=C[i].split(" ")[0] num=C[i].split(" ")[1] if command=="delete": ...
Traceback (most recent call last): File "/tmp/tmp9nb9cdsh/tmpx76cghq3.py", line 23, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s515107500
p02265
u022407960
1477928315
Python
Python3
py
Runtime Error
0
0
750
# encoding: utf-8 import sys from collections import deque class Solution: @staticmethod def doubly_linked_list(): # write your code here array_length = int(input()) _input = sys.stdin.readlines() task_list = list(map(lambda x: dict(action=x.split()[0], value=int(x.split()[-1]...
Traceback (most recent call last): File "/tmp/tmp5oqhwqe6/tmpeakqq2dw.py", line 26, in <module> solution.doubly_linked_list() File "/tmp/tmp5oqhwqe6/tmpeakqq2dw.py", line 11, in doubly_linked_list array_length = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s874817377
p02265
u022407960
1477928356
Python
Python3
py
Runtime Error
0
0
747
# encoding: utf-8 import sys from collections import deque class Solution: @staticmethod def doubly_linked_list(): # write your code here array_length = int(input()) _input = sys.stdin.readlines() task_list = list(map(lambda x: dict(action=x.split()[0], value=int(x.split()[-1]...
Traceback (most recent call last): File "/tmp/tmpb42fzni4/tmpx_iy1rg1.py", line 26, in <module> solution.doubly_linked_list() File "/tmp/tmpb42fzni4/tmpx_iy1rg1.py", line 11, in doubly_linked_list array_length = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s519393751
p02265
u022407960
1477928716
Python
Python3
py
Runtime Error
0
0
931
# encoding: utf-8 import sys from collections import deque class Solution: @staticmethod def doubly_linked_list(): # write your code here array_length = int(input()) _input = sys.stdin.readlines() task_list = list(map(lambda x: dict(action=x.split()[0], value=int(x.split()[-1]...
Traceback (most recent call last): File "/tmp/tmpxonusx0f/tmpvlun6a4w.py", line 32, in <module> solution.doubly_linked_list() File "/tmp/tmpxonusx0f/tmpvlun6a4w.py", line 11, in doubly_linked_list array_length = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s601498701
p02265
u022407960
1477928802
Python
Python3
py
Runtime Error
30
8084
926
# encoding: utf-8 import sys from collections import deque class Solution: @staticmethod def doubly_linked_list(): # write your code here array_length = int(input()) _input = sys.stdin.readlines() task_list = list(map(lambda x: dict(action=x.split()[0], value=x.split()[-1]), _...
Traceback (most recent call last): File "/tmp/tmpvpj0ai0t/tmp7ar9llc5.py", line 32, in <module> solution.doubly_linked_list() File "/tmp/tmpvpj0ai0t/tmp7ar9llc5.py", line 11, in doubly_linked_list array_length = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s425104613
p02265
u022407960
1477929411
Python
Python3
py
Runtime Error
30
8076
959
# encoding: utf-8 import sys from collections import deque class Solution: @staticmethod def doubly_linked_list(): # write your code here array_length = int(input()) _input = sys.stdin.readlines() task_list = list(map(lambda x: dict(action=x.split()[0], value=x.split()[-1]), _...
Traceback (most recent call last): File "/tmp/tmp3dpbppya/tmp1z034umf.py", line 33, in <module> solution.doubly_linked_list() File "/tmp/tmp3dpbppya/tmp1z034umf.py", line 11, in doubly_linked_list array_length = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s625468076
p02265
u022407960
1477930048
Python
Python3
py
Runtime Error
50
8048
1045
# encoding: utf-8 import sys from collections import deque class Solution: @staticmethod def doubly_linked_list(): # write your code here array_length = int(input()) _input = sys.stdin.readlines() task_list = list(map(lambda x: dict(action=x.split()[0], value=x.split()[-1]), _...
Traceback (most recent call last): File "/tmp/tmp070oqb2f/tmp0b_d9okf.py", line 36, in <module> solution.doubly_linked_list() File "/tmp/tmp070oqb2f/tmp0b_d9okf.py", line 11, in doubly_linked_list array_length = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s843936838
p02265
u659302741
1477934245
Python
Python3
py
Runtime Error
50
8004
404
import sys from collections import deque d = deque() n = int(input()) lines = sys.stdin.readlines() for i in range(n): ins = lines[i].split() command = ins[0] if command == "insert": d.appendleft(ins[1]) elif command == "delete": d.remove(ins[1]) elif command == "deleteFirst": ...
Traceback (most recent call last): File "/tmp/tmpdwny95ny/tmp6mgbrvek.py", line 5, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s305515079
p02265
u451769769
1478597904
Python
Python
py
Runtime Error
10
6772
553
#!/usr/bin/env python #-*- coding:utf-8 -*- from collections import deque def parse_cmd(deque,input_cmd): if input_cmd[0] == 'insert': deque.appendleft(input_cmd[1]) elif input_cmd[0] == 'delete': deque.remove(input_cmd[1]) elif input_cmd[0] == 'deleteFirst': deque.popleft() elif input_cmd[0] == 'deleteLast'...
File "/tmp/tmpn9s15uu6/tmp6trn7cjl.py", line 23 print " ".join(que) ^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s657132244
p02265
u742013327
1479200005
Python
Python3
py
Runtime Error
60
7812
2538
#http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_3_C&lang=jp #???????????£???????????? #??¬?????????????????¬????????§????????¨???????????????????????????dummy????????????????????¨??§???????????????????????????????????§?????? def dll_processor(operations): dll = Doubly_Linked_List() for o in...
Traceback (most recent call last): File "/tmp/tmp054o1iju/tmpj3y44l0m.py", line 96, in <module> main() File "/tmp/tmp054o1iju/tmpj3y44l0m.py", line 92, in main n_list = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s567041704
p02265
u742013327
1479200322
Python
Python3
py
Runtime Error
20
7864
2616
#http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_3_C&lang=jp #???????????£???????????? #??¬?????????????????¬????????§????????¨???????????????????????????dummy????????????????????¨??§???????????????????????????????????§?????? def dll_processor(operations): dll = Doubly_Linked_List() for o in...
Traceback (most recent call last): File "/tmp/tmp8mxdu7c8/tmpzxdsuy9y.py", line 99, in <module> main() File "/tmp/tmp8mxdu7c8/tmpzxdsuy9y.py", line 95, in main n_list = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s122996356
p02265
u195186080
1480147793
Python
Python3
py
Runtime Error
0
0
414
import collections q = collections.deque(maxlen=1000000) n = int(input()) for i in range(n): com = input().split() if com[0]=='insert': q.appendleft(int(com[1])) elif com[0]=='delete': try: q.remove(int(com[0])) except ValueError: pass elif com[0]=='delet...
Traceback (most recent call last): File "/tmp/tmptgs9uii7/tmpbqltbgr6.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s933872277
p02265
u195186080
1480147853
Python
Python3
py
Runtime Error
0
0
403
import collections q = collections.deque(maxlen=1000000) n = int(input()) for i in range(n): com = input().split() if com[0]=='insert': q.appendleft(int(com[1])) elif com[0]=='delete': try: q.remove(int(com[0])) except: pass elif com[0]=='deleteFirst': ...
Traceback (most recent call last): File "/tmp/tmpzm45qajq/tmpe405y4du.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s004277442
p02265
u195186080
1480148068
Python
Python3
py
Runtime Error
0
0
414
import collections q = collections.deque(maxlen=1000000) n = int(input()) for i in range(n): com = input().split() if com[0]=='insert': q.appendleft(int(com[1])) elif com[0]=='delete': try: q.remove(int(com[0])) except ValueError: pass elif com[0]=='delet...
Traceback (most recent call last): File "/tmp/tmp4qu5s8k7/tmpvl9_gznr.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s747031980
p02265
u195186080
1480148135
Python
Python3
py
Runtime Error
0
0
414
import collections q = collections.deque(maxlen=1000000) n = int(input()) for i in range(n): com = input().split() if com[0]=='insert': q.appendleft(int(com[1])) elif com[0]=='delete': try: q.remove(int(com[1])) except ValueError: pass elif com[0]=='delet...
Traceback (most recent call last): File "/tmp/tmpe91ntj5f/tmpkbzjtrm7.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s280247403
p02265
u195186080
1480148307
Python
Python3
py
Runtime Error
0
0
403
import collections q = collections.deque(maxlen=1000000) n = int(input()) for i in range(n): com = input().split() if com[0]=='insert': q.appendleft(int(com[1])) elif com[0]=='delete': try: q.remove(int(com[1])) except: pass elif com[0]=='deleteFirst': ...
Traceback (most recent call last): File "/tmp/tmp6z4_d3m5/tmp2xo2nxfg.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s400000074
p02265
u195186080
1480148674
Python
Python3
py
Runtime Error
0
0
411
import collections q = collections.deque(maxlen=1000000) n = int(input()) for i in range(n): com = input().split() if com[0] == 'insert': q.appendleft(int(com[1])) elif com[0] == 'delete': try: q.remove(int(com[1])) except: pass elif com[0] == 'deleteFirs...
Traceback (most recent call last): File "/tmp/tmp9d_2g0g6/tmpdn9q01ie.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s587630270
p02265
u195186080
1480148681
Python
Python3
py
Runtime Error
0
0
409
import collections q = collections.deque(maxlen=10000) n = int(input()) for i in range(n): com = input().split() if com[0] == 'insert': q.appendleft(int(com[1])) elif com[0] == 'delete': try: q.remove(int(com[1])) except: pass elif com[0] == 'deleteFirst'...
Traceback (most recent call last): File "/tmp/tmp5z4jr2c4/tmp6p6xcuip.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s691006798
p02265
u195186080
1480149190
Python
Python3
py
Runtime Error
0
0
397
import collections q = collections.deque() n = int(input()) for i in range(n): com = input().split() if com[0] == 'insert': q.appendleft(int(com[1])) elif com[0] == 'delete': try: q.remove(int(com[1])) except: pass elif com[0] == 'deleteFirst': q....
Traceback (most recent call last): File "/tmp/tmpy8_5f1qr/tmprqp_blki.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s701047930
p02265
u195186080
1480149248
Python
Python3
py
Runtime Error
0
0
347
import collections q = collections.deque() n = int(input()) for i in range(n): com = input().split() if com[0] == 'insert': q.appendleft(int(com[1])) elif com[0] == 'delete': q.remove(int(com[1])) elif com[0] == 'deleteFirst': q.popleft() elif com[0] == 'deleteLast': ...
Traceback (most recent call last): File "/tmp/tmpdeme7d07/tmptz3d8lrm.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s646475879
p02265
u195186080
1480150087
Python
Python3
py
Runtime Error
0
0
347
import collections q = collections.deque() n = int(input()) for i in range(n): com = input().split() if com[0] == 'insert': q.appendleft(int(com[1])) elif com[0] == 'delete': q.remove(int(com[1])) elif com[0] == 'deleteFirst': q.popleft() elif com[0] == 'deleteLast': ...
Traceback (most recent call last): File "/tmp/tmpclkaa_1i/tmpnmz_t_d3.py", line 3, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s711486812
p02265
u811733736
1480480251
Python
Python3
py
Runtime Error
0
0
1123
from collections import deque def process_command(dll, commands): for cmd, num_str in commands: if cmd == 'insert': dll.appendleft(int(num_str)) elif cmd == 'delete': temp = [] result = dll.popleft() while result != int(num_str): temp....
Traceback (most recent call last): File "/tmp/tmpf5vpdmqr/tmphtey9g2m.py", line 23, in <module> num = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s137966881
p02265
u811733736
1480481613
Python
Python3
py
Runtime Error
30
8032
1319
from collections import deque def process_command(dll, commands): for cmd in commands: # print(cmd) if cmd.startswith('insert') or cmd.startswith('delete '): t = cmd.split(' ') cmd = t[0] num_str = t[1] if cmd == 'insert': dll.append(int(num_s...
Traceback (most recent call last): File "/tmp/tmptgbi_b6r/tmps8f9f16z.py", line 31, in <module> num = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s624113418
p02265
u811733736
1480482345
Python
Python3
py
Runtime Error
30
7944
1071
from collections import deque def process_command(dll, commands): for cmd in commands: # print(cmd) if cmd.startswith('insert') or cmd.startswith('delete '): t = cmd.split(' ') cmd = t[0] num_str = t[1] if cmd == 'insert': dll.appendleft(int(n...
Traceback (most recent call last): File "/tmp/tmpju48yhhz/tmpqrtrj9bw.py", line 31, in <module> num = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s605810999
p02265
u742013327
1480579336
Python
Python3
py
Runtime Error
0
0
1980
#http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_3_C&lang=jp #???????????£???????????? #??¬?????????????????¬????????§????????¨???????????????????????????dummy????????????????????¨??§???????????????????????????????????§?????? def dll_processor(operations): front = None for o in operatio...
Traceback (most recent call last): File "/tmp/tmpd0htmp3m/tmpm0tadzby.py", line 75, in <module> main() File "/tmp/tmpd0htmp3m/tmpm0tadzby.py", line 70, in main n_list = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s526378743
p02265
u742013327
1480579525
Python
Python3
py
Runtime Error
30
7772
2009
#http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_3_C&lang=jp #???????????£???????????? #??¬?????????????????¬????????§????????¨???????????????????????????dummy????????????????????¨??§???????????????????????????????????§?????? def dll_processor(operations): front = None for o in operatio...
Traceback (most recent call last): File "/tmp/tmpzgzdxokl/tmp7nxhoacv.py", line 76, in <module> main() File "/tmp/tmpzgzdxokl/tmp7nxhoacv.py", line 71, in main n_list = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s531189472
p02265
u742013327
1480579653
Python
Python3
py
Runtime Error
30
7748
2066
#http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_3_C&lang=jp #???????????£???????????? #??¬?????????????????¬????????§????????¨???????????????????????????dummy????????????????????¨??§???????????????????????????????????§?????? def dll_processor(operations): front = None for o in operatio...
Traceback (most recent call last): File "/tmp/tmp2hzf8gyv/tmpob1t0_2w.py", line 78, in <module> main() File "/tmp/tmp2hzf8gyv/tmpob1t0_2w.py", line 73, in main n_list = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s965807690
p02265
u742013327
1480580072
Python
Python3
py
Runtime Error
20
7856
2157
#http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_3_C&lang=jp #???????????£???????????? #??¬?????????????????¬????????§????????¨???????????????????????????dummy????????????????????¨??§???????????????????????????????????§?????? def dll_processor(operations): front = None for o in operatio...
Traceback (most recent call last): File "/tmp/tmpxch_f8pz/tmphdcxryfr.py", line 83, in <module> main() File "/tmp/tmpxch_f8pz/tmphdcxryfr.py", line 78, in main n_list = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s718482918
p02265
u742013327
1480588797
Python
Python3
py
Runtime Error
30
7904
2285
#http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_3_C&lang=jp #???????????£???????????? #??¬?????????????????¬????????§????????¨???????????????????????????dummy????????????????????¨??§???????????????????????????????????§?????? import gc def dll_processor(operations): front = None end = None ...
Traceback (most recent call last): File "/tmp/tmpwhi44brw/tmp6vhhw4pj.py", line 87, in <module> main() File "/tmp/tmpwhi44brw/tmp6vhhw4pj.py", line 82, in main n_list = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s325715284
p02265
u742013327
1480589426
Python
Python3
py
Runtime Error
20
7804
2542
#http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_3_C&lang=jp #???????????£???????????? #??¬?????????????????¬????????§????????¨???????????????????????????dummy????????????????????¨??§???????????????????????????????????§?????? def dll_processor(operations): front = None end = None fo...
Traceback (most recent call last): File "/tmp/tmpcf21hij2/tmp2vhshupq.py", line 96, in <module> main() File "/tmp/tmpcf21hij2/tmp2vhshupq.py", line 91, in main n_list = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s042042438
p02265
u742013327
1480591585
Python
Python3
py
Runtime Error
0
0
2149
#http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_3_C&lang=jp #???????????£???????????? NEXT = 2 DATA = 1 PREV = 0 def dll_processor(operations): front = None end = None for i,o in enumerate(operations): if o[0] == "insert": front, end = insert(front, end, tuple(...
Traceback (most recent call last): File "/tmp/tmp9frqxf7x/tmpgi7gi0rd.py", line 88, in <module> main() File "/tmp/tmp9frqxf7x/tmpgi7gi0rd.py", line 83, in main n_list = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s675140345
p02265
u742013327
1480591628
Python
Python3
py
Runtime Error
0
0
2151
#http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_3_C&lang=jp #???????????£???????????? NEXT = 2 DATA = 1 PREV = 0 def dll_processor(operations): front = None end = None for i,o in enumerate(operations): if o[0] == "insert": front, end = insert(front, end, tuple(...
Traceback (most recent call last): File "/tmp/tmpc_vz4lwt/tmpyfgwn664.py", line 88, in <module> main() File "/tmp/tmpc_vz4lwt/tmpyfgwn664.py", line 83, in main n_list = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s848326428
p02265
u611490888
1481171274
Python
Python3
py
Runtime Error
30
7992
1490
#! /usr/bin/env python # -*- coding: utf-8 -*- ''' ???????????£???????????? ''' from collections import deque functions = {"insert": lambda obj, x: obj.insert(x), "delete": lambda obj, x: obj.delete(x), "deleteFirst": lambda obj: obj.deleteFirst(), "deleteLast": lambda obj: obj...
Traceback (most recent call last): File "/tmp/tmpilb4cyso/tmpn20ortn8.py", line 46, in <module> N = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s984912797
p02265
u908984540
1483191297
Python
Python3
py
Runtime Error
20
7660
432
# -*- coding:utf-8 -*- result = list() def operation(command): if command[0] == "insert": result.insert(0, int(command[1])) elif command[0] == "delete": result.remove(int(command[1])) elif command[0] == "deleteFirst": result.pop(0) elif command[0] == "deleteLast": resul...
Traceback (most recent call last): File "/tmp/tmphlhoaxbl/tmpz8kxj966.py", line 15, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s166600619
p02265
u089830331
1483658511
Python
Python3
py
Runtime Error
30
7740
374
arr = [] for i in range(int(input())): command_line = input().split(" ") command = command_line[0] arg = "" if len(command_line) > 1: arg = command_line[1] if command == "insert": arr.insert(0, arg) if command == "delete": arr.remove(arg) if command == "deleteFirst": del arr[0] if command ...
Traceback (most recent call last): File "/tmp/tmprl311wno/tmp3wth9syx.py", line 3, in <module> for i in range(int(input())): ^^^^^^^ EOFError: EOF when reading a line
s242681486
p02265
u370086573
1483943603
Python
Python3
py
Runtime Error
30
7980
350
from collections import deque n = int(input()) Q = deque() for i in range(n): comand = input().split() if comand[0] == "insert": Q.appendleft(comand[1]) elif comand[0] == "delete": Q.remove(comand[1]) elif comand[0] == "deleteFirst": Q.popleft() elif comand[0] == "deleteLas...
Traceback (most recent call last): File "/tmp/tmp696e52us/tmp9rnglne1.py", line 3, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s941841820
p02265
u370086573
1483943711
Python
Python3
py
Runtime Error
30
7856
350
from collections import deque n = int(input()) Q = deque() for i in range(n): comand = input().split() if comand[0] == "insert": Q.appendleft(comand[1]) elif comand[0] == "delete": Q.remove(comand[1]) elif comand[0] == "deleteFirst": Q.popleft() elif comand[0] == "deleteLas...
Traceback (most recent call last): File "/tmp/tmpfod_4nfa/tmpmp1pnpct.py", line 3, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s216534520
p02265
u923668099
1484094429
Python
Python3
py
Runtime Error
0
0
445
from collections import deque n = int(input()) linked_list = deque([]) for i in range(n): line = input().split() cmd = line[0] if len(line) == 2: value = line[1] if cmd == "insert": linked_list.insert(0, value) elif cmd == "delete": linked_list.remove(value) elif cmd...
Traceback (most recent call last): File "/tmp/tmp563twy1f/tmpvmnq_ue_.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s267264030
p02265
u923668099
1484095038
Python
Python3
py
Runtime Error
30
7988
446
from collections import deque n = int(input()) linked_list = deque([]) for i in range(n): line = input().split() cmd = line[0] if len(line) == 2: value = line[1] if cmd == "insert": linked_list.appendleft(value) elif cmd == "delete": linked_list.remove(value) elif cm...
Traceback (most recent call last): File "/tmp/tmp6wz8i5xp/tmpyv711pap.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s639483164
p02265
u941958472
1484197148
Python
Python3
py
Runtime Error
20
7728
504
# f = open('input.txt') n = int(input()) # n = int(f.readline()) doubly_linked_list = [] for i in range(n): cmd = input() # cmd = f.readline().strip() if cmd == 'deleteFirst': doubly_linked_list.pop(0) elif cmd == 'deleteLast': doubly_linked_list.pop(-1) else: cmd, x = cmd....
Traceback (most recent call last): File "/tmp/tmpt3jczs5p/tmpatmakw44.py", line 3, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s744228456
p02265
u941958472
1484197777
Python
Python3
py
Runtime Error
20
7648
507
# f = open('input.txt') n = int(input()) # n = int(f.readline()) doubly_linked_list = [] for i in range(n): cmd = input() # cmd = f.readline().strip() if cmd == 'deleteFirst': doubly_linked_list.pop(0) elif cmd == 'deleteLast': doubly_linked_list.pop(-1) else: cmd, x = cmd....
Traceback (most recent call last): File "/tmp/tmp1dqvgl9d/tmpcmysuaim.py", line 3, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s924989832
p02265
u436587708
1484441979
Python
Python3
py
Runtime Error
20
7740
364
n = int(input()) l = [] for _ in range(n): command = input().split() if command[0] == "insert": l.append(command[1]) elif command[0] == "delete": ind = l.index(command[1]) l.pop(ind) elif command[0] == "deleteFirst": l.pop(0) elif command[0] == "deleteLast": ...
Traceback (most recent call last): File "/tmp/tmp1wuaxk7l/tmpt8hzxd_5.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s231936140
p02265
u303093818
1484470852
Python
Python3
py
Runtime Error
30
7672
426
def show(A): for i in range(len(A) - 1): print(A[i], end=" ") print(A[len(A) - 1]) list = [] n = int(input()) for i in range(n): line = input().split() if line[0] == 'insert': list.insert(0, int(line[1])) if line[0] == 'delete': list.remove(int(line[1])) if line[0] == ...
Traceback (most recent call last): File "/tmp/tmpr_cceavt/tmprnk5wb33.py", line 8, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s003534056
p02265
u918276501
1485056235
Python
Python3
py
Runtime Error
0
0
279
l = [] n = int(input()) for _ in range(n): c, *i = input().split() if c == 'insert': l = [*i, *l] elif c == 'delete': l.remove(*i) elif c == 'deleteFirst': del l[0] elif c == 'deleteLast': del l[len(l)-1] else: pass
Traceback (most recent call last): File "/tmp/tmp2z1w6_yb/tmp4usogpr7.py", line 2, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s573229968
p02265
u918276501
1485056322
Python
Python3
py
Runtime Error
0
0
289
l = [] n = int(input()) for _ in range(n): c, *i = input().split() if c == 'insert': l = [*i, *l] elif c == 'delete': l.remove(*i) elif c == 'deleteFirst': del l[0] elif c == 'deleteLast': del l[len(l)-1] else: pass print(*l)
Traceback (most recent call last): File "/tmp/tmpjtcos6an/tmpe53bsofh.py", line 2, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s437974432
p02265
u918276501
1485056600
Python
Python3
py
Runtime Error
0
0
289
l = [] n = int(input()) for _ in range(n): c, *i = input().split() if c == 'insert': l = [*i, *l] elif c == 'delete': l.remove(*i) elif c == 'deleteFirst': del l[0] elif c == 'deleteLast': del l[len(l)-1] else: pass print(*l)
Traceback (most recent call last): File "/tmp/tmp5tw4t2vd/tmpl28n74nv.py", line 2, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s815107630
p02265
u918276501
1485066512
Python
Python3
py
Runtime Error
30
7944
307
import sys from collections import deque n = int(sys.stdin.readline()) q = deque() for i in range(n): c = sys.stdin.readline()[:-1] if c[0] == 'i': q.appendleft(c[7:]) elif c[6] == ' ': q.remove(c[7:]) elif c[6] == 'F': q.popleft() else: q.pop() print(*q)
Traceback (most recent call last): File "/tmp/tmpn2x357aq/tmp_z5f6zvy.py", line 3, in <module> n = int(sys.stdin.readline()) ^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: ''
s668836259
p02265
u600065151
1485578979
Python
Python3
py
Runtime Error
30
7988
380
from collections import deque order = int(input()) llist = [input().split() for _ in range(order)] ans = deque([]) for lst in llist: if lst[0] == 'insert': ans.appendleft(lst[1]) elif lst[0] == 'delete': ans.remove(lst[1]) elif lst[0] == 'deleteFirst': ans.popleft() ...
Traceback (most recent call last): File "/tmp/tmp27zss7yr/tmp1c02d0bo.py", line 2, in <module> order = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s159233673
p02265
u711765449
1486224430
Python
Python3
py
Runtime Error
30
7768
605
n = int(input()) arr = [] for i in range(n): c = input() try: tmp = c.split() com = str(tmp[0]) num = int(tmp[1]) except: com = str(c) num = -1 if num != -1: if com == 'insert': arr.insert(0,num) if com == 'delete': ind = a...
Traceback (most recent call last): File "/tmp/tmpl3kgyjx1/tmp3et1wpui.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s436616794
p02265
u917432951
1486541071
Python
Python3
py
Runtime Error
20
7760
390
n = int(input()) data_input = [] for i in range(n): data_input.append(input().split()) dlList = [] for x in data_input: if x[0] == 'insert': dlList.insert(0,x[1]) elif x[0] == 'delete': dlList.remove(x[1]) elif x[0] == 'deleteFirst': dlList.pop(0) elif x[0] == 'deleteLast'...
Traceback (most recent call last): File "/tmp/tmpfaxr3c0g/tmpzkfc_sot.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s162094367
p02265
u831244171
1487212691
Python
Python3
py
Runtime Error
0
0
419
from collections import deque n = int(input()) Q = deque() for i in range(n): command = input().split() if command[0] == "insert": Q.appendleft(command[1]) elif command[0] == "deleteFirst": Q.popleft() elif command[0] == "deleteLast": Q.popright() elif command[0] == "delete"...
Traceback (most recent call last): File "/tmp/tmpz6pycclq/tmphm6jgwtd.py", line 2, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s609248396
p02265
u656153606
1487412604
Python
Python3
py
Runtime Error
0
0
483
def operation(command, num, arrey): if command == 'insert': arrey.insert(0,num) return arrey elif command == 'delete': if num in arrey: arrey.remove(num) elif command == 'deleteFirst': arrey.pop(0) elif command == 'deleteLast': arrey.pop(-1) n = int(...
Traceback (most recent call last): File "/tmp/tmpv7d9g5yc/tmps3h01fgi.py", line 14, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s755748489
p02265
u656153606
1487413956
Python
Python3
py
Runtime Error
0
0
578
from collections import deque def operation(command, arrey): if command[0] == 'insert': arrey.insert(0,command[1]) return arrey elif command[0] == 'delete': if command[1] in arrey: arrey.remove(command[1]) elif command[0] == 'deleteFirst': arrey.pop(0) elif c...
Traceback (most recent call last): File "/tmp/tmpqplkoyzr/tmpl3svcz53.py", line 16, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s894168560
p02265
u656153606
1487414102
Python
Python3
py
Runtime Error
0
0
579
from collections import deque def operation(command, arrey): if command[0] == 'insert': arrey.insert(0,command[1]) return arrey elif command[0] == 'delete': if command[1] in arrey: arrey.remove(command[1]) elif command[0] == 'deleteFirst': arrey.popleft() eli...
Traceback (most recent call last): File "/tmp/tmpnbvr_g1o/tmp8hqgz3ag.py", line 16, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s579679299
p02265
u656153606
1487414186
Python
Python3
py
Runtime Error
0
0
535
from collections import deque def operation(command, arrey): if command[0] == 'insert': arrey.insert(0,command[1]) return arrey elif command[0] == 'delete': if command[1] in arrey: arrey.remove(command[1]) elif command[0] == 'deleteFirst': arrey.popleft() eli...
Traceback (most recent call last): File "/tmp/tmpkmhz0gwo/tmp92a268in.py", line 16, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s908366905
p02265
u656153606
1487414300
Python
Python3
py
Runtime Error
0
0
504
from collections import deque def operation(command, arrey): if command[0] == 'insert': arrey.insert(0,command[1]) return arrey elif command[0] == 'delete': if command[1] in arrey: arrey.remove(command[1]) elif command[0] == 'deleteFirst': arrey.popleft() eli...
Traceback (most recent call last): File "/tmp/tmpkgq31154/tmpu3u9ya6e.py", line 16, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s877518273
p02265
u656153606
1487414487
Python
Python3
py
Runtime Error
0
0
504
from collections import deque def operation(command, arrey): if command[0] == 'insert': arrey.insert(0,command[1]) return arrey elif command[0] == 'delete': if command[1] in arrey: arrey.remove(command[1]) elif command[0] == 'deleteFirst': arrey.popleft() eli...
Traceback (most recent call last): File "/tmp/tmp_wibrho8/tmprr06qczs.py", line 16, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s794980370
p02265
u656153606
1487414770
Python
Python3
py
Runtime Error
0
0
505
from collections import deque def operation(command, arrey): if command[0] == 'insert': arrey.insert(0,command[1]) return arrey elif command[0] == 'delete': if command[1] in arrey: arrey.remove(command[1]) elif command[0] == 'deleteFirst': arrey.popleft() el...
Traceback (most recent call last): File "/tmp/tmpdlhe_tuu/tmp26nra06_.py", line 17, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s867537194
p02265
u656153606
1487415000
Python
Python3
py
Runtime Error
0
0
541
from collections import deque import sys def operation(command, arrey): if command[0] == 'insert': arrey.insert(0,command[1]) return arrey elif command[0] == 'delete': if command[1] in arrey: arrey.remove(command[1]) elif command[0] == 'deleteFirst': arrey.poplef...
Traceback (most recent call last): File "/tmp/tmps9jr3wqb/tmpurvkj12m.py", line 17, in <module> n = int(sys.stdin.readline()) ^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: ''
s231373003
p02265
u895660619
1488402492
Python
Python3
py
Runtime Error
0
0
2317
class Node: elm = None nxt = None prev = None def __init__(self, elm=None, prev=None, nxt=None): self.elm = elm self.prev = prev self.nxt = nxt class MyDLList: size = 0 head = tail = None def insert(self, elm): if self.is_empty(): self.head = s...
Traceback (most recent call last): File "/tmp/tmp9mfz5ffg/tmp5p6599i6.py", line 83, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s154631250
p02265
u895660619
1488402532
Python
Python3
py
Runtime Error
30
7800
2309
class Node: elm = None nxt = None prev = None def __init__(self, elm=None, prev=None, nxt=None): self.elm = elm self.prev = prev self.nxt = nxt class MyDLList: size = 0 head = tail = None def insert(self, elm): if self.is_empty(): self.head = s...
Traceback (most recent call last): File "/tmp/tmpff6_13zh/tmpfyirfms7.py", line 83, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s940339760
p02265
u895660619
1488404263
Python
Python3
py
Runtime Error
0
0
2240
class Node: elm = None nxt = None prev = None def __init__(self, elm=None, prev=None, nxt=None): self.elm = elm self.prev = prev self.nxt = nxt class MyDLList: size = 0 head = tail = None def insert(self, elm): if self.is_empty(): self.head = s...
Traceback (most recent call last): File "/tmp/tmp16n1w2oq/tmpm_2t228b.py", line 84, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s423262320
p02265
u895660619
1488412985
Python
Python3
py
Runtime Error
20
7896
2778
class Node: elm = None nxt = None prev = None def __init__(self, elm=None, prev=None, nxt=None): self.elm = elm self.prev = prev self.nxt = nxt class MyDLList: size = 0 head = tail = None dic = dict() def insert(self, elm): if self.is_empty(): ...
Traceback (most recent call last): File "/tmp/tmp3bb0n87r/tmppclgrld0.py", line 95, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s122222615
p02265
u895660619
1488426944
Python
Python3
py
Runtime Error
0
0
395
from collections import deque n = int(input()) q = deque() for i in range(n): x = list(map(str, input().split())) if x[0] == "insert": q.appendleft(int(x[1])) elif x[0] == "delete": try: q.remove(int(x[1])) except ValueError: pass elif x[0] == "deleteFirs...
Traceback (most recent call last): File "/tmp/tmppr9lgqm2/tmppjy1ioqr.py", line 3, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s198615946
p02265
u895660619
1488427620
Python
Python3
py
Runtime Error
0
0
360
from collections import deque import sys n = int(input()) q = deque() for i in range(n): s = sys.stdin.readlines() if s[0] == "i": q.appendleft(s[7]) elif s[6] == "F": q.popleft() elif s[6] == "L": q.pop() else: try: q.remove(s[7]) except ValueErr...
Traceback (most recent call last): File "/tmp/tmphgfb_iar/tmptth409sv.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s095159765
p02265
u970269944
1488439429
Python
Python
py
Runtime Error
10
6372
1753
class Node: elm = None next = None prev = None class MyQueue: head = tail = None def enq(self, x): n = Node() n.elm = x if self.head == None: self.head = self.tail = n else: self.tail.next = n n.prev = self.tail self.tail = n def deq(self): if self.head == None: return None x = self.h...
File "/tmp/tmp01hc_zmu/tmpwyf9h9k0.py", line 96 print myList ^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s037917697
p02265
u970269944
1488439472
Python
Python
py
Runtime Error
10
6316
1753
class Node: elm = None next = None prev = None class MyQueue: head = tail = None def enq(self, x): n = Node() n.elm = x if self.head == None: self.head = self.tail = n else: self.tail.next = n n.prev = self.tail self.tail = n def deq(self): if self.head == None: return None x = self.h...
File "/tmp/tmp7n0oi9nb/tmp7powehbr.py", line 96 print myList ^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s356941033
p02265
u895660619
1488493988
Python
Python3
py
Runtime Error
30
7816
1929
class MyDLList: head = tail = None size = 0 def append_left(self, elm): if self.is_empty(): self.head = self.tail = [elm, None, None] # elm, prev, next else: cur = [elm, None, self.head] self.head[1] = cur self.head = cur s...
Traceback (most recent call last): File "/tmp/tmpmbzt5_ni/tmpi1zfbbb8.py", line 67, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s793887821
p02265
u370086573
1488723377
Python
Python3
py
Runtime Error
30
7928
401
from collections import deque if __name__ == '__main__': n = int(input()) L = deque() for i in range(n): cmd = input().split() if cmd[0] == 'insert': L.appendleft(cmd[1]) if cmd[0] == 'delete': L.remove(cmd[1]) if cmd[0] == 'deleteFirst': ...
Traceback (most recent call last): File "/tmp/tmpxy3tux6a/tmpppw9p54e.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s126539683
p02265
u370086573
1488723425
Python
Python3
py
Runtime Error
30
7856
407
from collections import deque if __name__ == '__main__': n = int(input()) L = deque() for i in range(n): cmd = input().split() if cmd[0] == 'insert': L.appendleft(cmd[1]) elif cmd[0] == 'delete': L.remove(cmd[1]) elif cmd[0] == 'deleteFirst': ...
Traceback (most recent call last): File "/tmp/tmpvns4mexf/tmpn35x44ki.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s581214740
p02265
u370086573
1488723486
Python
Python3
py
Runtime Error
30
7924
368
from collections import deque if __name__ == '__main__': n = int(input()) L = deque() for i in range(n): cmdline = input().split() if cmdline[0] == "insert": L.appendleft(cmdline[1]) elif cmdline[0] == "delete": L.remove(cmdline[1]) elif cmdline[0] == "deleteFirst": L.popleft() elif cmdline[0] ...
Traceback (most recent call last): File "/tmp/tmp06pczsp8/tmpimge8mxi.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s678414377
p02265
u370086573
1488724394
Python
Python3
py
Runtime Error
0
0
404
def linearSearch(A, key): i = 0 A.append(key) while A[i] != key: i += 1 if i == n: return False return i if __name__ == '__main__': n = int(input()) S = list(map(int, input().split())) q = int(input()) T = list(map(int, input().split())) cnt = 0 for key in ...
Traceback (most recent call last): File "/tmp/tmp1o7vuwxp/tmpt1q1izco.py", line 12, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s273931326
p02265
u548155360
1489043873
Python
Python3
py
Runtime Error
0
0
298
N = int(input()) A = [] for i in xrange(N): b= input() if (" " in b): b, c = b.split() c = int(c) if b == "insert": A.insert(0, c) elif b == "delete": if (c in A): A.remove(c) elif b == "deleteFirst": A.pop(0) elif b == "deleteLast": A.pop() print(" ".join(map(str, A)))
Traceback (most recent call last): File "/tmp/tmpt6344rkh/tmp4mxcnn1u.py", line 1, in <module> N = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s927411722
p02265
u548155360
1489044030
Python
Python3
py
Runtime Error
0
0
351
N = int(input()) A = [] pop = A.pop remove = A.remove insert = A.insert split = b.split for i in range(N): b= input() if (" " in b): b, c = split() c = int(c) if b == "insert": insert(0, c) elif b == "delete": if (c in A): remove(c) elif b == "deleteFirst": pop(0) elif b == "deleteLast": pop() ...
Traceback (most recent call last): File "/tmp/tmpka0ahe7p/tmpkmlqznwp.py", line 1, in <module> N = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s751999814
p02265
u548155360
1489044862
Python
Python3
py
Runtime Error
0
0
327
from collections in deque N = int(input()) A = deque() for i in range(N): b= input() if b == "deleteFirst": A.popleft() elif b == "deleteLast": A.pop() else: b, c = b.split() c = int(c) if b == "insert": A.appendleft(c) elif b == "delete": if (c in A): A.remove(c) print(" ".join(map(str,...
File "/tmp/tmp9cxpqei2/tmpbhbzta02.py", line 1 from collections in deque ^^ SyntaxError: invalid syntax
s903032029
p02265
u130834228
1490466826
Python
Python3
py
Runtime Error
30
7748
490
n = int(input()) dll =[] for i in range(n): command = input().split() if command[0] == 'insert': dll.insert(0, command[1]) elif command[0] == 'delete': # for i in range(len(dll)): #if dll[i] == command[1]: #dll.pop(i) #break indexes = [i fo...
Traceback (most recent call last): File "/tmp/tmp5__2miy6/tmpq8s81ipt.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s331105657
p02265
u130834228
1490467589
Python
Python3
py
Runtime Error
30
7668
425
n = int(input()) dll =[] for i in range(n): command = input().split() if command[0] == 'insert': dll.insert(0, command[1]) elif command[0] == 'delete': # for i in range(len(dll)): #if dll[i] == command[1]: #dll.pop(i) #break dll.remove(comm...
Traceback (most recent call last): File "/tmp/tmp9ylff252/tmpb75267sg.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s208852078
p02265
u130834228
1490504558
Python
Python3
py
Runtime Error
0
0
377
n = int(input()) dll =[] for i in range(n): command = input().split() if command[0] == 'insert': dll.insert(0, command[1]) elif command[0] == 'delete': try: dll.remove(command[1]) except: pass elif command[0] == 'deleteFirst': dll.pop(0) else: ...
Traceback (most recent call last): File "/tmp/tmp4xcezq_y/tmpoxk8j4tm.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s251460590
p02265
u462831976
1491287945
Python
Python3
py
Runtime Error
30
7940
444
# -*- coding: utf-8 -*- import sys import os from collections import deque N = int(input()) q = deque() for i in range(N): lst = input().split() command = lst[0] if command == 'insert': v = int(lst[1]) q.appendleft(v) elif command == 'delete': v = int(lst[1]) q.remove...
Traceback (most recent call last): File "/tmp/tmpmr0arlj5/tmpwnm02uir.py", line 8, in <module> N = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s071113413
p02265
u144068724
1492102110
Python
Python3
py
Runtime Error
0
0
457
# coding: utf-8 # Here your code ! import sys n = int(input()) output = [] for i in range(n): order,data =input().split() if order == "insert": output.append(int(data)) elif order == "deleteFirst": output.pop() elif order == "deleteLast": output.popleft() elif order == "dele...
Traceback (most recent call last): File "/tmp/tmpnmsitt3o/tmpup8iu3s8.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s804379484
p02265
u144068724
1492102137
Python
Python3
py
Runtime Error
0
0
446
# coding: utf-8 # Here your code ! n = int(input()) output = [] for i in range(n): order,data =input().split() if order == "insert": output.append(int(data)) elif order == "deleteFirst": output.pop() elif order == "deleteLast": output.popleft() elif order == "delete": ...
Traceback (most recent call last): File "/tmp/tmp8si_oiro/tmp6035_sus.py", line 3, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s674027700
p02265
u144068724
1492102239
Python
Python3
py
Runtime Error
0
0
457
# coding: utf-8 # Here your code ! import sys n = int(input()) output = [] for i in range(n): order,data =input().split() if order == "insert": output.append(int(data)) elif order == "deleteFirst": output.pop() elif order == "deleteLast": output.popleft() elif order == "dele...
Traceback (most recent call last): File "/tmp/tmphgfc6w4u/tmp44rs43zd.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s839812881
p02265
u144068724
1492102304
Python
Python3
py
Runtime Error
0
0
488
# coding: utf-8 # Here your code ! import sys from collections import deque n = int(input()) output = [] for i in range(n): order,data =input().split() if order == "insert": output.append(int(data)) elif order == "deleteFirst": output.pop() elif order == "deleteLast": output.po...
Traceback (most recent call last): File "/tmp/tmpyi_7i3o8/tmpdbxfcbgn.py", line 6, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s225399900
p02265
u144068724
1492102374
Python
Python3
py
Runtime Error
0
0
487
# coding: utf-8 # Here your code ! import sys from collections import deque n = int(input()) output = [] for i in range(n): order,data =input().split() if order == "insert": output.append(int(data)) elif order == "deleteFirst": output.pop() elif order == "deleteLast": output.pop...
Traceback (most recent call last): File "/tmp/tmp9hz610i0/tmpnni74ndf.py", line 5, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s708509715
p02265
u144068724
1492102475
Python
Python3
py
Runtime Error
0
0
512
# coding: utf-8 # Here your code ! import sys from collections import deque n = int(input()) output = [] for i in range(n): order,data =input().split() if order == "insert": output.append(int(data)) elif order == "deleteFirst": output.pop() elif order == "deleteLast": output.pop...
Traceback (most recent call last): File "/tmp/tmpvmry_4tx/tmpj45d7vz3.py", line 5, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s358779140
p02265
u144068724
1492102606
Python
Python3
py
Runtime Error
0
0
513
# coding: utf-8 # Here your code ! import sys from collections import deque n = int(input()) output = [] for i in range(n): order,data =input().split() if order == "insert": output.append(int(data)) elif order == "deleteFirst": output.pop() elif order == "deleteLast": output.pop...
Traceback (most recent call last): File "/tmp/tmp_jykiw0r/tmphtko5rnv.py", line 5, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s971965190
p02265
u144068724
1492102622
Python
Python3
py
Runtime Error
0
0
513
# coding: utf-8 # Here your code ! import sys from collections import deque n = int(input()) output = [] for i in range(n): order,data =input().split() if order == "insert": output.append(int(data)) elif order == "deleteFirst": output.pop() elif order == "deleteLast": # output.po...
File "/tmp/tmpyq55joba/tmpoxcfki6u.py", line 15 elif order == "delete": ^ IndentationError: expected an indented block after 'elif' statement on line 13
s646670532
p02265
u144068724
1492102666
Python
Python3
py
Runtime Error
0
0
534
# coding: utf-8 # Here your code ! import sys from collections import deque n = int(input()) output = [] for i in range(n): order,data =input().split() if order == "insert": output.append(int(data)) elif order == "deleteFirst": output.pop() elif order == "deleteLast": # output.po...
Traceback (most recent call last): File "/tmp/tmp9s36ouda/tmpl23ehido.py", line 5, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s736715318
p02265
u144068724
1492102689
Python
Python3
py
Runtime Error
0
0
514
# coding: utf-8 # Here your code ! import sys from collections import deque n = int(input()) output = [] for i in range(n): order,data =input().split() if order == "insert": output.append(int(data)) elif order == "deleteFirst": output.pop() elif order == "deleteLast": output.pop...
File "/tmp/tmpbgvcq0lv/tmpzhommnj1.py", line 19 except: ^ IndentationError: expected an indented block after 'try' statement on line 17
s614116948
p02265
u144068724
1492102704
Python
Python3
py
Runtime Error
0
0
472
# coding: utf-8 # Here your code ! n = int(input()) output = [] for i in range(n): order,data =input().split() if order == "insert": output.append(int(data)) elif order == "deleteFirst": output.pop() elif order == "deleteLast": output.popleft() elif order == "delete": ...
Traceback (most recent call last): File "/tmp/tmpfzzqlktd/tmpq_qc93fu.py", line 3, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s543013202
p02265
u144068724
1492102743
Python
Python3
py
Runtime Error
0
0
480
# coding: utf-8 # Here your code ! n = int(input()) output = [] for i in range(n): order,data =input().split() if order == "insert": output.append(int(data)) # elif order == "deleteFirst": # output.pop() # elif order == "deleteLast": # output.popleft() # elif order == "delete": #...
Traceback (most recent call last): File "/tmp/tmpvnycuhpb/tmp3htbgja1.py", line 3, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s274737608
p02265
u144068724
1492102773
Python
Python3
py
Runtime Error
0
0
482
# coding: utf-8 # Here your code ! n = int(input()) output = [] for i in range(n): order,data =input().split() # if order == "insert": # output.append(int(data)) # elif order == "deleteFirst": # output.pop() # elif order == "deleteLast": # output.popleft() # elif order == "delete":...
Traceback (most recent call last): File "/tmp/tmpbaledt7e/tmps921girc.py", line 3, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s543601012
p02265
u144068724
1492102792
Python
Python3
py
Runtime Error
0
0
483
# coding: utf-8 # Here your code ! n = int(input()) output = [] for i in range(n): order,data =input().split() # if order == "insert": # output.append(int(data)) # elif order == "deleteFirst": # output.pop() # elif order == "deleteLast": # output.popleft() # elif order == "delete":...
Traceback (most recent call last): File "/tmp/tmpuznkes0r/tmpbdjumwqh.py", line 3, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s106392346
p02265
u144068724
1492102807
Python
Python3
py
Runtime Error
0
0
449
n = int(input()) output = [] for i in range(n): order,data =input().split() # if order == "insert": # output.append(int(data)) # elif order == "deleteFirst": # output.pop() # elif order == "deleteLast": # output.popleft() # elif order == "delete": # try: # output...
Traceback (most recent call last): File "/tmp/tmp8cot6ouk/tmp3rj3od5t.py", line 2, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s622495562
p02265
u144068724
1492102849
Python
Python3
py
Runtime Error
0
0
449
n = int(input()) output = [] for i in range(n): order,data =input().split() # if order == "insert": # output.append(int(data)) # elif order == "deleteFirst": # output.pop() # elif order == "deleteLast": # output.popleft() # elif order == "delete": # try: # output...
Traceback (most recent call last): File "/tmp/tmpxxw_wkeg/tmpim4x0onu.py", line 2, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s084661113
p02265
u144068724
1492102867
Python
Python3
py
Runtime Error
0
0
450
n = int(input()) output = [] for i in range(n): order,data = input().split() # if order == "insert": # output.append(int(data)) # elif order == "deleteFirst": # output.pop() # elif order == "deleteLast": # output.popleft() # elif order == "delete": # try: # outpu...
Traceback (most recent call last): File "/tmp/tmpu5j090dz/tmpr8ygfd9z.py", line 2, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s232675921
p02265
u144068724
1492102926
Python
Python3
py
Runtime Error
0
0
459
n = int(input()) output = [] for i in range(n): order,data = map(str,input().split() ) # if order == "insert": # output.append(int(data)) # elif order == "deleteFirst": # output.pop() # elif order == "deleteLast": # output.popleft() # elif order == "delete": # try: # ...
Traceback (most recent call last): File "/tmp/tmp4x7za594/tmpx1nt6ltr.py", line 2, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line