Submission #2948959
Source Code Expand
k = int(input()) def count(x): return sum(map(int, str(x))) result = 0x7ffffffff for x in range(1, 500*k): result = min(result, count(x*k)) print(result)
Submission Info
Submission Time | |
---|---|
Task | C - Snuke Festival |
User | officeyutong |
Language | PyPy3 (2.4.0) |
Score | 0 |
Code Size | 177 Byte |
Status | WA |
Exec Time | 2106 ms |
Memory | 43348 KB |
Judge Result
Set Name | Sample | All | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 300 | ||||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | s1.txt, s2.txt, s3.txt |
All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, 10.txt, 11.txt, 12.txt, 13.txt, 14.txt, 15.txt, 16.txt, 17.txt, 18.txt, 19.txt, 20.txt, 21.txt, 22.txt, 23.txt, 24.txt, 25.txt, 26.txt, 27.txt, 28.txt, 29.txt, s1.txt, s2.txt, s3.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01.txt | TLE | 2106 ms | 41196 KB |
02.txt | TLE | 2106 ms | 41196 KB |
03.txt | TLE | 2106 ms | 41196 KB |
04.txt | TLE | 2106 ms | 41324 KB |
05.txt | TLE | 2106 ms | 41196 KB |
06.txt | TLE | 2106 ms | 41196 KB |
07.txt | TLE | 2106 ms | 41196 KB |
08.txt | TLE | 2105 ms | 43264 KB |
09.txt | TLE | 2106 ms | 41196 KB |
10.txt | TLE | 2106 ms | 41196 KB |
11.txt | TLE | 2106 ms | 41196 KB |
12.txt | TLE | 2105 ms | 42940 KB |
13.txt | TLE | 2106 ms | 41196 KB |
14.txt | TLE | 2106 ms | 41196 KB |
15.txt | TLE | 2106 ms | 41196 KB |
16.txt | TLE | 2106 ms | 41196 KB |
17.txt | TLE | 2105 ms | 43348 KB |
18.txt | TLE | 2106 ms | 41196 KB |
19.txt | TLE | 2106 ms | 41308 KB |
20.txt | TLE | 2106 ms | 41196 KB |
21.txt | TLE | 2105 ms | 43188 KB |
22.txt | TLE | 2106 ms | 41196 KB |
23.txt | TLE | 2106 ms | 41196 KB |
24.txt | TLE | 2106 ms | 41196 KB |
25.txt | TLE | 2105 ms | 42940 KB |
26.txt | WA | 168 ms | 38512 KB |
27.txt | WA | 172 ms | 38768 KB |
28.txt | AC | 168 ms | 38512 KB |
29.txt | WA | 168 ms | 38640 KB |
s1.txt | WA | 171 ms | 38768 KB |
s2.txt | WA | 179 ms | 39664 KB |
s3.txt | WA | 178 ms | 39664 KB |