QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#141829#6994. Data StructuresdoiAC ✓31ms6908kbC++232.6kb2023-08-18 02:43:262023-08-18 02:43:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

Case #1: 
2 
1 
3 4 
Case #2: 
3 
1 2 
4 
Case #3: 
5 9 
2 
1 
3 4 
7 
6 
8 
11 13 15 
10 
12 
14 
16 17 

result:

ok 31 tokens

Test #2:

score: 0
Accepted
time: 31ms
memory: 5456kb

input:

50
3
2 3 1
176
7 25 23 51 117 83 123 171 101 165 144 58 30 159 69 112 15 173 74 98 172 85 160 6 78 35 64 126 92 55 115 131 79 121 91 39 68 133 158 169 127 22 162 86 13 97 149 8 62 122 145 33 24 48 137 118 40 113 84 89 154 2 63 10 95 53 170 67 90 151 12 5 37 93 120 168 128 73 41 14 150 108 76 65 148 ...

output:

Case #1: 
1 2 3 
Case #2: 
83 
51 
23 35 
5 10 
2 
1 
3 4 
7 
6 
8 9 
13 15 19 
11 12 
14 
16 17 18 
20 21 22 
27 
25 
24 
26 
30 32 
28 29 
31 
33 34 
45 
38 40 42 
36 37 
39 
41 
43 44 
48 
46 47 
49 50 
64 
58 
53 55 
52 
54 
56 57 
62 
59 60 61 
63 
69 78 
67 
65 66 
68 
72 74 
70 71 
73 
75 76 ...

result:

ok 125018 tokens