QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#441087#8578. 과일 게임GuanYunchang0 1572ms4696kbC++23730b2024-06-14 12:33:502024-06-14 12:33:50

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3744kb

input:

10
2 2 1 2 2 2 2 1 2 2
10
1 0 2
1 0 9
1 0 5
1 2 4
1 0 9
1 2 7
1 3 7
1 7 9
1 1 3
1 0 2

output:

3
3
5
5
4
4
3
3
5
5
4
4
4
4
3
3
3
3
3
3

result:

wrong answer 2nd lines differ - expected: '4', found: '3'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Wrong Answer

Test #31:

score: 0
Wrong Answer
time: 7ms
memory: 3844kb

input:

4000
1 1 1 1 1 1 1 1 2 2 2 2 1 1 1 1 2 2 2 2 1 1 1 1 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 1 1 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 2 2 2 2 1 1 1 1 2 2 2 2...

output:

11
11
12
12
13
13
11
11
11
11
12
12
11
11
12
12
13
13
10
10
9
9
10
10
9
9
9
9
10
10
13
13
11
11
10
10
11
11
9
9
12
12
8
8
9
9
10
10
11
11
13
13
11
11
13
13
12
12
9
9
10
10
12
12
10
10
12
12
10
10
13
13
13
13
13
13
11
11
8
8
5
5
12
12
10
10
12
12
12
12
8
8
12
12
13
13
8
8
11
11
11
11
12
12
12
12
11
1...

result:

wrong answer 2nd lines differ - expected: '12', found: '11'

Subtask #4:

score: 0
Skipped

Dependency #1:

0%

Subtask #5:

score: 0
Skipped

Dependency #3:

0%

Subtask #6:

score: 0
Wrong Answer

Test #69:

score: 0
Wrong Answer
time: 1572ms
memory: 4696kb

input:

100000
2 10 6 3 5 4 2 6 9 3 8 3 9 6 9 8 8 9 4 6 5 10 7 1 2 5 5 2 7 3 5 10 5 6 7 5 9 10 6 10 7 3 2 1 7 8 4 4 3 10 1 6 9 9 6 9 6 1 6 4 8 5 5 6 8 3 3 7 6 6 3 5 5 9 5 5 7 10 7 3 10 1 4 2 3 6 9 2 7 2 8 10 4 5 2 6 7 1 8 2 8 3 3 10 9 8 6 6 9 6 4 5 8 4 10 10 4 1 6 4 4 3 9 4 7 7 2 8 8 7 10 6 8 2 1 4 2 2 5 2 ...

output:

23
23
19
19
16
16
22
22
22
22
21
21
19
19
22
22
22
22
23
23
21
21
23
23
19
19
22
22
23
23
23
23
23
23
20
20
23
23
22
22
23
23
22
22
23
23
23
23
22
22
19
19
22
22
22
22
20
20
14
14
22
22
23
23
22
22
21
21
23
23
23
23
19
19
23
23
21
21
21
21
22
22
22
22
18
18
20
20
21
21
22
22
22
22
22
22
21
21
23
23
...

result:

wrong answer 1st lines differ - expected: '12', found: '23'

Subtask #7:

score: 0
Skipped

Dependency #1:

0%