s_id
stringlengths
10
10
p_id
stringlengths
6
6
u_id
stringlengths
10
10
date
stringlengths
10
10
language
stringclasses
1 value
original_language
stringclasses
11 values
filename_ext
stringclasses
1 value
status
stringclasses
1 value
cpu_time
stringlengths
1
5
memory
stringlengths
1
7
code_size
stringlengths
1
6
code
stringlengths
1
539k
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='')
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='')
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='')
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='')
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
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)
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)
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)
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)
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
s406234545
p02406
u505411588
1510397136
Python
Python3
py
Runtime Error
0
0
1066
#3????????°??¨10??§?????£????????????3??????????????????print????????? #???????????????????????§?????????????????????????????? #???????????°????????\????????¨??????????????? #??????????????¨????????????????????¶??§???????????°???????????????????????????????????? #3????????°?????????3?¶?????????°?????\??????????¶???????...
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
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
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
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
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
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='')
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))
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)
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)])
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)])
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("")
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;...
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 :
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 :
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()
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)
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(" ")
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(" ")
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(" ")
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("")
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))
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))
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) )
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=" ")
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=" ")
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="")
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))
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)
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(""))
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(""))
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)
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)])
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)])
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)])
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)])
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='')
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='')
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)
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='')
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){ ...
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()
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)
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)
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)
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)
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)
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)
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...
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
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="")
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
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 ('')
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)
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])
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)
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)
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)
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))
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])
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])
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)
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)
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)
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)
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] << " "; } ...
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] << " "; } }
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] << " "; } }
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()
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()
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)
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])
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)
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)
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)))
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])
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])
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()
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()
s735793750
p02407
u442346200
1424052839
Python
Python3
py
Runtime Error
0
0
58
input() a = input().split() a.reverse() print(' '/join(a))
s380525430
p02407
u647766105
1429692224
Python
Python3
py
Runtime Error
0
0
46
input() print(" ".join.(input().split()[::-1])
s542559449
p02407
u647766105
1429692315
Python
Python3
py
Runtime Error
0
0
45
input() print(" ".join(input().split()[::-1])
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()
s346708314
p02407
u605525736
1438563645
Python
Python3
py
Runtime Error
0
0
77
input() data = input().split().reverse() data.reverse() print(' '.join(data))
s014856548
p02407
u605525736
1438563693
Python
Python3
py
Runtime Error
0
0
82
input(12345) data = input().split().reverse() data.reverse() print(' '.join(data))
s865922817
p02407
u605525736
1438563879
Python
Python3
py
Runtime Error
0
0
77
input() data = input().split().reverse() data.reverse() print(' '.join(data))
s237656516
p02407
u152353734
1438563892
Python
Python3
py
Runtime Error
0
0
67
input() data = input(),split() data.reverse() print(' '.join(data))
s838066290
p02407
u152353734
1438563931
Python
Python3
py
Runtime Error
0
0
67
input() data = input(),split() data.reverse() print(' '.join(data))
s740428249
p02407
u306530296
1438564585
Python
Python3
py
Runtime Error
0
0
68
input() date = input().split(). date.reverse() print(",".join(date))
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)