QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505431#5795. The Next Numberxiaowuc135 ✓1ms3820kbC++171.1kb2024-08-05 05:19:272024-08-05 05:19:27

详细

Subtask #1:

score: 9
Accepted

Test #1:

score: 9
Accepted
time: 0ms
memory: 3816kb

input:

50
623239
60
207
80000
81
220
900
15
950576
305981
186952
607136
470
434067
22
920575
6233
354267
259864
390479
202
642072
102885
976143
509268
438706
918156
320
401673
340830
410542
583411
5005
826136
198367
926146
3
1051
302
3000
776431
801324
896380
8080
687543
1000000
774103
385948
322238
115

output:

Case #1: 623293
Case #2: 600
Case #3: 270
Case #4: 800000
Case #5: 108
Case #6: 2002
Case #7: 9000
Case #8: 51
Case #9: 950657
Case #10: 308159
Case #11: 189256
Case #12: 607163
Case #13: 704
Case #14: 434076
Case #15: 202
Case #16: 920755
Case #17: 6323
Case #18: 354276
Case #19: 264589
Case #20: 3...

result:

ok 50 lines

Subtask #2:

score: 26
Accepted

Test #2:

score: 26
Accepted
time: 1ms
memory: 3820kb

input:

500
70670532898549723225
78083878936000710564
75656796410033546527
89650323597787140263
96175930585123545822
15297666589406520593
66428459012335417258
90368448617924904466
80623052148175606548
72411973987556087589
99931780294465311954
14179891770592613942
67338938440333272786
19055436097136184977
50...

output:

Case #1: 70670532898549723252
Case #2: 78083878936000710645
Case #3: 75656796410033546572
Case #4: 89650323597787140326
Case #5: 96175930585123548225
Case #6: 15297666589406520935
Case #7: 66428459012335417285
Case #8: 90368448617924904646
Case #9: 80623052148175606584
Case #10: 72411973987556087598...

result:

ok 500 lines

Extra Test:

score: 0
Extra Test Passed