QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#442017#8578. 과일 게임ZhangYiDe0 454ms39144kbC++234.7kb2024-06-15 03:03:202024-06-15 03:03:21

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

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

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
4
3
3
4
4
4
3
2
3

result:

ok 10 lines

Test #2:

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

input:

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

output:

2
3
3
3
3
3
3
2
3
3

result:

ok 10 lines

Test #3:

score: 5
Accepted
time: 3ms
memory: 25668kb

input:

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

output:

2
2
2
2
3
3
3
4
4
2

result:

ok 10 lines

Test #4:

score: 0
Wrong Answer
time: 3ms
memory: 25672kb

input:

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

output:

2
4
2
2
4
3
3
4
4
4

result:

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

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Wrong Answer

Test #31:

score: 0
Wrong Answer
time: 15ms
memory: 26644kb

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:

13
13
14
12
11
14
14
13
13
10
11
10
12
9
11
12
12
12
14
9
15
8
12
13
14
12
11
12
11
10
9
11
10
12
13
13
12
12
10
8
7
12
10
8
13
8
13
11
10
11
10
12
12
12
9
0
10
0
7
6
12
9
12
7
8
10
8
8
12
10
9
11
11
0
8
10
8
9
10
0
9
9
8
9
8
5
9
11
11
8
9
9
8
10
8
11
9
6
7
11
8
0
9
0
10
9
0
12
10
9
0
0
9
12
11
10
8...

result:

wrong answer 1st lines differ - expected: '11', found: '13'

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: 454ms
memory: 39144kb

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:

0
0
0
12
12
0
10
12
12
12
0
12
0
11
12
13
9
0
0
12
12
12
12
13
12
12
12
0
11
0
12
12
0
11
12
13
11
13
0
12
12
12
10
0
0
12
12
12
11
12
12
12
13
12
12
12
12
12
12
0
12
13
12
0
12
0
0
12
12
11
12
11
12
12
12
12
12
11
12
12
13
12
12
10
12
12
12
12
11
12
12
13
12
11
12
0
12
11
12
11
13
12
0
12
13
12
0
1...

result:

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

Subtask #7:

score: 0
Skipped

Dependency #1:

0%