QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#32793#1876. MIPT: Connecting PeoplelarryzhongWA 74ms366156kbC++173.9kb2022-05-23 23:55:102022-05-23 23:55:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 74ms
memory: 365288kb

input:

1 1
5 1

output:

20

result:

ok answer is '20'

Test #2:

score: 0
Accepted
time: 63ms
memory: 365228kb

input:

2 1
3 3
3 2

output:

59

result:

ok answer is '59'

Test #3:

score: 0
Accepted
time: 49ms
memory: 366064kb

input:

5 1000
10 1
1 1
7 1
3 1
8 1

output:

460314

result:

ok answer is '460314'

Test #4:

score: 0
Accepted
time: 57ms
memory: 365712kb

input:

5 1
10 1000
1 1000
7 1000
3 1000
8 1000

output:

1626464

result:

ok answer is '1626464'

Test #5:

score: 0
Accepted
time: 52ms
memory: 365200kb

input:

1 414619
100 498997

output:

83157850050

result:

ok answer is '83157850050'

Test #6:

score: 0
Accepted
time: 45ms
memory: 365356kb

input:

1 144052
3000 309889

output:

1394500345055500

result:

ok answer is '1394500345055500'

Test #7:

score: 0
Accepted
time: 55ms
memory: 365940kb

input:

2 76800
65 647554
35 185123

output:

60514170820

result:

ok answer is '60514170820'

Test #8:

score: 0
Accepted
time: 56ms
memory: 365112kb

input:

2 256220
1963 311961
1037 530722

output:

1137091926771735

result:

ok answer is '1137091926771735'

Test #9:

score: 0
Accepted
time: 52ms
memory: 366116kb

input:

3 706278
31 369111
56 923899
13 865399

output:

83196440515

result:

ok answer is '83196440515'

Test #10:

score: -100
Wrong Answer
time: 57ms
memory: 366156kb

input:

10 26988
2 524303
2 155871
5 529858
5 738490
6 611743
9 190337
11 321000
16 768996
19 139086
25 129074

output:

11341698103

result:

wrong answer expected '12630754247', found '11341698103'