Submission #4038800
Source Code Expand
n=int(input()) s=[] p=[] for i in range(n): a=input() if not a in s: s.append(a) p.append(1) else: p[s.index(a)]=(p[s.index(a)]+1)%2 print(sum(p))
Submission Info
Submission Time | |
---|---|
Task | C - Write and Erase |
User | TKR18 |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 192 Byte |
Status | TLE |
Exec Time | 2104 ms |
Memory | 4212 KB |
Judge Result
Set Name | Sample | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 300 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_01.txt, sample_02.txt, sample_03.txt |
All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, sample_01.txt, sample_02.txt, sample_03.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01.txt | AC | 200 ms | 3060 KB |
02.txt | AC | 205 ms | 3060 KB |
03.txt | TLE | 2104 ms | 4212 KB |
04.txt | AC | 219 ms | 3060 KB |
05.txt | TLE | 2104 ms | 4212 KB |
06.txt | AC | 975 ms | 3060 KB |
07.txt | TLE | 2104 ms | 3060 KB |
08.txt | TLE | 2104 ms | 3188 KB |
sample_01.txt | AC | 18 ms | 2940 KB |
sample_02.txt | AC | 17 ms | 2940 KB |
sample_03.txt | AC | 17 ms | 2940 KB |