Task: | Kortit |
Sender: | elcaroak |
Submission time: | 2020-09-26 20:55:14 +0300 |
Language: | Python3 (CPython3) |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | WRONG ANSWER | 0 |
#2 | WRONG ANSWER | 0 |
test | verdict | time | group | |
---|---|---|---|---|
#1 | WRONG ANSWER | 0.03 s | 1, 2 | details |
#2 | WRONG ANSWER | 0.06 s | 2 | details |
Code
for _ in range(int(input())): points=0 enemyCards = [i+1 for i in range(int(input()))] myCards = [int(i) for i in input().split()] [enemyCards.remove(i) for i in myCards] for i in myCards: for j in enemyCards: if i>j: points+=1 break print(points)