QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#515608#4930. LCS of Permutationsegypt_ioi2024_050 18ms3828kbC++201.5kb2024-08-11 19:16:472024-08-11 19:16:48

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 14ms
memory: 3636kb

input:

632
512 1 1 512 1
201 1 1 201 1
155 1 1 155 1
129 1 1 129 1
345 1 1 345 1
454 1 1 454 1
614 1 1 614 1
11 1 1 11 1
492 1 1 492 1
357 1 1 357 1
300 1 1 300 1
295 1 1 295 1
607 1 1 607 1
442 1 1 442 1
14 1 1 14 1
79 1 1 79 1
584 1 1 584 1
431 1 1 431 1
343 1 1 343 1
64 1 1 64 1
548 1 1 548 1
101 1 1 10...

output:

YES
0
512 511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 495 494 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 475 474 473 472 471 470 469 468 467 466 465 464 463 462 461 460 459 458 457 456 455 454 453 452 451 450 449 448 447 446 445 444 443 442 441 440 43...

result:

wrong answer Integer element [index=1] equals to 0, violates the range [1, 512] (test case 1)

Subtask #2:

score: 0
Wrong Answer

Test #9:

score: 0
Wrong Answer
time: 18ms
memory: 3624kb

input:

40011
1 1 1 1 1
2 1 1 1 1
2 1 1 2 1
2 1 2 2 1
2 2 2 2 1
3 1 1 1 1
3 1 1 2 1
3 1 1 3 1
3 1 2 2 1
3 1 2 3 1
3 1 3 3 1
3 2 2 2 1
3 2 2 3 1
3 2 3 3 1
3 3 3 3 1
4 1 1 1 1
4 1 1 2 1
4 1 1 3 1
4 1 1 4 1
4 1 2 2 1
4 1 2 3 1
4 1 2 4 1
4 1 3 3 1
4 1 3 4 1
4 1 4 4 1
4 2 2 2 1
4 2 2 3 1
4 2 2 4 1
4 2 3 3 1
4 2 ...

output:

YES
0
1 
NO
YES
0
2 1 
NO
NO
NO
NO
YES
0
3 2 1 
YES
0
2 1 3 
NO
NO
YES
0
2 1 3 
NO
NO
NO
NO
NO
NO
YES
0
4 3 2 1 
YES
1
2 1 4 3 
YES
0
3 2 1 4 
NO
NO
NO
NO
YES
1
2 1 4 3 
YES
0
3 2 1 4 
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
YES
0
5 4 3 2 1 
NO
YES
1
3 2 1 5 4 
YES
0
4 3 2 1 5 
NO
YES
0
3 2 1 4 5 
NO
NO...

result:

wrong answer Integer element [index=1] equals to 0, violates the range [1, 1] (test case 1)

Subtask #3:

score: 0
Skipped

Dependency #1:

0%

Subtask #4:

score: 0
Skipped

Dependency #1:

0%

Subtask #5:

score: 0
Wrong Answer

Test #58:

score: 0
Wrong Answer
time: 10ms
memory: 3828kb

input:

11753
20 10 12 19 0
21 3 4 18 0
21 5 12 14 0
7 1 1 3 0
16 9 10 13 0
13 3 4 9 0
21 11 13 14 0
16 15 16 16 0
20 10 10 13 0
19 3 9 13 0
18 1 17 18 0
15 2 4 4 0
14 2 4 5 0
19 3 9 16 0
16 10 12 15 0
18 2 7 17 0
18 1 1 12 0
14 1 1 1 0
9 1 2 5 0
17 8 15 15 0
18 2 2 14 0
19 9 14 17 0
20 2 10 16 0
20 8 9 17 ...

output:

NO
YES
0
18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 19 20 21 
NO
NO
NO
YES
1
9 8 7 6 5 4 3 2 1 11 10 12 13 
NO
NO
NO
NO
NO
YES
8
4 3 2 1 8 7 6 5 12 11 10 9 15 14 13 
YES
6
5 4 3 2 1 10 9 8 7 6 13 12 11 14 
NO
NO
NO
NO
NO
YES
3
5 4 3 2 1 9 8 7 6 
NO
YES
3
14 13 12 11 10 9 8 7 6 5 4 3 2 1 18 17 16 1...

result:

wrong answer Token parameter [name=yes/no] equals to "0", doesn't correspond to pattern "[yY][eE][sS]|[nN][oO]" (test case 3)

Subtask #6:

score: 0
Skipped

Dependency #2:

0%