Submission #27227684
Source Code Expand
N=int(input())
S=list(map(int,input().split()))
cnt=0
A=range(1,200)
B=range(1,200)
for a in A:
for b in B:
S_=4*a*b+3*a+3*b
if S_ in S:
for i in range(S.count(S_)):
S.remove(S_)
print(len(S))
Submission Info
| Submission Time | |
|---|---|
| Task | B - KEYENCE building |
| User | nic_am |
| Language | Python (3.8.2) |
| Score | 200 |
| Code Size | 253 Byte |
| Status | AC |
| Exec Time | 43 ms |
| Memory | 9120 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 200 / 200 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample_01.txt, sample_02.txt |
| All | random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, sample_01.txt, sample_02.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| random_01.txt | AC | 36 ms | 9120 KiB |
| random_02.txt | AC | 41 ms | 8900 KiB |
| random_03.txt | AC | 28 ms | 8992 KiB |
| random_04.txt | AC | 39 ms | 9056 KiB |
| random_05.txt | AC | 35 ms | 9056 KiB |
| random_06.txt | AC | 33 ms | 9000 KiB |
| random_07.txt | AC | 43 ms | 9004 KiB |
| random_08.txt | AC | 36 ms | 9004 KiB |
| sample_01.txt | AC | 28 ms | 8892 KiB |
| sample_02.txt | AC | 37 ms | 9052 KiB |