QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#502940#5636. FBI Universal Control Numbersxiaowuc1100 ✓62ms10644kbPython3598b2024-08-03 15:36:062024-08-03 15:36:11

詳細信息


Pretests


Final Tests

Test #1:

score: 100
Accepted
time: 62ms
memory: 10644kb

input:

10000
1 12345678A
2 12435678A
3 12355678A
4 KA41VEWXF
5 WDN4FKTC9
6 6XR2ETX6N
7 84PXN7LX5
8 H0NDW7097
9 1WXX5MX1W
10 J6K7T0A3V
11 NKKF729W1
12 TA2158653
13 6W63KHMM0
14 35ANTV82W
15 W4K50V801
16 03C6WCK2F
17 03KHVFWFK
18 NEMK0C4HT
19 TK6V9JVE5
20 P542C7HJ6
21 J9HFAML83
22 JH4E2K7VR
23 WMLKD96X7
24 7...

output:

1 11280469652
2 Invalid
3 Invalid
4 Invalid
5 Invalid
6 73152064122
7 85548051368
8 157199150664
9 20532867445
10 Invalid
11 Invalid
12 244491662228
13 Invalid
14 33472750367
15 263305118367
16 Invalid
17 Invalid
18 Invalid
19 247273309480
20 221663200255
21 171075320603
22 173241314916
23 269137377...

result:

ok 10000 lines