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
s483706309
p02406
u727538672
1505268245
Python
Python3
py
Runtime Error
0
0
219
n = int(input()) for i in range(n + 1): if i != 0 and i % 3 == 0: print('',i,end='') elif '3' in str(i): print('',i,end='')
File "/tmp/tmp93b0cqfo/tmph6q_56sn.py", line 1 n = int(input()) IndentationError: unexpected indent
s656981031
p02406
u727538672
1505268299
Python
Python3
py
Runtime Error
0
0
225
n = int(input()) for i in range(n + 1): if i != 0 and i % 3 == 0: print(' ' + i,end='') elif '3' in str(i): print(' ' + i,end='')
File "/tmp/tmp2_ggf4wq/tmpo62b4qf9.py", line 1 n = int(input()) IndentationError: unexpected indent
s034720156
p02406
u727538672
1505268320
Python
Python3
py
Runtime Error
0
0
233
n = int(input()) for i in range(n + 1): if i != 0 and i % 3 == 0: print(' ' + i,end='') elif '3' in str(i): print(' ' + i,end='')
File "/tmp/tmp2nv5n7lq/tmpt0ycjtfs.py", line 1 n = int(input()) IndentationError: unexpected indent
s008178748
p02406
u727538672
1505268411
Python
Python3
py
Runtime Error
0
0
161
n = int(input()) for i in range(n + 1): if i != 0 and i % 3 == 0: print('', i,end='') elif '3' in str(i): print('', i,end='')
File "/tmp/tmpyp5cjizp/tmp9rn2fdin.py", line 1 n = int(input()) IndentationError: unexpected indent
s208027434
p02406
u664228906
1506405777
Python
Python3
py
Runtime Error
0
0
195
n = int(input()) for i in range(1, n+1): if i%3 == 0: print(" " + i) elif i%10 == 3: print(" " + i) div = i while div//10: div = div//10 if div%10 == 3: print(" " + div) div = 0
Traceback (most recent call last): File "/tmp/tmpu02r9mao/tmpxv8wt2c4.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s835030321
p02406
u664228906
1506405985
Python
Python3
py
Runtime Error
0
0
218
n = int(input()) for i in range(1, n+1): if i%3 == 0: str +=" " + str(i) elif i%10 == 3: str +=" " + str(i) div = i while div//10: div = div//10 if div%10 == 3: str +=" " + str(div) div = 0 print(str)
Traceback (most recent call last): File "/tmp/tmpzychav7q/tmpgiomv1tc.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s428785386
p02406
u664228906
1506406016
Python
Python3
py
Runtime Error
0
0
230
n = int(input()) str = '' for i in range(1, n+1): if i%3 == 0: str += " " + str(i) elif i%10 == 3: str += " " + str(i) div = i while div//10: div = div//10 if div%10 == 3: str += " " + str(div) div = 0 print(str)
Traceback (most recent call last): File "/tmp/tmpbryxbvqb/tmpilvg0e39.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s806646002
p02406
u664228906
1506406058
Python
Python3
py
Runtime Error
0
0
229
n = int(input()) for i in range(1, n+1): if i%3 == 0: strng += " " + str(i) elif i%10 == 3: strng += " " + str(i) div = i while div//10: div = div//10 if div%10 == 3: strng += " " + str(div) div = 0 print(strng)
Traceback (most recent call last): File "/tmp/tmpes1dpez8/tmpel77j2ef.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s148063636
p02406
u664228906
1506406330
Python
Python3
py
Runtime Error
0
0
222
n = int(input()) for i in range(1, n+1): if i%3 == 0: ans += " " + str(i) elif i%10 == 3: ans += " " + str(i) div = i while div//10: div = div//10 if div%10 == 3: ans += " " + str(div) div = 0 print(ans)
Traceback (most recent call last): File "/tmp/tmpga8o4atp/tmpi8tv51lr.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s546293487
p02406
u846136461
1509528952
Python
Python
py
Runtime Error
0
0
166
text = "" for i in range(1, n+1): if i % 3 == 0: text += " " + str(i) elif: while i: if i % 10 == 3: text += " " + str(i) else: i /= 10 print text
File "/tmp/tmp4cssloxz/tmpd7mhnthk.py", line 5 elif: ^ SyntaxError: invalid syntax
s406234545
p02406
u505411588
1510397136
Python
Python3
py
Runtime Error
0
0
1066
#3????????°??¨10??§?????£????????????3??????????????????print????????? #???????????????????????§?????????????????????????????? #???????????°????????\????????¨??????????????? #??????????????¨????????????????????¶??§???????????°???????????????????????????????????? #3????????°?????????3?¶?????????°?????\??????????¶???????...
Traceback (most recent call last): File "/tmp/tmpkku87lio/tmp91gscjiq.py", line 11, in <module> x = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s386515967
p02406
u150984829
1513088719
Python
Python3
py
Runtime Error
0
0
98
for i in range(1,int(input)+1): a=i while(a>0): if a%3==0: print(i,end='') break a/=10
Traceback (most recent call last): File "/tmp/tmp88ze0gps/tmpi63m2f92.py", line 1, in <module> for i in range(1,int(input)+1): ^^^^^^^^^^ TypeError: int() argument must be a string, a bytes-like object or a real number, not 'builtin_function_or_method'
s763344343
p02406
u150984829
1513089049
Python
Python
py
Runtime Error
0
0
116
for i in range(1,int(input())+1): a=i while(a>0): if a%3==0 or a%10==3: print(' ',i,end=' ') break a/=10
Traceback (most recent call last): File "/tmp/tmp4xcefm40/tmpmy5jwg2b.py", line 1, in <module> for i in range(1,int(input())+1): ^^^^^^^ EOFError: EOF when reading a line
s720616450
p02406
u150984829
1513089070
Python
Python
py
Runtime Error
0
0
118
for i in range(1,int(input())+1): a=i while(a>0): if a%3==0 or a%10==3: print(f' {i}',end=' ') break a/=10
Traceback (most recent call last): File "/tmp/tmpzoz1_knn/tmp2erpgu2o.py", line 1, in <module> for i in range(1,int(input())+1): ^^^^^^^ EOFError: EOF when reading a line
s221157037
p02406
u150984829
1513089098
Python
Python
py
Runtime Error
0
0
117
for i in range(1,int(input())+1): a=i while(a>0): if a%3==0 or a%10==3: print(f' {i}',end='') break a/=10
Traceback (most recent call last): File "/tmp/tmp2knfbpo7/tmp3s67hgpg.py", line 1, in <module> for i in range(1,int(input())+1): ^^^^^^^ EOFError: EOF when reading a line
s660579553
p02406
u150984829
1513089339
Python
Python3
py
Runtime Error
0
0
102
for i in range(1,int(input())+1): if a%3==0 if a%3==0 or a%10==3: print(f' {i}',end='') break
File "/tmp/tmpfyhpq2j_/tmpybls_y7z.py", line 2 if a%3==0 ^ SyntaxError: expected ':'
s603102047
p02406
u150984829
1513089362
Python
Python3
py
Runtime Error
0
0
77
for i in range(1,int(input())+1): if a%3==0 or a%10==3:print(f' {i}',end='')
Traceback (most recent call last): File "/tmp/tmpmdeydngi/tmpeq6mrquy.py", line 1, in <module> for i in range(1,int(input())+1): ^^^^^^^ EOFError: EOF when reading a line
s121189905
p02406
u150984829
1513115410
Python
Python3
py
Runtime Error
0
0
162
n=int(input()) for i in range(1,n+1): a=i m=[] if a%3==0: m.append(i) continue while a>0: if a%10==3: m.append(i) break a/=10 print(' '.join(m))
Traceback (most recent call last): File "/tmp/tmpyjpqo1pn/tmpoywmync9.py", line 1, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s229499289
p02406
u150984829
1513115640
Python
Python3
py
Runtime Error
0
0
156
n=int(input()) m=[] for i in range(1,n+1): a=i if a%3==0: m.append(i) continue while a>0: if a%10==3: m.append(i) break a/=10 print(' '+*m)
File "/tmp/tmprks5s5ns/tmpw9q9hukh.py", line 13 print(' '+*m) ^ SyntaxError: invalid syntax
s774844377
p02406
u150984829
1513172895
Python
Python
py
Runtime Error
0
0
75
print(*['']+[i for i in range(3,int(input())+1)if i%3==0 or '3' in str(i)])
Traceback (most recent call last): File "/tmp/tmp2g9ri5tc/tmp3vtrtcxw.py", line 1, in <module> print(*['']+[i for i in range(3,int(input())+1)if i%3==0 or '3' in str(i)]) ^^^^^^^ EOFError: EOF when reading a line
s901274132
p02406
u150984829
1513173034
Python
Python3
py
Runtime Error
0
0
74
print(' '+*[i for i in range(3,int(input())+1)if i%3==0 or '3' in str(i)])
File "/tmp/tmpehcx7b91/tmpoyhihd0i.py", line 1 print(' '+*[i for i in range(3,int(input())+1)if i%3==0 or '3' in str(i)]) ^ SyntaxError: invalid syntax
s946763792
p02406
u625806423
1515067690
Python
Python
py
Runtime Error
0
0
180
n = int(input()) i = 1 while i <= n: if i % 3 == 0: print(" {:d}".format(i),end="") elif i % 10 == 3: print(" {:d}".format(i),end="") i += 1 print("")
Traceback (most recent call last): File "/tmp/tmp0ihdga1c/tmpun8_2htx.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s005410896
p02406
u150984829
1518195725
Python
Python3
py
Runtime Error
0
0
428
#include <iostream> using namespace std; int main(){ int n; cin >> n; for (int i = 3; i <= n; i++) { if (i%3==0) cout << ' ' << i; else { int x = i; while (x) { if (x%10 == 3) { cout << ' ' << i; break;...
File "/tmp/tmp7h2jrow9/tmpylh98osp.py", line 3 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s264671120
p02406
u640809202
1518330624
Python
Python3
py
Runtime Error
0
0
110
n=int(input()) for i in range(n) if i % 3 == 0 or i//10 == 3 : print(str(i) + " ") else :
File "/tmp/tmp41vlsdrh/tmp9_28vmpo.py", line 4 for i in range(n) ^ SyntaxError: expected ':'
s660214427
p02406
u640809202
1518330636
Python
Python3
py
Runtime Error
0
0
111
n=int(input()) for i in range(n): if i % 3 == 0 or i//10 == 3 : print(str(i) + " ") else :
File "/tmp/tmp0hru24z4/tmpqrz1zx0t.py", line 8 IndentationError: expected an indented block after 'else' statement on line 7
s468951231
p02406
u641082901
1519837233
Python
Python3
py
Runtime Error
0
0
147
while True : h, w = [int(x) for x in input().split()] if h == w == 0 : break for i in range(h) : print(('#.'*w)[i%2:][:w]) print()
Traceback (most recent call last): File "/tmp/tmpurh0nh6d/tmppn1_81p5.py", line 2, in <module> h, w = [int(x) for x in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s296744311
p02406
u621084859
1522646854
Python
Python3
py
Runtime Error
0
0
80
n=int(input()) result =0 while i <=n: result/=i i/=i print(result)
Traceback (most recent call last): File "/tmp/tmpim0zds6o/tmpro_bl6k0.py", line 1, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s231092676
p02406
u621084859
1522652798
Python
Python3
py
Runtime Error
0
0
173
n=int(input()) for i in range(1,n+1) if i%3==0: print(" "+ str(i),end=" ") else: j=str(i) if "3" in s: print(" "+str(i),end=" ") print(" ")
File "/tmp/tmpy9zipr0r/tmp42k7s1hg.py", line 2 for i in range(1,n+1) ^ SyntaxError: expected ':'
s186961905
p02406
u621084859
1522652862
Python
Python3
py
Runtime Error
0
0
173
n=int(input()) for i in range(1,n+1) if i%3==0: print(" "+ str(i),end=" ") else: j=str(i) if "3" in j: print(" "+str(i),end=" ") print(" ")
File "/tmp/tmpvbisbg6j/tmptm0_3dx3.py", line 2 for i in range(1,n+1) ^ SyntaxError: expected ':'
s446084476
p02406
u621084859
1522652989
Python
Python3
py
Runtime Error
0
0
176
n=int(input()) for i in range(1,n+1) if i%3==0: print(" "+ str(i),end=" ") else: j=str(i) if "3" in j: print(" "+str(i),end=" ") print(" ")
File "/tmp/tmp6j4hj3bl/tmpbudnj22o.py", line 2 for i in range(1,n+1) ^ SyntaxError: expected ':'
s665412286
p02406
u621084859
1522653135
Python
Python3
py
Runtime Error
0
0
198
n = int(input()) for k in range(1, n + 1): if i % 3 == 0: print(" " + str(k), end="") else: j = str(k) if "3" in j: print(" " + str(k), end="") print("")
Traceback (most recent call last): File "/tmp/tmp1rsxqi8s/tmpxrwn126a.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s958030749
p02406
u886729200
1522741864
Python
Python3
py
Runtime Error
0
0
347
n = int(input()) num_list = [i for i in range(1,n+1)] num2_list = [i for i in num_list if i%3==0]#3で割り切れる値 list_str = [s for s in map(str,list(d)) if '3' in s]#3が含まれる場合 list_in = list(map(int,list_str))#list変換 list_uniq = list(set(num2_list+list_in)) list_uniq.sort() print(' '+' '.join(str(i) for i in list_uniq))
Traceback (most recent call last): File "/tmp/tmp1oxxq3eb/tmpa14guxpc.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s584797397
p02406
u742505495
1524027611
Python
Python3
py
Runtime Error
0
0
237
def include3(n): cond = 0 while True: if n%10==3: cond = 1 return cond elif n>9: n /= 10 else: return cond n = int(input()) print(' ',end='') for i in range(i,n+1): if i%3==0 or include3(n)==1: print('%d ' % (n))
Traceback (most recent call last): File "/tmp/tmpwfq1by4h/tmp9h7ww35x.py", line 12, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s061590858
p02406
u485986915
1524552982
Python
Python3
py
Runtime Error
0
0
76
n = input() for i in range(1,n+1): if(i%3==0): print('%d'%(i) )
Traceback (most recent call last): File "/tmp/tmptv_r6962/tmp0bu4ca6y.py", line 1, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s270698137
p02406
u485986915
1524553052
Python
Python3
py
Runtime Error
0
0
83
n = input() for i in range(1,n+1): if(i%3==0): print('%d'%(i),end=" ")
Traceback (most recent call last): File "/tmp/tmp32i8suhq/tmpono0mwx9.py", line 1, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s186181016
p02406
u485986915
1524553184
Python
Python3
py
Runtime Error
0
0
137
n = input() for i in range(1,n+1): if(i%3==0): print('%d'%(i),end=" ") elif(i%10==3): print('%d' % (i), end=" ")
Traceback (most recent call last): File "/tmp/tmpc4z_44gs/tmprwwzqdvd.py", line 1, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s366929948
p02406
u485986915
1524553201
Python
Python3
py
Runtime Error
0
0
135
n = input() for i in range(1,n+1): if(i%3==0): print('%d'%(i),end="") elif(i%10==3): print('%d' % (i), end="")
Traceback (most recent call last): File "/tmp/tmptpkg45_b/tmppsgsjggr.py", line 1, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s031512855
p02406
u485986915
1524553218
Python
Python3
py
Runtime Error
0
0
120
n = input() for i in range(1,n+1): if(i%3==0): print('%d'%(i)) elif(i%10==3): print('%d' % (i))
Traceback (most recent call last): File "/tmp/tmps2k14_du/tmpjlny648t.py", line 1, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s852545423
p02406
u485986915
1524553757
Python
Python3
py
Runtime Error
0
0
104
n = input() s = "" for i in range(1,n+1): if(i%3==0 or i%10==3): s += " " + str(i) print(s)
Traceback (most recent call last): File "/tmp/tmpy20agh4v/tmpo_xpx6ki.py", line 1, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s518484963
p02406
u485986915
1524553881
Python
Python3
py
Runtime Error
0
0
112
n = input() s = "" for i in range(1,n+1): if(i%3==0 or i%10==3): s += " " + str(i) print(s,end(""))
Traceback (most recent call last): File "/tmp/tmptdsz8c11/tmpr01m3z53.py", line 1, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s236917722
p02406
u485986915
1524554074
Python
Python3
py
Runtime Error
0
0
112
n = input() s = "" for i in range(1,n+1): if(i%3==0 or i%10==3): s += " " + str(i) print(s,end(""))
Traceback (most recent call last): File "/tmp/tmpmu163tzv/tmpi1rg0mmr.py", line 1, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s939997719
p02406
u485986915
1524554361
Python
Python3
py
Runtime Error
0
0
143
n = input() s = "" for i in range(1,n+1): if(i%3==0 or i%10==3 or i//10==3 or i//100==3 or i//1000==3): s += " " + str(i) print(s)
Traceback (most recent call last): File "/tmp/tmpo5cqyh8a/tmplobteugn.py", line 1, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s599299381
p02406
u485986915
1524554800
Python
Python3
py
Runtime Error
0
0
94
n = int(input()) print(" ",end"") print(*[i for i in range(1,1+n) if i%3==0 or'3' in str(i)])
File "/tmp/tmpzc6i5w1z/tmpm7lzwymd.py", line 2 print(" ",end"") ^^ SyntaxError: invalid syntax
s771193083
p02406
u485986915
1524554827
Python
Python3
py
Runtime Error
0
0
88
n = input() print(' ',end='') print(*[i for in range(1,1+n) if i%3==0 or'3' in str(i)])
File "/tmp/tmpfu5vl6eg/tmpxqqj0f9d.py", line 3 print(*[i for in range(1,1+n) if i%3==0 or'3' in str(i)]) ^^ SyntaxError: Invalid star expression
s290907731
p02406
u485986915
1524554837
Python
Python3
py
Runtime Error
0
0
87
n = input() print(' 'end='') print(*[i for in range(1,1+n) if i%3==0 or'3' in str(i)])
File "/tmp/tmp5m7nltd_/tmpczx7qf9p.py", line 2 print(' 'end='') ^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s122886722
p02406
u485986915
1524554892
Python
Python3
py
Runtime Error
0
0
93
n = int(input()) print(" ",end="") print(*[i for in range(1,1+n) if i%3==0 or'3' in str(i)])
File "/tmp/tmps0ma5k6_/tmp2qghah5g.py", line 3 print(*[i for in range(1,1+n) if i%3==0 or'3' in str(i)]) ^^ SyntaxError: Invalid star expression
s927635650
p02406
u836133197
1524570964
Python
Python3
py
Runtime Error
0
0
197
a = int(input()) b = [] for i in range(1, a+1, 1): if "3" in str(i): b.append(i) elif i % 3 == 0: b.append(i) else: pass for _ in b: print(b + " ", end='')
Traceback (most recent call last): File "/tmp/tmpx_g5yn08/tmprd139wry.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s138189157
p02406
u836133197
1524570981
Python
Python3
py
Runtime Error
0
0
197
a = int(input()) b = [] for i in range(1, a+1, 1): if "3" in str(i): b.append(i) elif i % 3 == 0: b.append(i) else: pass for i in b: print(i + " ", end='')
Traceback (most recent call last): File "/tmp/tmpfqy6bf4x/tmp6kvocodd.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s712775644
p02406
u884342371
1525525228
Python
Python3
py
Runtime Error
0
0
82
n = input() n = int(n) for i in range(1, n+1): if '3' in str(i) print(i)
File "/tmp/tmp07tekk6j/tmpj7patvdb.py", line 6 if '3' in str(i) ^ SyntaxError: expected ':'
s147084921
p02406
u908651435
1525683371
Python
Python3
py
Runtime Error
0
0
137
n=int(input()) for i in range(i,n+1): if i%3==0: print(' '+str(i),end='') elif i%10==3: print(' '+str(i),end='')
Traceback (most recent call last): File "/tmp/tmpq4cc8hko/tmp929zf9_g.py", line 1, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s846487060
p02406
u983348699
1526190338
Python
Python3
py
Runtime Error
0
0
452
#include <iostream> using namespace std; int main() { int n,x; cin >> n; for(int i=1;i<=n;i++){ if(i%3==0) cout << " " << i; else if(i%10==3) cout << " " << i; else{ for(int ii =0;ii<4;ii++){ x=i; x /=10; if(x%10==3){ ...
File "/tmp/tmp_k27zbq5/tmpe3j95_cb.py", line 3 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s703322451
p02406
u074747865
1526705378
Python
Python3
py
Runtime Error
0
0
102
n=int(input()) c=1 print(" ",end=") while c <=n: if c%3==0 or c%10==3: print(c) c +=1 print()
File "/tmp/tmpp69puz1f/tmpcb56dcaq.py", line 3 print(" ",end=") ^ SyntaxError: unterminated string literal (detected at line 3)
s317089960
p02406
u074747865
1526705771
Python
Python3
py
Runtime Error
0
0
102
n=int(input()) ans="" for i in range(1, n+1) if i%3==0 or i%10==3: ans += " "+str(i) print(ans)
File "/tmp/tmp432vra4y/tmplbnhjqhk.py", line 3 for i in range(1, n+1) ^ SyntaxError: expected ':'
s140082236
p02406
u074747865
1526705837
Python
Python3
py
Runtime Error
0
0
102
n=int(input()) ans="" for i in range(1, n+1) if i%3==0 or i%10==3: ans += " "+str(i) print(ans)
File "/tmp/tmpx9xpet66/tmpaakb15be.py", line 3 for i in range(1, n+1) ^ SyntaxError: expected ':'
s400542333
p02406
u074747865
1526705904
Python
Python3
py
Runtime Error
0
0
98
n=int(input()) ans="" for i in range(1, n+1) if i%3==0 or i%10==3: ans += str(i) print(ans)
File "/tmp/tmp9a_1yydf/tmp_xfb8yje.py", line 3 for i in range(1, n+1) ^ SyntaxError: expected ':'
s440866708
p02406
u074747865
1526706104
Python
Python3
py
Runtime Error
0
0
112
n=int(input()) d=[] for i in range(1, n+1) if i%3==0 or i%10==3: d.append(i) print(" ", end="") print(*d)
File "/tmp/tmpjdqqprrb/tmpvt473qb3.py", line 3 for i in range(1, n+1) ^ SyntaxError: expected ':'
s026466384
p02406
u074747865
1526706315
Python
Python3
py
Runtime Error
0
0
118
n=int(input()) d=[] for i in range(1, n+1) if i%3==0 or "3" in str(i): d.append(i) print(' ', end="") print(*d)
File "/tmp/tmpnafz2al2/tmpzjv12cht.py", line 3 for i in range(1, n+1) ^ SyntaxError: expected ':'
s849195496
p02406
u074747865
1526706375
Python
Python3
py
Runtime Error
0
0
118
n=int(input()) d=[] for i in range(3, n+1) if i%3==0 or "3" in str(i): d.append(i) print(' ', end="") print(*d)
File "/tmp/tmptse8a9_d/tmp7r5oidz2.py", line 3 for i in range(3, n+1) ^ SyntaxError: expected ':'
s083851424
p02406
u303842929
1527230558
Python
Python3
py
Runtime Error
0
0
444
#include <iostream> #include <cstdlib> #include <vector> #include <algorithm> using namespace std; void call(int n); int main(){ int n; cin >> n; call(n); } void call(int n){ int i = 1; while(i <= n){//CHECK_NUM if(i % 3 == 0 || i % 10 == 3){ cout << " " << i; }else if( i > 30){ int tmp = i; while(tm...
File "/tmp/tmpgy1t0prh/tmprgko_vam.py", line 5 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s897531639
p02406
u776144521
1527492784
Python
Python3
py
Runtime Error
0
0
117
n=int(raw_input()) ans='' for i in range(3,n+1): if i%3==0 or '3' in str(i): ans+=(' '+str(i)) print ans
File "/tmp/tmpsaiiq44g/tmpqspq8szm.py", line 6 print ans ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s691457090
p02406
u123669391
1530082323
Python
Python3
py
Runtime Error
0
0
151
n = int(input()) for i in range(1 : n+1): if i > n: break if i % 3 == 0: print(" ", i, end="") else: if i % 10 ==3: print(" ", i, end="")
File "/tmp/tmp638c3gve/tmpo_b_vkhz.py", line 2 for i in range(1 : n+1): ^ SyntaxError: invalid syntax
s787576926
p02407
u525366883
1535173856
Python
Python
py
Runtime Error
0
0
91
n = int(raw_input()) num = map(int, raw_input().split()) num.sort(revers = True) print num
File "/tmp/tmpe93gpwna/tmpsz6fkxln.py", line 4 print num ^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s416558695
p02407
u689047545
1535249772
Python
Python3
py
Runtime Error
0
0
143
# coding : utf-8 n = int(input()) lst = map(int, input().split()) for i in range(n-1, -1, -1): print ('%d ' % lst[i], end = '') print ('')
Traceback (most recent call last): File "/tmp/tmplhqno4_e/tmp0xv9sai7.py", line 2, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s042791002
p02407
u281808376
1540360458
Python
Python3
py
Runtime Error
0
0
135
A=int(input()) s=input().split() i=[int(q) for q in s] list=[] i.reverse() for b in range(A): list.append(b) print(for h in list)
File "/tmp/tmppkrkz3au/tmp1rm9zn8v.py", line 8 print(for h in list) ^^^ SyntaxError: invalid syntax
s630212828
p02407
u281808376
1540365187
Python
Python3
py
Runtime Error
0
0
172
N=int(input()) s_str=input().split() s_int=[int(s) for s in s_str] list=[] s_int.reverse() for i in s_int: list.append(i) for i in list: a=i,end=" " print(a[:-2])
Traceback (most recent call last): File "/tmp/tmp8g4n8isj/tmppowrmbb6.py", line 1, in <module> N=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s660267421
p02407
u277375424
1540473106
Python
Python3
py
Runtime Error
0
0
86
n = int(input()) a = [int(input()) for i in range(n)] for i in a[::-1]: print(i)
Traceback (most recent call last): File "/tmp/tmpcvnx2vg0/tmpriwlqyzv.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s613415002
p02407
u277375424
1540473147
Python
Python3
py
Runtime Error
0
0
92
n = int(input()) a = [int(input()) for i in range(n)] for i in (reversed(a)): print(i)
Traceback (most recent call last): File "/tmp/tmpnq1fevu_/tmpvxq1xh92.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s161066989
p02407
u277375424
1540473166
Python
Python3
py
Runtime Error
0
0
94
n = int(input()) a = [int(input()) for i in range(n-1)] for i in (reversed(a)): print(i)
Traceback (most recent call last): File "/tmp/tmp67pig9p1/tmpe9q1w3ot.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s100431651
p02407
u255317651
1545744662
Python
Python3
py
Runtime Error
0
0
84
n = int(input()) a = list(map(int, input().split())) a.reverse() print(' '.join(a))
Traceback (most recent call last): File "/tmp/tmpul2az523/tmpb2p8dhpz.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s042339546
p02407
u192145025
1545801340
Python
Python3
py
Runtime Error
0
0
240
n = int(input()) s = list(map(int, input().strip().split(' '))) for i in range(0, n // 2): s[i], s[n - i] = s[n - i], s[i] for i in range(0, len(s)): if i != len(s - 1): print(s[i], end=" ") else: print(s[i])
Traceback (most recent call last): File "/tmp/tmp32e8ytsy/tmp6yinoqc1.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s263579597
p02407
u192145025
1545801392
Python
Python3
py
Runtime Error
0
0
246
n = int(input()) s = list(map(int, input().strip().split(' '))) t = n // 2 for i in range(0, t): s[i], s[n - i] = s[n - i], s[i] for i in range(0, len(s)): if i != len(s - 1): print(s[i], end=" ") else: print(s[i])
Traceback (most recent call last): File "/tmp/tmp8b_gd7wt/tmp0lk6qjh_.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s527549002
p02407
u792747184
1551462936
Python
Python3
py
Runtime Error
0
0
80
n = int(input()) s = input().rstrip.split() for i in (reverse(s)): print(s)
Traceback (most recent call last): File "/tmp/tmp4d32q9_x/tmp5ey6jj6x.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s715781144
p02407
u792747184
1551463055
Python
Python3
py
Runtime Error
0
0
73
n = int(input()) s = input().split() for i in (reverse(s)): print(s)
Traceback (most recent call last): File "/tmp/tmp06bsg_vy/tmptkzjkcif.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s255238619
p02407
u792747184
1551463083
Python
Python3
py
Runtime Error
0
0
81
n = int(input()) s = input().rstrip.split() for i in (reversed(s)): print(s)
Traceback (most recent call last): File "/tmp/tmp3p2m6b4r/tmpzsvsaz9o.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s985378369
p02407
u792747184
1551463214
Python
Python3
py
Runtime Error
0
0
75
n = int(input()) s = input()..split() for i in (reversed(s)): print(i)
File "/tmp/tmprvvr_bgt/tmpk0ju_b0m.py", line 2 s = input()..split() ^ SyntaxError: invalid syntax
s254087778
p02407
u239237743
1556155888
Python
Python3
py
Runtime Error
0
0
369
#include <iostream> using namespace std; int main(void){ int i,n; int x[101]; cin >> n; for(i=0; i<n; i++){ cin >> x[i]; } for(i=n-1; i>=0; i--){ if (i==0){ cout << x[i] << endl; } else{ cout << x[i] << " "; } ...
File "/tmp/tmp3aylm2bo/tmpafysrxfe.py", line 2 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s422549411
p02407
u264450287
1556156212
Python
Python3
py
Runtime Error
0
0
298
#include <iostream> using namespace std; int main(void){ int n,i,j; cin >> n; int a[n]; for(i=0;i<n;i++){ cin >> a[i]; } for(j=n-1;j>=0;j--){ if(j==0) cout << a[j]; else cout << a[j] << " "; } }
File "/tmp/tmpbw1mduib/tmpo0y6nja5.py", line 2 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s161898945
p02407
u264450287
1556156284
Python
Python3
py
Runtime Error
0
0
306
#include <iostream> using namespace std; int main(void){ int n,i,j; cin >> n; int a[n]; for(i=0;i<n;i++){ cin >> a[i]; } for(j=n-1;j>=0;j--){ if(j==0) cout << a[j] << endl; else cout << a[j] << " "; } }
File "/tmp/tmp4qlqcoim/tmplz6v7pc2.py", line 2 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s658238458
p02407
u482227082
1556431148
Python
Python3
py
Runtime Error
0
0
140
n = int(input()) l = list(map(int, input().split())) for i in l[::-1]: if i > 1 print(" ") print("%d " %i, end="") print()
File "/tmp/tmpgraeb4xu/tmpvfjp4azj.py", line 5 if i > 1 ^ SyntaxError: expected ':'
s309046520
p02407
u482227082
1556431403
Python
Python3
py
Runtime Error
0
0
151
n = int(input()) l = list(map(int, input().split())) l.reverse() for i in range(n): if i >= 1: print(" ", end = '') print(a[i], end = '') print()
Traceback (most recent call last): File "/tmp/tmpqasgef3z/tmpbojmxct2.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s809984257
p02407
u629874472
1559046534
Python
Python3
py
Runtime Error
0
0
75
cnt = input() li = map(int,input().split()) re_li = li[::-1] print(re_li)
Traceback (most recent call last): File "/tmp/tmpk6zygadv/tmp3s6cvxi5.py", line 1, in <module> cnt = input() ^^^^^^^ EOFError: EOF when reading a line
s499775559
p02407
u629874472
1559047006
Python
Python3
py
Runtime Error
0
0
130
cnt = int(input()) li = list(map(int,input().split())) re_li = li[::-1] for i in range(cnt): print(' '.join(map(int,re_li[i])
File "/tmp/tmpat0ouowb/tmpmqf0z2u2.py", line 5 print(' '.join(map(int,re_li[i]) ^ SyntaxError: '(' was never closed
s538487989
p02407
u629874472
1559047065
Python
Python3
py
Runtime Error
0
0
102
cnt = int(input()) li = list(map(int,input().split())) re_li = li[::-1] print(' '.join(map(int,re_li)
File "/tmp/tmpprq2pdoc/tmp4b0qft7b.py", line 4 print(' '.join(map(int,re_li) ^ SyntaxError: '(' was never closed
s288149033
p02407
u629874472
1559047148
Python
Python3
py
Runtime Error
0
0
102
cnt = int(input()) li = list(map(int,input().split())) re_li = li[::-1] print(' '.join(map(str,re_li)
File "/tmp/tmp6i8cvmys/tmpvu7p8ueq.py", line 4 print(' '.join(map(str,re_li) ^ SyntaxError: '(' was never closed
s310022693
p02407
u629874472
1559047203
Python
Python3
py
Runtime Error
0
0
105
cnt = int(input()) li = list(map(int,input().split())) re_li = li[::-1] print(' '.join(map(int,re_li)))
Traceback (most recent call last): File "/tmp/tmp8bf633iv/tmp78an_o5c.py", line 1, in <module> cnt = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s534627660
p02407
u120055135
1559537422
Python
Python3
py
Runtime Error
0
0
106
n = input() i = 0 while True: if i == n: break a[i] = input().split a[i] = a[n-i] print(a[i])
Traceback (most recent call last): File "/tmp/tmpuk08oljm/tmp17xrc52z.py", line 1, in <module> n = input() ^^^^^^^ EOFError: EOF when reading a line
s501875335
p02407
u120055135
1559537895
Python
Python3
py
Runtime Error
0
0
106
n = input() int i while True: if i == n: break a[i] = input().split a[i] = a[n-i] print(a[i])
File "/tmp/tmpldrd65dt/tmpnfjahvd1.py", line 2 int i ^ SyntaxError: invalid syntax
s505333251
p02407
u297342993
1422924443
Python
Python3
py
Runtime Error
0
0
87
input() data = input.split() data.reverse() [print(x, end=' ') for x in data] print()
Traceback (most recent call last): File "/tmp/tmpqws4m1_b/tmpevmju70s.py", line 1, in <module> input() EOFError: EOF when reading a line
s970857722
p02407
u297342993
1422924929
Python
Python3
py
Runtime Error
0
0
87
input() data = input.split() data.reverse() [print(x, end=' ') for x in data] print()
Traceback (most recent call last): File "/tmp/tmp2uav2yyj/tmpsnoshksc.py", line 1, in <module> input() EOFError: EOF when reading a line
s735793750
p02407
u442346200
1424052839
Python
Python3
py
Runtime Error
0
0
58
input() a = input().split() a.reverse() print(' '/join(a))
Traceback (most recent call last): File "/tmp/tmp4qy1v7yy/tmppc8sg9nw.py", line 1, in <module> input() EOFError: EOF when reading a line
s380525430
p02407
u647766105
1429692224
Python
Python3
py
Runtime Error
0
0
46
input() print(" ".join.(input().split()[::-1])
File "/tmp/tmpgrud9l_b/tmpdxj4c4yn.py", line 2 print(" ".join.(input().split()[::-1]) ^ SyntaxError: invalid syntax
s542559449
p02407
u647766105
1429692315
Python
Python3
py
Runtime Error
0
0
45
input() print(" ".join(input().split()[::-1])
File "/tmp/tmp7w6hlbs8/tmpwq5l6q_b.py", line 2 print(" ".join(input().split()[::-1]) ^ SyntaxError: '(' was never closed
s118667123
p02407
u747594996
1434318425
Python
Python3
py
Runtime Error
0
0
134
def main(): numbers = map(input().split()) ans = list(reversed(numbers)) print(ans) if __name__=="__main__": main()
Traceback (most recent call last): File "/tmp/tmpcqpm2z3s/tmpv9bzjdm3.py", line 9, in <module> main() File "/tmp/tmpcqpm2z3s/tmpv9bzjdm3.py", line 2, in main numbers = map(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s346708314
p02407
u605525736
1438563645
Python
Python3
py
Runtime Error
0
0
77
input() data = input().split().reverse() data.reverse() print(' '.join(data))
Traceback (most recent call last): File "/tmp/tmpultjz83r/tmp9w74pw3d.py", line 1, in <module> input() EOFError: EOF when reading a line
s014856548
p02407
u605525736
1438563693
Python
Python3
py
Runtime Error
0
0
82
input(12345) data = input().split().reverse() data.reverse() print(' '.join(data))
Traceback (most recent call last): File "/tmp/tmplqopmgzv/tmpkrfmcdd4.py", line 1, in <module> input(12345) EOFError: EOF when reading a line
12345
s865922817
p02407
u605525736
1438563879
Python
Python3
py
Runtime Error
0
0
77
input() data = input().split().reverse() data.reverse() print(' '.join(data))
Traceback (most recent call last): File "/tmp/tmpbg200x9h/tmp2e435f16.py", line 1, in <module> input() EOFError: EOF when reading a line
s237656516
p02407
u152353734
1438563892
Python
Python3
py
Runtime Error
0
0
67
input() data = input(),split() data.reverse() print(' '.join(data))
Traceback (most recent call last): File "/tmp/tmp81mnozmp/tmp2v1xfrlk.py", line 1, in <module> input() EOFError: EOF when reading a line
s838066290
p02407
u152353734
1438563931
Python
Python3
py
Runtime Error
0
0
67
input() data = input(),split() data.reverse() print(' '.join(data))
Traceback (most recent call last): File "/tmp/tmpr3zif56q/tmp4_06e2g3.py", line 1, in <module> input() EOFError: EOF when reading a line
s740428249
p02407
u306530296
1438564585
Python
Python3
py
Runtime Error
0
0
68
input() date = input().split(). date.reverse() print(",".join(date))
File "/tmp/tmpqja8gsu8/tmpmnhsl6z5.py", line 2 date = input().split(). ^ SyntaxError: invalid syntax
s821289577
p02407
u925228699
1439169160
Python
Python3
py
Runtime Error
0
0
254
(n, m) = [int(i) for i in input().split()] A = [] b = [] for i in range(n): A. append([int(j) for j in input().split() ]) for i in ronge(m): b.append(int(input())) for i in range(n): m = 0 for j in range(m): s += A[j][j] * b[j] print(s)
File "/tmp/tmpjhrif8op/tmpatgkhc54.py", line 12 m = 0 ^ IndentationError: expected an indented block after 'for' statement on line 11