QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#765823#9254. Random VariablesHuluoboWA 3ms12932kbC++143.9kb2024-11-20 15:22:122024-11-20 15:22:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 12932kb

input:

3 123456789
3 2
5 5
7 7

output:

18
7145
2066323

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 12072kb

input:

100 2
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
2 1
2 2
2 3
2 4
2 5
2 6
2 7
2 8
2 9
2 10
3 1
3 2
3 3
3 4
3 5
3 6
3 7
3 8
3 9
3 10
4 1
4 2
4 3
4 4
4 5
4 6
4 7
4 8
4 9
4 10
5 1
5 2
5 3
5 4
5 5
5 6
5 7
5 8
5 9
5 10
6 1
6 2
6 3
6 4
6 5
6 6
6 7
6 8
6 9
6 10
7 1
7 2
7 3
7 4
7 5
7 6
7 7
7 8
7 9
7 10
8 1
8 2...

output:

-29
-40
-93
-104
-157
-168
-221
-232
-285
-296
10216
13376
22824
25552
34280
36576
44584
46448
53736
55168
136059
363528
735523
1197752
1793251
2481256
3287715
4192536
5197411
6310088
1326592
-26250492
-53805316
-76321636
-142285564
-225432540
-264743908
-287286660
-384850908
-487741628
11594259
-10...

result:

wrong answer 1st lines differ - expected: '1', found: '-29'