Submission #2759230
Source Code Expand
def check(p, minCount): tmp = 0 while minCount <= tmp: if (p % (10 ** (tmp+1))) == 0: tmp += 1 else: return tmp return minCount N = int(input()) p = [] for i in range(N): p.append(int(input())) minCount = 0 for i in range(N): minCount = check(p[i], minCount) print(minCount)
Submission Info
| Submission Time | |
|---|---|
| Task | A - 値札 |
| User | yopiyama |
| Language | Python (3.4.3) |
| Score | 0 |
| Code Size | 310 Byte |
| Status | WA |
| Exec Time | 17 ms |
| Memory | 3060 KiB |
Judge Result
| Set Name | Sample | All | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 0 / 200 | ||||||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 01.txt, 02.txt, 03.txt |
| All | 01.txt, 02.txt, 03.txt, 10.txt, 11.txt, 12.txt, 13.txt, 14.txt, 15.txt, 16.txt, 17.txt, 18.txt, 19.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 01.txt | WA | 17 ms | 3060 KiB |
| 02.txt | AC | 17 ms | 2940 KiB |
| 03.txt | WA | 17 ms | 3060 KiB |
| 10.txt | WA | 17 ms | 3060 KiB |
| 11.txt | WA | 17 ms | 3060 KiB |
| 12.txt | WA | 17 ms | 3060 KiB |
| 13.txt | WA | 17 ms | 3060 KiB |
| 14.txt | AC | 17 ms | 2940 KiB |
| 15.txt | WA | 17 ms | 3060 KiB |
| 16.txt | WA | 17 ms | 2940 KiB |
| 17.txt | AC | 17 ms | 3060 KiB |
| 18.txt | WA | 17 ms | 2940 KiB |
| 19.txt | AC | 17 ms | 3060 KiB |