QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#762718#9115. Contour MultiplicationMaMengQiWA 1293ms8320kbC++232.0kb2024-11-19 16:22:062024-11-19 16:22:07

详细

Test #1:

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

input:

3 100 2
0 2 4
3 0 25

output:

1 1 1 0 1 4 4 1 

result:

ok 8 tokens

Test #2:

score: 0
Accepted
time: 0ms
memory: 7868kb

input:

4 998244353 7
0 2 4
3 0 25
9 4 37
4 1 16
6 3 8
1 4 68
13 3 97

output:

1552 8 1 9700 1 64 229696 1 8 4 388 8 64 8 68 1 

result:

ok 16 tokens

Test #3:

score: 0
Accepted
time: 0ms
memory: 7832kb

input:

1 2 1
0 1 696782227

output:

1 1 

result:

ok 2 tokens

Test #4:

score: 0
Accepted
time: 595ms
memory: 7780kb

input:

5 461799503 500000
26 2 741819583
24 4 16805970
5 2 192769861
5 4 365614234
31 0 680795402
23 5 256636931
24 4 150277578
3 1 912506287
27 5 785022824
1 4 645930009
8 2 715559837
3 4 166807726
22 2 584850050
23 1 481241174
7 0 947410124
0 4 588117991
13 5 882053755
16 5 430265734
29 5 324612363
9 4 8...

output:

0 0 45928586 0 134497770 0 206758057 394352068 0 244291949 0 209807785 0 285761102 402778530 0 0 0 61435341 287059619 347978730 135518317 363576818 0 0 0 0 0 0 0 0 349412261 

result:

ok 32 tokens

Test #5:

score: 0
Accepted
time: 1227ms
memory: 7784kb

input:

13 471577301 500000
6468 6 306578522
8113 3 479854366
720 5 444779113
8132 12 228254993
6354 13 64735677
6877 9 421810792
541 9 278526040
3090 0 986913987
5352 8 16271033
3263 5 929162219
3483 8 459160836
5355 12 867871503
3035 9 877478088
4090 10 88145277
468 6 252659128
4500 6 628030207
455 5 2083...

output:

295995843 436808476 339073319 155918282 48455511 1287988 263069937 40898455 250933189 115069799 274609439 140251254 130482131 221130936 48158903 362421527 310052080 102853257 367494088 214098183 133285802 100856795 170719263 335861409 110676293 435022783 13399750 339217190 201068790 224869164 579876...

result:

ok 8192 tokens

Test #6:

score: -100
Wrong Answer
time: 1293ms
memory: 8320kb

input:

17 776322399 500000
4238 2 949485315
55273 2 237870062
18140 17 991755666
3716 11 874076305
56421 6 370528096
44131 7 213869498
123361 5 779889655
14050 15 844502241
121141 15 30699796
3357 1 429213877
111087 3 497729135
57491 12 942050435
56577 6 386925573
101116 9 695049379
119745 5 557908130
4848...

output:

747262116 431879202 743312457 215674935 235704651 531976614 633939699 311192619 746802324 193928016 558397467 715691397 23371383 2452980 585447051 726811869 587786295 118604682 217332807 478742247 586634148 636930867 377108964 348614229 603298029 45869664 438752652 186898155 566797341 737778633 5275...

result:

wrong answer 1st words differ - expected: '607821963', found: '747262116'