QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#525847#4904. 圆滚滚的算术占卜yoy6810 159ms267812kbC++203.2kb2024-08-20 23:35:492024-08-20 23:35:49

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Time Limit Exceeded

Test #1:

score: 5
Accepted
time: 159ms
memory: 194324kb

input:

10
9653 62002
91160 95589
4602 60141
54240 79592
69170 95623
46733 68190
25361 84435
23506 99583
62553 65996
22099 81703

output:

103592019
222392703
236171250
287406393
478554731
117904238
522507555
617451444
277292124
553293749

result:

ok 10 numbers

Test #2:

score: 0
Time Limit Exceeded

input:

500
174 85257
53439 99201
25556 99022
59548 92909
61936 77935
35851 62882
67138 71164
42431 65794
15439 89519
5723 18456
23983 25568
22597 68086
23328 93569
9292 67330
18318 88994
84792 90364
13981 83990
21502 61839
4123 63779
498 68986
34607 65882
11483 67457
22349 94822
24528 42149
14737 16569
643...

output:


result:


Subtask #2:

score: 10
Accepted

Test #4:

score: 10
Accepted
time: 8ms
memory: 233896kb

input:

5
14151615 14151615
50959220 50959220
177962208 177962208
173507309 173507309
608527742 608527742

output:

574888399
728657674
419976531
502012045
456375259

result:

ok 5 number(s): "574888399 728657674 419976531 502012045 456375259"

Test #5:

score: 10
Accepted
time: 7ms
memory: 235952kb

input:

5
441384319 441384319
606726578 606726578
100872719 100872719
290542038 290542038
290435521 290435521

output:

304014472
49910017
871510667
927387471
830052470

result:

ok 5 number(s): "304014472 49910017 871510667 927387471 830052470"

Test #6:

score: 10
Accepted
time: 0ms
memory: 233876kb

input:

5
686934834 686934834
217972715 217972715
91760217 91760217
478910665 478910665
871116356 871116356

output:

95543981
675033334
382398698
617891543
7219851

result:

ok 5 number(s): "95543981 675033334 382398698 617891543 7219851"

Test #7:

score: 10
Accepted
time: 0ms
memory: 227916kb

input:

5
632445684 632445684
734428390 734428390
713862928 713862928
749060122 749060122
542269196 542269196

output:

651099756
192673041
504124590
272521896
299385724

result:

ok 5 number(s): "651099756 192673041 504124590 272521896 299385724"

Test #8:

score: 10
Accepted
time: 4ms
memory: 231812kb

input:

5
292694554 292694554
122280051 122280051
174892392 174892392
9910543 9910543
784522094 784522094

output:

419465926
714229591
283421374
481713044
109145296

result:

ok 5 number(s): "419465926 714229591 283421374 481713044 109145296"

Test #9:

score: 10
Accepted
time: 8ms
memory: 225728kb

input:

5
615497298 615497298
564113448 564113448
753391603 753391603
551814992 551814992
174017428 174017428

output:

22576684
137456470
513923958
668473835
317575304

result:

ok 5 number(s): "22576684 137456470 513923958 668473835 317575304"

Test #10:

score: 10
Accepted
time: 8ms
memory: 233864kb

input:

5
1000000000 1000000000
999999999 999999999
999999998 999999998
999999997 999999997
999999996 999999996

output:

222450657
694100606
163329444
630802635
100031473

result:

ok 5 number(s): "222450657 694100606 163329444 630802635 100031473"

Subtask #3:

score: 0
Wrong Answer

Dependency #2:

100%
Accepted

Test #11:

score: 0
Wrong Answer
time: 12ms
memory: 267812kb

input:

500
698257830800 698257830800
617173242289 617173242289
568533976816 568533976816
304124481699 304124481699
382703992871 382703992871
369767377948 369767377948
486827431792 486827431792
816809127260 816809127260
140820315808 140820315808
520319250284 520319250284
846471367899 846471367899
6644006698...

output:

796443899
554316542
762700927
160957438
344963589
419600166
376436592
286815741
981478912
237043043
620502759
601487069
311850133
20137684
346989856
714430426
693013741
517048578
928865206
-617406903
575589056
913035995
670370544
354890913
59898283
805408803
240171941
367325984
477642849
-681638800
...

result:

wrong answer 1st numbers differ - expected: '222330930', found: '796443899'

Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Skipped

Dependency #1:

0%

Subtask #6:

score: 0
Skipped

Dependency #5:

0%