QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#756053#9555. Strengthucup-team5015#TL 2945ms3660kbC++2031.2kb2024-11-16 18:51:242024-11-16 18:51:24

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3628kb

input:

5
0 2147483646
10 100
671232353 1232363
123001006660996 3122507962333010
100019990010301090 44519984489341188

output:

2147483647
55
0
1919810
114514

result:

ok 5 number(s): "2147483647 55 0 1919810 114514"

Test #2:

score: 0
Accepted
time: 293ms
memory: 3660kb

input:

100000
983802844195390320 867841388828035681
561712225511657823 824804699460484241
404870597011321334 620779795945179144
108290710733586980 71448325262443207
554396372532342266 866274696506270783
825413569026587006 463721160356652294
954854657812169407 863877305870296520
93529650461135145 7224482112...

output:

0
1
1000
11000
1
0
0
70
100
1
0
100
0
20
0
0
0
0
100
1050
0
0
10
5500
0
100
0
0
0
100
100
59500
1
1
10
100
0
0
0
10
0
100
10
0
100
0
10
10
0
0
0
10500
10
100
10
0
100
0
1000
10
24
1000
1000
0
0
700
0
1000
0
0
100
10
1
0
5000
10
10
0
700
10
1
0
10
0
105
1
100
5500
1
0
100
0
0
10
29012500
100
80
0
700...

result:

ok 100000 numbers

Test #3:

score: 0
Accepted
time: 2945ms
memory: 3640kb

input:

100000
100100101001001000 241871790564461103
100100101001001000 855661147750661961
100100101001001000 896900243135796267
100100101001001000 513783969315243904
100100101001001000 534089128945830920
100100101001001000 855891455712467272
100100101001001000 822769449458940477
100100101001001000 27261267...

output:

11860893750000000
38098223671547687
41245349574000000
24555351037500000
24555351037500000
38116205315377100
37249808325000000
14004190260375000
41481294087500000
37003490797725000
19303614665193816
37249808325000000
42802278849438610
41481294087500000
11860893750000000
16092379512500000
287868368000...

result:

ok 100000 numbers

Test #4:

score: -100
Time Limit Exceeded

input:

100000
1000000000000000000 957512997968887619
1000000000000000000 922920507238342609
1000000000000000000 990971169138689806
1000000000000000000 934649579477343310
1000000000000000000 999730660108208312
1000000000000000000 954708096872168078
1000000000000000000 979183786117650947
1000000000000000000 ...

output:

513068553524443175
478476062793898165
546526724694245362
490205135032898866
555286215663763868
510263652427723634
534739341673206503
529490458837542795
548664760129928238
472781619229996635
485184360746792321
538707030787093693
553991590885355836
486831442281292050
547039286480320752
516609820897215...

result: