QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#795477#9806. Growing Treeucup-team3944#WA 17ms7756kbC++202.7kb2024-11-30 20:49:362024-11-30 20:49:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3660kb

input:

3
2
1 2 4 3 2 1
2
1 2 3 3 2 1
2
1 2 3 3 1 1

output:

1
2
-1

result:

ok 3 number(s): "1 2 -1"

Test #2:

score: -100
Wrong Answer
time: 17ms
memory: 7756kb

input:

94
5
44 65 38 61 64 94 71 53 65 10 24 36 98 74 11 4 5 46 72 34 9 24 37 32 76 29 48 88 17 14 36 4 22 6 71 53 24 61 89 79 39 57 99 61 27 85 99 46 81 75 90 25 16 13 1 87 55 81 56 78 67 2
3
83 3 74 14 45 17 22 41 62 74 25 1 56 22
7
21 73 83 99 3 91 16 53 8 10 49 29 54 81 45 10 12 68 32 9 30 11 99 85 73 ...

output:

4
0
-1
4
0
1
-1
0
0
4
0
0
0
2
2
1
0
4
0
1
0
-1
0
-1
0
0
-1
-1
-1
-1
-1
5
-1
0
6
2
-1
-1
-1
-1
1
2
6
0
0
2
-1
2
-1
0
-1
3
-1
0
0
0
-1
1
-1
-1
0
0
1
2
-1
0
1
4
0
-1
0
0
2
2
-1
0
-1
0
0
0
-1
4
-1
1
-1
0
0
0
0
1
0
-1
4
3

result:

wrong answer 1st numbers differ - expected: '2', found: '4'