QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#522441#6603. Knights of the Frozen ThroneZhangYiDeWA 3ms3792kbC++201.8kb2024-08-16 23:13:122024-08-16 23:13:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 3616kb

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: 0ms
memory: 3792kb

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: -100
Wrong Answer
time: 3ms
memory: 3772kb

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:

4937239 1
203 

result:

wrong answer 1st numbers differ - expected: '4810960', found: '4937239'