QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#442011#8578. 과일 게임HuangHanSheng0 2130ms648172kbC++234.2kb2024-06-15 02:35:512024-06-15 02:35:52

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 5
Accepted
time: 87ms
memory: 544500kb

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: 0
Accepted
time: 71ms
memory: 544496kb

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: 0
Accepted
time: 75ms
memory: 544528kb

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
Accepted
time: 87ms
memory: 544752kb

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

result:

ok 10 lines

Test #5:

score: 0
Accepted
time: 107ms
memory: 544492kb

input:

10
1 1 1 1 1 1 1 1 1 1
10
2 2 1
2 7 1
2 5 1
2 6 1
2 8 1
1 4 6
2 6 1
2 1 1
1 1 4
2 5 1

output:

2
3

result:

ok 2 lines

Test #6:

score: -5
Wrong Answer
time: 72ms
memory: 544504kb

input:

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

output:

1
3
4

result:

wrong answer 3rd 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: 166ms
memory: 548128kb

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
12
13
11
11
11
11
12
13
10
9
10
9
9
10
13
11
10
11
9
12
8
9
10
11
13
11
12
12
8
9
11
10
12
10
13
12
13
11
8
5
12
10
11
12
8
12
13
8
11
11
12
12
11
9
12
12
12
6
6
12
12
12
12
9
10
8
9
12
11
11
12
12
10
9
11
11
12
12
9
10
11
8
10
10
10
7
9
12
12
8
10
12
12
8
12
10
6
7
9
10
11
11
7
12
11
10
12
11
12...

result:

wrong answer 3rd lines differ - expected: '12', 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: 2130ms
memory: 648172kb

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:

15
12
11
15
13
15
12
14
14
15
13
15
12
15
15
16
16
12
16
15
15
15
14
16
13
12
15
15
13
10
15
15
13
14
16
16
12
16
15
13
14
15
13
14
14
14
13
13
14
15
14
14
16
16
15
14
16
15
15
15
16
14
14
14
14
12
13
14
15
13
13
14
14
14
13
16
14
16
14
15
14
15
16
13
15
15
15
15
12
15
15
16
14
13
15
13
16
15
15
15
...

result:

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

Subtask #7:

score: 0
Skipped

Dependency #1:

0%