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
s397432032
p03470
u708467207
1592082652
Python
PyPy3 (2.4.0)
py
Runtime Error
196
39792
218
n, y = map(int, input().split()) for i in range(n + 1): for j in range(n - i + 1): if i * 10000 + j * 5000 + (n - i - j) * 1000 == y: print(i, j, n - i - j) exit() print("-1 -1 -1")
s231734293
p03470
u708467207
1592082596
Python
Python (3.4.3)
py
Runtime Error
22
2940
222
n, sum = map(int, input().split()) for x in range(n + 1): for y in range(n - x + 1): if x * 10000 + y * 5000 + (n-x-y) * 1000 == sum: print(f'{x} {y} {n-x-y}') exit() print('-1 -1 -1')
s367228529
p03470
u708467207
1592082518
Python
PyPy3 (2.4.0)
py
Runtime Error
167
38428
222
n, sum = map(int, input().split()) for x in range(n + 1): for y in range(n - x + 1): if x * 10000 + y * 5000 + (n-x-y) * 1000 == sum: print(f'{x} {y} {n-x-y}') exit() print('-1 -1 -1')
s272865003
p03470
u708467207
1592082275
Python
PyPy3 (2.4.0)
py
Runtime Error
177
38256
259
n, sum = map(int, input().split()) for x in range(n + 1): for y in range(n + 1): for z in range(n + 1 - x - y): if x * 10000 + y * 5000 + z * 1000 == sum: print(f'{x} {y} {z}') exit() print('-1 -1 -1')
s405957982
p03470
u305760064
1591930823
Python
Python (3.4.3)
py
Runtime Error
17
3064
318
N,Y=map(int,input().split()) x=-1 y=-1 z=-1 for i in range(N+1): for j in range(N+1): k=N-j-i sum = i*10000 + j*5000 + k*1000 if Y==sum and i+j+k==N: x=i y=j z=k break else: continue break print(str(x)+' '+str(y)+' '+str(z))
s090995396
p03470
u305760064
1591917932
Python
Python (3.4.3)
py
Runtime Error
18
3068
140
N=int(input().split()) d=[input() for i in range(N)] d.sort(reverse=True) for i in range(1,N): if d[i-1]>d[i]: sum+=1 print(sum)
s421811465
p03470
u859264140
1591294203
Python
Python (3.4.3)
py
Runtime Error
17
3056
160
def func(): n = input("") bruh = [] for i in range(n): var = input("") bruh.append(var) bruh = list(dict.fromkeys(bruh)) return len(bruh) print(func())
s253885380
p03470
u859264140
1591293727
Python
Python (3.4.3)
py
Runtime Error
17
2940
130
n = input("") bruh = [] for i in range(n): var = input("") bruh.append(var) bruh = list(dict.fromkeys(bruh)) print(len(bruh))
s094471477
p03470
u272495679
1590970905
Python
Python (3.4.3)
py
Runtime Error
18
3064
290
N = int(input()) D = [0]*100 count = 0 for i in range(N): D[i] = int(input()) for k in D: m = max(D) D.remove(max(D)) count += 1 if max(D) == 0: break while m == max(D): D.remove(max(D)) if max(D) == 0: break print("{}".format(count))
s636014810
p03470
u272495679
1590968920
Python
Python (3.4.3)
py
Runtime Error
17
3060
256
N = int(input()) D = [0]*100 count = 0 for i in range(N): D[i] = int(input()) for k in D: m = max(D) D.remove(max(D)) count += 1 while m == max(D): D.remove(max(D)) if max(D) == 0: break print("{}".format(count))
s466311557
p03470
u272495679
1590968814
Python
Python (3.4.3)
py
Runtime Error
18
3060
437
N = int(input()) D = [0]*100 count = 0 for i in range(N): D[i] = int(input()) for k in D: m = max(D) D.remove(max(D)) count += 1 #配列から最大の数を取り出すたびに1数え上げる while m == max(D): #さっき取り出した最大の数と同じ数があれば削除 D.remove(max(D)) if max(D) == 0: #取り出す正整数がなくなれば終了 break print("{}".format(count)...
s464399947
p03470
u272495679
1590968622
Python
Python (3.4.3)
py
Runtime Error
18
3060
437
N = int(input()) D = [0]*100 count = 0 for i in range(N): D[i] = int(input()) for k in D: m = max(D) D.remove(max(D)) count += 1 #配列から最大の数を取り出すたびに1数え上げる if max(D) == 0: #取り出す正整数がなくなれば終了 break while m == max(D): #さっき取り出した最大の数と同じ数があれば削除 D.remove(max(D)) print("{}".format(count)...
s764828214
p03470
u313291636
1590782459
Python
PyPy3 (2.4.0)
py
Runtime Error
183
38512
231
n, y = map(int, input().split()) for a in range(n + 1): for b in range(n + 1): c = n - a - b if c >= 0 and a * 10000 + b * 5000 + c * 1000: print(a, b, c) exit() print('-1', '-1', '-1')
s664516683
p03470
u989074104
1590541020
Python
Python (3.4.3)
py
Runtime Error
18
3060
215
import sys N,Y = map(int,input().split()) for A in range(N+1)[::-1]: for B in range(N-A+1)[::-1]: C=N-A-B if (10000*A+5000*B+1000*C==Y): print(A,B,C) sys.exit() print(-1,-1,-1)
s948388877
p03470
u045628053
1590540990
Python
Python (3.4.3)
py
Runtime Error
17
3064
310
import sys n,y = [ int(i) for i in input().split()] main_list = input().split() n = int(main_list[0]) y = int(main_list[1][:-3]) for i in range(n+1): for j in range(2): if y == i*10 + j*5 + (n-i-j)*1: print(" ".join(list(map(str,[i,j,n-i-j])))) sys.exit() print("-1 -1 -1")
s374271483
p03470
u343977188
1590446371
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
N=int(input()) d=set[int(input()) for i in range(N)] print(len(d))
s225424041
p03470
u775673382
1590351293
Python
Python (3.4.3)
py
Runtime Error
18
3064
173
N = int(input()) a = list(range(N)) for i in range(N): a[i] = int(input()) a = a.sort() p = 1 for i in range(N - 1): if a[i + 1] - a[i] != 0: p += 1 print(p)
s721122815
p03470
u912650255
1590282001
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
N = int(input()) print(len(set(list(N))))
s182974774
p03470
u347600233
1590209103
Python
Python (3.4.3)
py
Runtime Error
17
2940
102
n = int(input()) set_d = set() for i in range(n): d = int(input()) set_d |= d print(len(set_d))
s006922413
p03470
u039192119
1589751258
Python
Python (3.4.3)
py
Runtime Error
18
2940
61
a=[int(input()) for i range(int(input()))] print(len(set(a)))
s403065087
p03470
u461403632
1589711441
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
n=int(input()) L=[int(input()) for i in range(n)] print(len(set(A)))
s545051999
p03470
u425762225
1589241238
Python
Python (3.4.3)
py
Runtime Error
17
3064
71
N = int(input()) d = (int(input()) for i in range(N)) print(len(d))
s161071256
p03470
u296989351
1589217634
Python
PyPy3 (2.4.0)
py
Runtime Error
183
38256
186
n, y = map(int, input().split()) for i in range(n + 1): for j in range(n+1 - i): k = n - i - j if i *10000 + j * 5000 + k *1000 == y: print(i,j,k) exit() print('-1 -1 -1')
s863563134
p03470
u317533286
1589137743
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
N = int(input()) d = [input() for i in range(N)] print(len((set(d)))
s379137869
p03470
u317533286
1589137399
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
N = int(input()) d = [input() for i in range(N)] print(len((set(d)))
s692827998
p03470
u317533286
1589137351
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
N = input() d = [input() for i in range(N)] print(len((set(d)))
s730507024
p03470
u760636024
1589114450
Python
PyPy3 (2.4.0)
py
Runtime Error
168
38256
86
N = int(input()) A = [] for i in len(N): A.append(int(input())) print(len(set(A)))
s698655628
p03470
u760636024
1589114431
Python
PyPy3 (2.4.0)
py
Runtime Error
173
38256
84
N = int(input()) A = [] for i in len(N): A.append(int(input)) print(len(set(A)))
s146841769
p03470
u129898499
1588798337
Python
Python (3.4.3)
py
Runtime Error
17
2940
103
N = int(input()) M = list() for i in range(N): M.append(int(input()) M = list(set(M)) ans = len(M)
s660848211
p03470
u785883180
1588716930
Python
PyPy3 (2.4.0)
py
Runtime Error
176
38640
159
n=int(input()) lst=[int(input()) for i in range(n)] lst.sort() i=0 while i<len(lst)-1: while lst[i]<lst[i+1]: del lst[i+1] i+=1 print(len(lst))
s510166131
p03470
u702208001
1588606620
Python
Python (3.4.3)
py
Runtime Error
17
2940
61
n = int(input()) print(len(set([input() for a in range(m)])))
s321617838
p03470
u747005359
1588552240
Python
Python (3.4.3)
py
Runtime Error
17
2940
75
N = int(input()) d = [input().split() for i in range(N)] print(len(set(d)))
s685231925
p03470
u253422591
1588545157
Python
Python (3.4.3)
py
Runtime Error
18
3064
753
n, total = map(int, input().split()) min = n * 1000 max = n * 10000 if (total > max) or (total < min): print('-1 -1 -1') else: min_man = (total - (5000 * n)) // 10000 n -= min_man total -= min_man*10000 min_sen = (total % 5000) // 1000 total -= min_sen*1000 n -= min_sen success = False ...
s371988222
p03470
u014139588
1588444874
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
N = int(input()) s = set(for i in range(N+1): int(input())) print(len(s))
s496857754
p03470
u000698877
1588360157
Python
Python (3.4.3)
py
Runtime Error
17
2940
287
#include <bits/stdc++.h> using namespace std; int main() { int N,ans=1; cin >> N; vector<int> D(N,0); for (int i=0;i<N;i++){ cin >> D.at(i); } sort(D.begin(),D.end()); for (int i=0;i<N-1;i++){ if (D.at(i)<D.at(i+1)){ ans++; } } cout << ans << endl; }
s676527326
p03470
u979951365
1588276939
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
_ = input() l = list(set([int(input() for x in range(n))])) l.sort(reverse=True) print(len(l))
s077546424
p03470
u018976119
1588026764
Python
Python (3.4.3)
py
Runtime Error
17
2940
168
n=input() rice=[] for i in range(n): rice.append(input()) cake=[] for i in range(n): if not(rice[i] in cake): cake.append(rice[i]) print(len(cake))
s935448834
p03470
u018976119
1588026490
Python
Python (3.4.3)
py
Runtime Error
18
2940
168
n=input() rice=[] for i in range(n): rice.append(input()) cake=[] for i in range(n): if not(rice[i] in cake): cake.append(rice[i]) print(len(cake))
s194055943
p03470
u852790844
1587872512
Python
Python (3.4.3)
py
Runtime Error
17
2940
91
n = int(input()) d = np.array(read().split(), np.int64) ans = len(np.unique(d)) print(ans)
s418627546
p03470
u267577436
1587757674
Python
Python (3.4.3)
py
Runtime Error
17
2940
162
import sys dList = [] for i,d in sys.stdin: if i <> 0: #1行目の行数情報はいらないので読み飛ばす dList.append(d) print(len(set(dList)))
s559100374
p03470
u267577436
1587757204
Python
Python (3.4.3)
py
Runtime Error
17
3188
166
import sys dList = list() for i,d in sys.stdin: if i != 0: #1行目の行数情報はいらないので読み飛ばす dList.append(d) print(len(set(dList)))
s890292567
p03470
u267577436
1587757125
Python
Python (3.4.3)
py
Runtime Error
17
2940
166
import sys dList = list() for i,d in sys.stdin: if i <> 0: #1行目の行数情報はいらないので読み飛ばす dList.append(d) print(len(set(dList)))
s488749496
p03470
u391819434
1587611430
Python
Python (3.4.3)
py
Runtime Error
18
2940
57
A,B=input().split() print('YNeos'[int(A+B)**0.5%1!=0::2])
s654037630
p03470
u581603131
1587479318
Python
Python (3.4.3)
py
Runtime Error
18
2940
72
N = int(input()) d = [int(input()) for i in range(N)] print(len8set(d))
s051427911
p03470
u832399163
1587465302
Python
Python (3.4.3)
py
Runtime Error
19
3064
599
from sys import stdin n = int(stdin.readline().rstrip()) data=[] for i in range(0, n): data.append(int(stdin.readline().rstrip())) if n == 1: print(1) exit pos=0 max_layer = 1 prev = data[pos] pos = pos + 1 curr = data[pos] num_layer = 1 while True: if curr < prev: num_layer = num_layer + ...
s378848900
p03470
u181769094
1587425249
Python
Python (3.4.3)
py
Runtime Error
19
2940
78
N=int(input()) l=[int(input()) for i in range(5)] print(len(list(set(list))))
s481222520
p03470
u656330453
1586885618
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
N = int(input()) d = [input() for i in range(N)] print(len(list(set(d)))
s533723485
p03470
u746543599
1586844043
Python
Python (3.4.3)
py
Runtime Error
17
2940
62
N = input() d = [input() for i in range(N)] print(len(set(d)))
s581874863
p03470
u746543599
1586843894
Python
Python (3.4.3)
py
Runtime Error
17
3064
66
N = input() d = [input() for i in range(N)] print(len(set(d)) - 1)
s708818935
p03470
u746543599
1586843792
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
N = input() d = [input() for i in range(int(N))] print(len(set(d))
s155311983
p03470
u746543599
1586843535
Python
Python (3.4.3)
py
Runtime Error
17
2940
61
N = input() d = [input() for i in range(N)] print(len(set(d))
s170054235
p03470
u304593245
1586534674
Python
Python (3.4.3)
py
Runtime Error
17
2940
162
N = int(input()) d = [int(input()) for i in range(N)]count = 1 d.sort(reverse=True) for j in range(N-1): if (d[j] != d[j+1]): count += 1 print(count)
s702602174
p03470
u177070195
1586057777
Python
Python (3.4.3)
py
Runtime Error
259
3056
218
A, B, C, X = [int(input()) for i in range(4)] res = 0 for a in range(A + 1): for b in range(B + 1): for c in range(C + 1): if a * 500 + b * 100 + c * 50 == X: res += 1 print(res)
s191747418
p03470
u177070195
1586057737
Python
Python (3.4.3)
py
Runtime Error
288
2940
218
A, B, C, X = [int(input()) for i in range(4)] res = 0 for a in range(A + 1): for b in range(B + 1): for c in range(C + 1): if a * 500 + b * 100 + c * 50 == X: res += 1 print(res)
s652654233
p03470
u358254559
1585671970
Python
PyPy3 (2.4.0)
py
Runtime Error
165
38384
86
n=input() l=[] for i in range(n): l.append(int(input())) print(len(set(l)))
s388394059
p03470
u358254559
1585671941
Python
PyPy3 (2.4.0)
py
Runtime Error
173
38256
85
n=input() l=[] for i in range(n): l.apend(int(input())) print(len(set(l)))
s597683116
p03470
u545269693
1585407448
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
N = int(input()) ds = list(int(input().split('\n'))) num = set(ds).length() print(num)
s229295447
p03470
u136843617
1585276175
Python
Python (3.4.3)
py
Runtime Error
17
2940
191
n = int(input()) ds = [int(input()) for _ in range(n)] flags = [0]*100 for i in ds: flags[i]=1 print(sum(flags)) """ n = int(input()) print(len(set([int(input()) for _ in range(n)]))) """
s379921527
p03470
u731665172
1585098856
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
N=input() s=[int(input()) for i in range(N)] print(len(list(set(s))))
s750632341
p03470
u731665172
1585098813
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
N=input() s=[int(input()) for i in range(N)] print(len(set(s)))
s034828080
p03470
u731665172
1585098777
Python
Python (3.4.3)
py
Runtime Error
17
2940
67
N=input s=[int(input()) for i in range(N)] print(len(list(set(s))))
s127278812
p03470
u731665172
1585098627
Python
Python (3.4.3)
py
Runtime Error
18
2940
61
N=input s=[int(input()) for i in range(N)] print(len(set(s)))
s273838375
p03470
u540698208
1584979292
Python
Python (3.4.3)
py
Runtime Error
18
2940
178
def main(): N = int(input()) x = [] for i in range(N): x.append(int(input()) a = sorted(list(set(x))) print(len(a)) if __name__ == '__main__': main()
s016649350
p03470
u291914812
1584934096
Python
Python (3.4.3)
py
Runtime Error
17
2940
75
N = int(input()) nums = [input(), for i in range(N)] print(len(set(nums)))
s899918798
p03470
u444722572
1584833078
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
n = int(input()) print(len(set(map(int,[input() for i in range(n)])))
s602721353
p03470
u288430479
1584286230
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
N = int(input()) l = list(map(int,input().split() for i in range(N)) l = set(l) print(len(l))
s201543375
p03470
u748311048
1584022500
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
N=int(input()) S={} for i in range(N): S.add(int(input())) print(len(S))
s076182185
p03470
u299251530
1583904099
Python
Python (3.4.3)
py
Runtime Error
18
2940
130
n = int(input()) flag = [0] * 101 for i in n: d = input() flag[d] = 1 for i in 101: result += flag[i] print(result)
s241856559
p03470
u069547849
1583884896
Python
Python (3.4.3)
py
Runtime Error
17
2940
148
n = int(input()) hoge = [0 for i in range(0,N)] for i in range(0,N): hoge[i] = int(input()) number_set = set(hoge) print(len(number_set))
s296758436
p03470
u414050834
1583681481
Python
Python (3.4.3)
py
Runtime Error
17
3064
128
N=int(input()) d=list(map(int,input().split())) a=[] for i in range(N): if a.count(d[i])==0: a.append(d[i]) print(len(a))
s164646605
p03470
u480038302
1583371761
Python
Python (3.4.3)
py
Runtime Error
17
2940
84
n = input() ls = [int(input()) for i in range(n)] ls = list(set(ls)) print(len(ls))
s939334476
p03470
u480038302
1583371641
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
n = input() ls = [int(input()) for i in range(n)] ls = set(ls) print(len(ls))
s481891603
p03470
u993138647
1583294016
Python
Python (3.4.3)
py
Runtime Error
17
2940
107
N = int(input()) D = [] for _ in range(N): D.append(int(input())) print(len(set(D)))
s094557400
p03470
u857330600
1583268686
Python
Python (3.4.3)
py
Runtime Error
17
2940
67
n=int(input()) l=[int(input()) for i in range(n)] print(len(set(l))
s283420674
p03470
u599669731
1583131489
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
n=int(input()) print(len(set(map(int,[input( for i in range(n))]))))
s116300905
p03470
u829796346
1583016835
Python
Python (3.4.3)
py
Runtime Error
17
2940
83
N = int(input()) a = set() for i in range(N): set.add(int(input())) print(len(a))
s256109644
p03470
u892308039
1582833736
Python
Python (3.4.3)
py
Runtime Error
18
2940
106
N = int(input()) d = [] for i in range(N): d.append(int(input())) d = list(set(d)) print(length(d))
s351677990
p03470
u305534505
1582405867
Python
Python (3.4.3)
py
Runtime Error
18
3064
231
def main(): n = int(input()) r = [input() for i in range(n)] r.sort() counter = 0 tmp = 0 for i in range(n): if (r[i] > tmp): tmp = r[i] counter += 1 print(counter) main()
s495741168
p03470
u203382704
1582251644
Python
Python (3.4.3)
py
Runtime Error
20
3060
195
N = int(input()) a = [int(input()) for i in range(N)] a.sort() for k in range(N-1): if a[k] == a[k+1]: a[k] =-1 b=[a[k] for k in range(N) if a[k] != -1] a.remove(-1) print(len(b))
s909941097
p03470
u709679133
1582002841
Python
Python (3.4.3)
py
Runtime Error
17
3060
44
d = int(input())) d = set(d) print(len(d))
s800812098
p03470
u709679133
1582002709
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
N = int(input()) d = int(input())) d = set(d) print(len(d))
s047042277
p03470
u265118937
1581713961
Python
Python (3.4.3)
py
Runtime Error
17
2940
129
n=int(input()) list=[input() for i in range(n)] a = [] for i in range(n): a.append(list.count(i)) print(len(set((a)))
s434149976
p03470
u942774736
1581190084
Python
Python (3.4.3)
py
Runtime Error
18
2940
58
N=input() d=[input() for i in range(N)] print(len(set(d)))
s222671000
p03470
u150985282
1581187866
Python
Python (3.4.3)
py
Runtime Error
19
3060
194
N = int(input()) d = list(map(int, [input() for i in range(N)])) bucket = {} for i in range(N): if(i in bucket) == False: bucket[d[i]] = [] bucket[d[i]].append(d[i]) print(len(bucket))
s417758184
p03470
u840974625
1580610041
Python
Python (3.4.3)
py
Runtime Error
17
3060
167
n = int(input()) d = list(map(int, input().split())) res = 0 d.sort() first = d[0] for i in range(1, n): if first < d[i]: res += 1 first = d[i] print(res)
s424948489
p03470
u840974625
1580609820
Python
Python (3.4.3)
py
Runtime Error
17
3060
162
n = int(input()) d = list(int, input().split()) res = 0 d.sort() first = d[0] for i in range(1, n): if first > d[i]: res += 1 first = d[i] print(res)
s269845399
p03470
u840974625
1580609751
Python
Python (3.4.3)
py
Runtime Error
17
3060
170
n = int(input()) d = list(int, input().split()) res = 0 d.sort() first = d[0] for i in range(1, n): if first > range[i]: res += 1 first = range[i] print(res)
s448026392
p03470
u622349926
1580604412
Python
Python (3.4.3)
py
Runtime Error
17
2940
260
n, X = map(int, input().split()) for i in range(n+1): for j in range(n+1): if i+j > n: pass else: k = n-i-j otoshi = 10000*i + 5000*j + 1000*k if otoshi == X: print(i, j, k) break else: continue break
s451310718
p03470
u622349926
1580602963
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
n = input() s = {input() for i in range(3)} print(len(s))
s230109995
p03470
u811169796
1580444573
Python
Python (3.4.3)
py
Runtime Error
18
3060
196
n = int(input()) data = [] for i in range(n): d = int(input()) data.append(d) Data = sorted(data) cnt = 0 tmp = -1 for i in Data: if(tmp < Data[i]): cnt += 1 tmp = Data[i] print(cnt)
s637554578
p03470
u934868410
1580322700
Python
Python (3.4.3)
py
Runtime Error
18
3060
156
n = int(input()) a = sorted([int(input()) for i in range(n)]) pre = a[0] ans = 1 for i in range(1,n): if pre < a[n]: ans += 1 pre = a[i] print(ans)
s981147115
p03470
u686036872
1580199698
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
S = int(input()) list=[] for i in range(N): list.append(int(input())) print(len(set(list)))
s836648102
p03470
u686036872
1580199404
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
S = int(input()) list=[] for i in range(N): list.append(str(input())) print(len(set(list)))
s040762296
p03470
u686036872
1580199254
Python
Python (3.4.3)
py
Runtime Error
17
2940
90
S = int(input()) list=[] for i in range(N): list.append(input()) print(len(set(list)))
s476288845
p03470
u128661070
1580089068
Python
Python (3.4.3)
py
Runtime Error
17
3060
264
n,y = map(int, input().strip().split()) a_x, a_y, a_z = -1, -1, -1 for xi in range(n + 1): for yi in range(n - xi + 1): zi = n - xi - yi if 10000*xi + 5000*yi + 1000*zi == y: a_x = xi a_y = yi a_z = zi break print(a_x, a_y, a_z)
s313409149
p03470
u628341073
1579492307
Python
Python (3.4.3)
py
Runtime Error
17
2940
224
n, y = map(int, input().split()) for i in range(n + 1): for j in range(n - i + 1): if i * 10000 + j * 5000 + (n - i - j) * 1000 == y: print("{0} {1} {2}".format(i, j, (n - i - j))) exit(0)
s302839703
p03470
u686036872
1578807773
Python
Python (3.4.3)
py
Runtime Error
18
2940
72
N=int(input()) list=[int(input()) for i in range(N)] print(len(set(ist))
s221933104
p03470
u686036872
1578807751
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
N=int(input()) list=[int(input()) for i in range(N)] print(len(set(ist)))
s642581105
p03470
u724152875
1577918608
Python
Python (3.4.3)
py
Runtime Error
17
2940
139
n=int(input()) li=[int(input()) for i in range(n)] li_set=list(set(li)) #重複したものを一つにまとめる print(len(li_s))
s092344757
p03470
u286623856
1577593875
Python
Python (3.4.3)
py
Runtime Error
17
2940
785
#include <iostream> #include <string> #include <vector> #include <stdio.h> #include <stdlib.h> #include <algorithm> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, s, n) for (int i = (s); i < (int)(n); i++) int ctoi(char); struct btn { int next; int flag; }; int main...