QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#777283#9792. Ogre Sortucup-team3742#WA 21ms10904kbPython31.4kb2024-11-24 00:18:252024-11-24 00:18:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 16ms
memory: 10624kb

input:

4
1 2 4 3

output:

3 3
4 1
3 1
3 1

result:

ok Participant's output is correct

Test #2:

score: 0
Accepted
time: 16ms
memory: 10696kb

input:

5
2 4 1 3 5

output:

3 3
4 1
2 1
4 1

result:

ok Participant's output is correct

Test #3:

score: 0
Accepted
time: 7ms
memory: 10516kb

input:

3
1 2 3

output:

0 0

result:

ok Participant's output is correct

Test #4:

score: 0
Accepted
time: 16ms
memory: 10632kb

input:

4
1 2 4 3

output:

3 3
4 1
3 1
3 1

result:

ok Participant's output is correct

Test #5:

score: 0
Accepted
time: 16ms
memory: 10572kb

input:

5
2 4 1 3 5

output:

3 3
4 1
2 1
4 1

result:

ok Participant's output is correct

Test #6:

score: 0
Accepted
time: 16ms
memory: 10620kb

input:

3
1 2 3

output:

0 0

result:

ok Participant's output is correct

Test #7:

score: 0
Accepted
time: 9ms
memory: 10684kb

input:

1
1

output:

0 0

result:

ok Participant's output is correct

Test #8:

score: 0
Accepted
time: 11ms
memory: 10600kb

input:

5
5 3 4 1 2

output:

4 4
3 1
3 1
5 1
5 1

result:

ok Participant's output is correct

Test #9:

score: 0
Accepted
time: 14ms
memory: 10612kb

input:

5
4 1 2 3 5

output:

3 3
4 1
4 1
4 1

result:

ok Participant's output is correct

Test #10:

score: 0
Accepted
time: 10ms
memory: 10604kb

input:

5
1 3 4 2 5

output:

2 2
4 1
2 1

result:

ok Participant's output is correct

Test #11:

score: 0
Accepted
time: 14ms
memory: 10612kb

input:

5
1 4 5 2 3

output:

3 3
5 1
5 1
3 1

result:

ok Participant's output is correct

Test #12:

score: 0
Accepted
time: 18ms
memory: 10524kb

input:

5
1 5 4 3 2

output:

4 4
3 1
4 1
5 1
4 1

result:

ok Participant's output is correct

Test #13:

score: 0
Accepted
time: 17ms
memory: 10604kb

input:

5
3 2 1 5 4

output:

4 4
5 1
2 1
3 1
4 1

result:

ok Participant's output is correct

Test #14:

score: 0
Accepted
time: 14ms
memory: 10644kb

input:

5
2 5 3 1 4

output:

4 4
5 1
4 1
3 1
5 1

result:

ok Participant's output is correct

Test #15:

score: 0
Accepted
time: 17ms
memory: 10636kb

input:

5
2 1 4 5 3

output:

3 3
5 1
2 1
3 1

result:

ok Participant's output is correct

Test #16:

score: 0
Accepted
time: 14ms
memory: 10712kb

input:

5
5 3 2 1 4

output:

4 4
5 1
3 1
4 1
5 1

result:

ok Participant's output is correct

Test #17:

score: 0
Accepted
time: 17ms
memory: 10620kb

input:

5
5 3 1 4 2

output:

4 4
4 1
3 1
5 1
5 1

result:

ok Participant's output is correct

Test #18:

score: 0
Accepted
time: 14ms
memory: 10620kb

input:

5
3 1 5 4 2

output:

4 4
4 1
2 1
5 1
4 1

result:

ok Participant's output is correct

Test #19:

score: 0
Accepted
time: 12ms
memory: 10640kb

input:

5
1 4 5 3 2

output:

3 3
4 1
5 1
3 1

result:

ok Participant's output is correct

Test #20:

score: 0
Accepted
time: 10ms
memory: 10536kb

input:

5
1 4 3 2 5

output:

3 3
3 1
4 1
3 1

result:

ok Participant's output is correct

Test #21:

score: 0
Accepted
time: 9ms
memory: 10520kb

input:

5
1 4 3 5 2

output:

3 3
3 1
5 1
3 1

result:

ok Participant's output is correct

Test #22:

score: 0
Accepted
time: 10ms
memory: 10736kb

input:

5
3 5 4 2 1

output:

4 4
3 1
2 1
4 1
5 1

result:

ok Participant's output is correct

Test #23:

score: 0
Accepted
time: 13ms
memory: 10524kb

input:

5
1 5 4 2 3

output:

4 4
3 1
5 1
5 1
4 1

result:

ok Participant's output is correct

Test #24:

score: 0
Accepted
time: 12ms
memory: 10524kb

input:

5
2 4 5 3 1

output:

3 3
4 1
2 1
5 1

result:

ok Participant's output is correct

Test #25:

score: 0
Accepted
time: 17ms
memory: 10580kb

input:

5
1 3 2 4 5

output:

2 2
3 1
2 1

result:

ok Participant's output is correct

Test #26:

score: 0
Accepted
time: 7ms
memory: 10576kb

input:

5
1 5 3 2 4

output:

4 4
5 1
4 1
5 1
4 1

result:

ok Participant's output is correct

Test #27:

score: 0
Accepted
time: 11ms
memory: 10624kb

input:

5
2 1 3 5 4

output:

4 4
5 1
4 1
3 1
4 1

result:

ok Participant's output is correct

Test #28:

score: 0
Accepted
time: 8ms
memory: 10740kb

input:

5
1 3 5 2 4

output:

4 4
5 1
3 1
5 1
4 1

result:

ok Participant's output is correct

Test #29:

score: 0
Accepted
time: 17ms
memory: 10600kb

input:

5
5 1 4 2 3

output:

4 4
3 1
5 1
5 1
5 1

result:

ok Participant's output is correct

Test #30:

score: 0
Accepted
time: 17ms
memory: 10640kb

input:

5
2 5 3 4 1

output:

4 4
4 1
4 1
3 1
5 1

result:

ok Participant's output is correct

Test #31:

score: 0
Accepted
time: 13ms
memory: 10736kb

input:

5
3 4 1 2 5

output:

2 2
4 1
4 1

result:

ok Participant's output is correct

Test #32:

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

input:

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

output:

10 10
17 1
17 1
13 1
16 1
9 1
12 1
14 1
10 1
10 1
11 1

result:

ok Participant's output is correct

Test #33:

score: 0
Accepted
time: 13ms
memory: 10608kb

input:

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

output:

5 5
6 1
2 1
3 1
11 1
5 1

result:

ok Participant's output is correct

Test #34:

score: 0
Accepted
time: 17ms
memory: 10624kb

input:

200
4 61 13 19 62 63 10 3 2 23 64 65 66 49 15 34 67 68 69 70 71 24 72 30 7 73 74 75 20 76 77 78 37 79 47 80 81 82 33 31 57 51 83 60 28 84 36 85 54 53 86 87 42 41 40 9 50 59 88 89 90 56 91 45 92 58 93 94 95 96 16 97 98 29 99 100 44 101 8 27 102 103 32 104 105 25 21 17 52 106 11 107 6 22 38 108 109 14...

output:

60 60
44 1
58 1
66 1
44 1
63 1
106 1
53 1
54 1
90 1
50 1
62 1
25 1
112 1
47 1
107 1
69 1
81 1
106 1
64 1
65 1
66 1
108 1
100 1
55 1
65 1
112 1
41 1
62 1
91 1
64 1
52 1
84 1
67 1
89 1
113 1
95 1
56 1
47 1
102 1
97 1
64 1
45 1
130 1
99 1
89 1
57 1
106 1
50 1
126 1
103 1
55 1
83 1
98 1
69 1
105 1
112 1...

result:

ok Participant's output is correct

Test #35:

score: 0
Accepted
time: 3ms
memory: 10704kb

input:

200
24 25 11 5 4 12 9 26 27 7 28 29 3 30 14 17 15 20 18 31 6 32 33 22 8 34 35 21 16 19 36 37 2 10 38 23 39 13 40 41 1 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ...

output:

23 23
36 1
25 1
29 1
21 1
31 1
23 1
22 1
31 1
24 1
24 1
38 1
17 1
15 1
36 1
19 1
31 1
23 1
29 1
21 1
22 1
27 1
36 1
41 1

result:

ok Participant's output is correct

Test #36:

score: -100
Wrong Answer
time: 21ms
memory: 10904kb

input:

2000
1741 1583 1742 244 90 1743 1744 1745 1428 1746 1747 50 1537 1748 749 1749 1067 622 1750 1751 1752 1753 1754 1755 1547 1756 1757 1663 1758 403 1759 1760 1761 1762 1677 1763 1764 1030 1280 1765 1717 939 1766 711 1767 1768 1769 1770 1055 1771 1772 1061 1773 1214 1716 1774 1775 1144 1776 1777 1778 ...

output:

1740 1740
816 1

result:

wrong output format Unexpected end of file - int32 expected