QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#518138#1417. Koalajian_dan0 26ms10008kbC++143.0kb2024-08-13 16:23:252024-08-13 16:23:25

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 20
Accepted
time: 0ms
memory: 7936kb

input:

0 1000000000 10000000 1000000000 1000
766594 794913448
1022483 968808438
1860689 180172081
2612232 892233378
2711430 697456060
5861026 124399766
5872975 456109107
7305789 234223988
8856152 121809429
10395082 536579115
10727357 153804291
11383333 264987716
11710888 259494565
12650062 743133027
128343...

output:

-20986219947

result:

ok single line: '-20986219947'

Test #2:

score: 20
Accepted
time: 1ms
memory: 8020kb

input:

0 1000000000 100000000 1000000000 1000
408056 64291257
950729 417401194
1121456 485348868
1217960 194100399
1308702 23317250
1423934 816813094
1749013 272196714
2492231 614511892
2610673 465297899
3201044 998974907
3779675 17039455
4120320 438731899
5428489 237634880
5598516 15570543
5992567 3013002...

output:

-1206167121

result:

ok single line: '-1206167121'

Test #3:

score: 20
Accepted
time: 1ms
memory: 8016kb

input:

26645731 919542575 22846294 296541838 903
27350409 78559054
28074926 581246125
30233963 220622542
31204435 622433956
31428229 264695771
31535964 86753263
32029007 429287704
32124260 532791582
32162878 237287536
32909321 575845401
33489551 317180656
33950989 658312538
34438418 324511420
34897246 3843...

output:

105600825037

result:

ok single line: '105600825037'

Test #4:

score: 20
Accepted
time: 1ms
memory: 7916kb

input:

72620144 977888981 75318382 616914503 213
84582760 112948992
89116876 85442912
91787391 10785738
97766203 114304857
101563355 36343271
104865720 16060262
107255079 22772570
109495295 64882931
111321431 107980991
111963837 115224953
118147031 57771636
124696121 97844526
127348114 68770612
127597444 9...

output:

-7039664548

result:

ok single line: '-7039664548'

Test #5:

score: 0
Wrong Answer
time: 0ms
memory: 10008kb

input:

0 1001 1 1000000000 1000
1 147349793
2 709439639
3 695200296
4 341338582
5 599798661
6 383702756
7 133207304
8 358573839
9 971985350
10 510068148
11 330163022
12 422234013
13 692480786
14 974211672
15 498600562
16 487669297
17 729460253
18 835233205
19 739006916
20 465062736
21 546717504
22 22225761...

output:

-1535857336300

result:

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

Subtask #2:

score: 0
Wrong Answer

Test #11:

score: 0
Wrong Answer
time: 26ms
memory: 9936kb

input:

0 1000000000 100 1000000000 100000
10772 16498783
27514 413778647
32249 449299239
53881 944379333
55734 183512821
62266 707895369
62469 904347879
68808 405268726
75498 790216188
79387 728293682
84310 495444679
101416 234259135
104472 579651819
105055 195282273
115325 700682475
126862 424126393
13589...

output:

-9980190078979458

result:

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

Subtask #3:

score: 0
Skipped

Dependency #1:

0%