QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#521475#6603. Knights of the Frozen ThroneGuanYunchangWA 231ms27904kbC++201.3kb2024-08-16 11:16:012024-08-16 11:16:01

詳細信息

Test #1:

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

input:

4
3 1 4 5
2 2 4
4 2 4 7 8
6 1 3 5 7 8 10
1
2 4 6 5

output:

53 2
3 4 

result:

ok 4 number(s): "53 2 3 4"

Test #2:

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

input:

3
3 1 1 4
5 1 4 4 5 7
3 3 4 5
2
6 4 3

output:

55 1
1 

result:

ok 3 number(s): "55 1 1"

Test #3:

score: 0
Accepted
time: 1ms
memory: 3968kb

input:

4
3 1 3 6
2 1 4
4 3 6 8 10
6 1 2 4 6 8 10
1
1 2 3 4

output:

50 2
1 4 

result:

ok 4 number(s): "50 2 1 4"

Test #4:

score: 0
Accepted
time: 5ms
memory: 4128kb

input:

300
48 18 49 82 86 95 107 116 168 189 213 235 302 352 358 412 413 430 431 433 470 479 498 503 510 559 571 586 635 648 649 653 666 694 712 716 727 733 793 819 823 825 828 881 882 899 909 922 976
77 25 38 59 78 80 81 96 113 118 137 147 158 163 166 183 204 228 248 248 250 255 275 296 297 326 332 335 33...

output:

4810960 1
203 

result:

ok 3 number(s): "4810960 1 203"

Test #5:

score: 0
Accepted
time: 197ms
memory: 21904kb

input:

1000
100784 8 70 91 99 101 134 153 157 187 191 195 212 227 228 234 238 248 265 272 276 291 294 296 309 361 378 389 389 423 439 454 463 479 484 486 495 497 498 498 512 519 524 532 542 543 545 576 578 588 590 597 604 620 626 639 640 647 647 652 660 690 692 695 705 717 720 722 732 732 738 752 769 770 7...

output:

992358527846 1
26889 

result:

ok 3 number(s): "992358527846 1 26889"

Test #6:

score: 0
Accepted
time: 231ms
memory: 27904kb

input:

100000
144330 11358 17635 24210 24893 36242 48465 49328 52728 56784 58335 59819 70549 71451 76794 77045 82636 85792 85892 103291 104743 107756 114419 118439 123720 140408 143439 143935 154423 158186 159937 170979 175141 176782 177431 179372 184579 204118 218046 219632 231195 237837 238622 241195 245...

output:

85891880992205 1
14077 

result:

ok 3 number(s): "85891880992205 1 14077"

Test #7:

score: -100
Wrong Answer
time: 80ms
memory: 17236kb

input:

100000
189812 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826235 923826...

output:

15648231348302 1
1 

result:

wrong answer 1st numbers differ - expected: '15663453891078', found: '15648231348302'