QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#462838#2809. Presentegypt_ioi2024_0270 849ms3800kbC++205.0kb2024-07-04 06:55:172024-07-04 06:55:18

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 8
Accepted

Test #1:

score: 8
Accepted
time: 1ms
memory: 3632kb

input:

5
62
37
88
57
72

output:

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

result:

ok 5 lines

Test #2:

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

input:

5
88
77
21
87
24

output:

4 1 2 6 8 
4 1 3 4 8 
5 1 2 3 4 5 
3 2 6 8 
2 2 6 

result:

ok 5 lines

Test #3:

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

input:

5
59
5
72
76
95

output:

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

result:

ok 5 lines

Test #4:

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

input:

5
3
58
50
91
38

output:

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

result:

ok 5 lines

Test #5:

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

input:

5
6
38
78
60
52

output:

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

result:

ok 5 lines

Test #6:

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

input:

5
53
2
54
17
77

output:

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

result:

ok 5 lines

Subtask #2:

score: 21
Accepted

Dependency #1:

100%
Accepted

Test #7:

score: 21
Accepted
time: 247ms
memory: 3632kb

input:

5
967473
149056
95798
903699
54343

output:

14 1 2 3 6 7 9 14 15 17 18 21 22 23 24 
7 1 3 4 8 17 20 21 
9 1 2 5 7 11 15 17 19 20 
17 1 2 3 4 6 7 8 10 12 13 14 18 19 20 21 23 24 
7 1 2 4 8 11 18 19 

result:

ok 5 lines

Test #8:

score: 0
Accepted
time: 365ms
memory: 3612kb

input:

5
824612
692511
834141
820975
111302

output:

14 1 2 3 4 5 6 7 9 10 11 12 18 23 24 
10 1 2 3 5 6 7 10 13 21 24 
11 1 3 7 8 9 11 13 15 19 23 24 
11 1 3 4 5 8 9 12 15 17 23 24 
10 1 2 3 4 6 11 12 13 16 21 

result:

ok 5 lines

Test #9:

score: 0
Accepted
time: 287ms
memory: 3764kb

input:

5
115600
813100
742542
206782
714068

output:

13 1 2 3 5 6 7 9 10 11 13 15 17 21 
9 1 2 3 4 11 12 14 23 24 
12 1 2 3 5 6 11 12 14 17 18 22 24 
11 1 2 3 5 7 9 11 12 17 19 22 
14 1 2 3 4 5 6 9 10 13 17 18 19 21 24 

result:

ok 5 lines

Test #10:

score: 0
Accepted
time: 332ms
memory: 3544kb

input:

5
271953
490598
560137
729339
980828

output:

14 1 2 3 4 6 7 8 9 11 13 16 17 21 22 
12 1 2 3 4 8 11 12 13 14 16 22 23 
12 1 2 4 6 7 10 16 17 18 20 22 23 
12 1 2 3 5 7 8 9 10 13 14 22 24 
17 1 2 3 4 5 6 7 10 11 12 15 17 20 21 22 23 24 

result:

ok 5 lines

Test #11:

score: 0
Accepted
time: 171ms
memory: 3568kb

input:

5
78005
94222
345802
240639
797525

output:

14 1 2 3 4 6 7 9 10 11 12 13 16 17 20 
12 1 2 3 4 5 6 7 11 13 17 19 20 
12 1 2 3 7 8 9 11 13 14 17 18 23 
13 1 2 3 4 5 6 7 10 13 16 18 20 22 
13 1 2 3 6 7 8 9 14 18 19 21 22 24 

result:

ok 5 lines

Test #12:

score: 0
Accepted
time: 321ms
memory: 3492kb

input:

5
213815
388934
704608
638223
965441

output:

15 1 2 3 4 5 6 9 10 11 13 15 16 17 19 22 
11 1 2 3 4 7 10 13 14 16 20 23 
14 1 2 3 4 5 6 8 9 10 11 13 19 21 24 
8 1 2 4 8 11 14 16 24 
17 1 2 3 4 6 7 8 10 11 12 13 14 18 21 22 23 24 

result:

ok 5 lines

Subtask #3:

score: 41
Accepted

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Test #13:

score: 41
Accepted
time: 531ms
memory: 3628kb

input:

5
264009813
338082986
193952046
78609665
69397288

output:

21 1 2 3 4 5 6 7 8 9 10 12 15 17 18 19 21 24 25 29 33 34 
21 1 2 3 4 5 6 7 8 9 10 12 13 14 15 17 23 24 26 28 31 35 
20 1 2 3 4 5 7 10 11 13 14 15 16 17 20 21 22 23 28 31 34 
17 1 2 3 4 7 8 9 14 16 17 19 20 21 24 27 31 32 
18 1 2 3 4 5 6 7 8 10 13 15 17 18 19 24 26 30 32 

result:

ok 5 lines

Test #14:

score: 0
Accepted
time: 360ms
memory: 3560kb

input:

5
150219445
322427094
31308257
148721382
412214364

output:

16 1 2 3 4 9 11 13 14 17 18 25 26 27 31 32 33 
16 1 2 3 4 5 7 9 10 11 12 17 21 23 24 27 35 
15 1 2 3 5 8 9 11 13 15 16 17 18 26 27 31 
19 1 2 3 5 8 9 10 11 13 16 17 18 21 22 23 26 31 32 33 
17 1 2 3 4 5 7 9 13 18 20 21 22 26 27 29 34 35 

result:

ok 5 lines

Test #15:

score: 0
Accepted
time: 605ms
memory: 3800kb

input:

5
151756875
427011464
58969849
244330943
310625967

output:

21 1 2 3 4 5 6 7 8 9 10 11 18 19 20 23 24 27 28 31 32 33 
22 1 2 3 4 5 6 7 8 9 16 17 18 19 20 22 23 26 28 29 31 34 35 
15 1 2 4 5 7 8 10 14 16 19 22 24 25 28 32 
19 1 2 3 4 5 6 8 10 15 16 17 18 23 24 25 29 31 32 34 
25 1 2 3 4 5 6 7 10 11 12 13 14 15 17 20 21 22 23 26 27 28 31 32 33 34 

result:

ok 5 lines

Test #16:

score: 0
Accepted
time: 492ms
memory: 3624kb

input:

5
179476159
129836662
494167066
336058841
348325607

output:

22 1 2 3 4 5 6 7 8 12 13 15 16 19 21 23 24 25 26 27 28 29 34 
22 1 2 3 4 5 6 8 9 10 11 13 14 17 18 20 22 25 27 28 30 31 33 
17 1 2 3 4 5 6 7 9 10 14 16 18 19 22 25 29 36 
22 1 2 3 4 5 7 8 9 10 11 12 13 14 15 19 20 23 24 25 26 31 35 
22 1 2 3 4 5 6 7 10 11 15 19 22 23 24 25 26 27 28 29 30 31 35 

result:

ok 5 lines

Test #17:

score: 0
Accepted
time: 759ms
memory: 3548kb

input:

5
337931259
398093956
349469813
381304523
455533754

output:

15 1 2 3 5 6 7 9 13 15 21 22 26 28 31 35 
17 1 2 3 4 5 7 9 11 15 17 19 21 26 31 32 33 35 
18 1 2 3 4 5 7 8 10 11 12 14 15 16 21 25 26 32 35 
17 1 2 3 4 5 10 11 13 15 17 20 22 24 26 31 33 35 
22 1 2 3 4 5 6 7 8 9 10 13 14 16 18 19 20 21 23 26 33 34 35 

result:

ok 5 lines

Test #18:

score: 0
Accepted
time: 849ms
memory: 3544kb

input:

5
5456876
29594798
37782325
167839691
354330184

output:

17 1 2 3 4 5 6 9 12 13 17 20 21 23 24 25 26 27 
12 1 2 3 4 5 14 16 18 22 25 26 31 
16 1 2 4 5 6 7 10 11 16 17 18 19 22 26 29 31 
18 1 2 3 4 5 6 8 9 10 13 14 15 17 20 23 24 28 34 
19 1 2 3 4 5 6 8 9 10 16 17 20 23 24 26 27 29 32 35 

result:

ok 5 lines

Subtask #4:

score: 0
Wrong Answer

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

100%
Accepted

Test #19:

score: 0
Wrong Answer
time: 583ms
memory: 3544kb

input:

5
518437301
666694742
559265585
512923635
621833328

output:

10 1 2 3 7 10 11 16 18 21 23 
8 1 2 3 5 8 16 21 24 
14 1 2 3 4 5 6 10 13 14 16 18 20 23 25 
12 1 2 4 7 10 11 12 13 19 22 23 24 
10 1 2 7 10 12 13 14 17 22 26 

result:

wrong answer 1st lines differ - expected: '20 1 2 3 4 5 7 8 9 10 12 13 15 17 19 21 22 23 24 32 36', found: '10 1 2 3 7 10 11 16 18 21 23 '

Subtask #5:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

100%
Accepted

Dependency #4:

0%