11071 | 2024-07-06 00:32:02 | proba | Szomjas állatok | python3 | Accepted 100/100 | 83ms | 3300 KiB |
semmi = input()
s = [int(i) for i in input().split(' ')]
iszik = []
for i in s:
iszik += [i]
temp = iszik.copy()
if i < min(iszik):
iszik += [i]
else:
for j in iszik:
if i > j:
temp.remove(j)
iszik = temp.copy()
print(len(iszik))
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 17ms | 2916 KiB | ||||
2 | Accepted | 17ms | 2916 KiB | ||||
subtask2 | 5/5 | ||||||
3 | Accepted | 17ms | 2916 KiB | ||||
4 | Accepted | 17ms | 2916 KiB | ||||
5 | Accepted | 17ms | 2916 KiB | ||||
subtask3 | 20/20 | ||||||
6 | Accepted | 17ms | 2916 KiB | ||||
7 | Accepted | 17ms | 3064 KiB | ||||
8 | Accepted | 27ms | 3084 KiB | ||||
9 | Accepted | 76ms | 3028 KiB | ||||
10 | Accepted | 50ms | 3300 KiB | ||||
subtask4 | 25/25 | ||||||
11 | Accepted | 17ms | 2920 KiB | ||||
12 | Accepted | 18ms | 2916 KiB | ||||
13 | Accepted | 18ms | 2952 KiB | ||||
14 | Accepted | 17ms | 2916 KiB | ||||
15 | Accepted | 17ms | 2916 KiB | ||||
subtask5 | 20/20 | ||||||
16 | Accepted | 18ms | 3044 KiB | ||||
17 | Accepted | 17ms | 2916 KiB | ||||
18 | Accepted | 19ms | 3088 KiB | ||||
19 | Accepted | 20ms | 3088 KiB | ||||
20 | Accepted | 19ms | 3044 KiB | ||||
subtask6 | 30/30 | ||||||
21 | Accepted | 17ms | 3104 KiB | ||||
22 | Accepted | 17ms | 2896 KiB | ||||
23 | Accepted | 18ms | 2920 KiB | ||||
24 | Accepted | 83ms | 3216 KiB | ||||
25 | Accepted | 18ms | 3044 KiB | ||||
26 | Accepted | 19ms | 3056 KiB |