QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#49958#874. Long Grid CoveringGuanYunchangTL 476ms3836kbC++141.6kb2022-09-24 12:41:242022-09-24 12:41:26

详细

Test #1:

score: 100
Accepted
time: 9ms
memory: 3824kb

input:

4
1
2
3
10

output:

1
3
10
8266

result:

ok 4 number(s): "1 3 10 8266"

Test #2:

score: 0
Accepted
time: 476ms
memory: 3836kb

input:

100
591
417
888
251
792
847
685
3
182
461
102
348
555
956
771
901
712
878
580
631
342
333
285
899
525
725
537
718
929
653
84
788
104
355
624
803
253
853
201
995
536
184
65
205
540
652
549
777
248
405
677
950
431
580
600
846
328
429
134
983
526
103
500
963
400
23
276
704
570
757
410
658
507
620
984
2...

output:

398162564
3923746
347206084
937652677
511984221
356815867
634269583
10
492672877
107350060
647965529
633393631
911425824
746373395
426043114
551287175
772111460
994877654
877599230
88346652
250024200
154039310
461178023
487763582
763918729
537233428
570954868
210301204
911464697
237056565
669291182
...

result:

ok 100 numbers

Test #3:

score: -100
Time Limit Exceeded

input:

100
955967370573984956
113166936398978672
934415284373637608
774686535590919223
668528836699949629
65629257521619533
811940940990692618
915621972787306932
228144645291423602
690041707309747302
191003462832708740
981404451712468361
900400340973685384
507894895830950112
730342794302458267
292630995901...

output:


result: