QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#97300#2575. Restricted ArraysWhiteqwq#WA 679ms97060kbC++11849b2023-04-16 17:15:482023-04-16 17:15:48

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 8ms
memory: 50392kb

input:

3 3
1 2
2 3
3 1

output:

2
1 3 

result:

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

Test #2:

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

input:

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

output:

2
1 3 

result:

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

Test #3:

score: 0
Accepted
time: 24ms
memory: 50416kb

input:

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

output:

1
1 

result:

ok 2 number(s): "1 1"

Test #4:

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

input:

5 1
1 2

output:

5
1 2 3 4 5 

result:

ok 6 numbers

Test #5:

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

input:

30 100
3 20
30 24
24 26
20 2
24 27
26 19
27 28
24 20
12 15
28 19
13 24
6 23
5 19
12 3
22 24
30 16
22 25
13 19
27 20
14 30
3 23
29 13
25 3
9 7
6 8
20 24
11 27
19 1
16 14
21 21
20 15
8 11
29 6
27 28
3 19
10 24
5 2
6 1
18 25
19 4
10 23
5 23
18 3
26 19
10 13
23 14
28 11
19 28
6 15
7 23
28 25
8 30
1 12
2...

output:

1
1 

result:

ok 2 number(s): "1 1"

Test #6:

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

input:

300 1000
151 103
150 103
170 195
168 79
210 299
138 44
152 217
263 79
241 261
257 75
197 296
292 158
115 250
266 12
123 8
238 38
108 183
52 256
298 47
203 248
137 33
240 213
256 201
132 228
291 248
138 14
285 116
126 136
267 11
35 238
291 264
138 13
94 202
216 177
163 211
136 95
25 102
119 68
181 18...

output:

1
1 

result:

ok 2 number(s): "1 1"

Test #7:

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

input:

3000 10000
973 1816
41 321
1446 869
2878 1009
1845 2170
937 973
537 241
424 2754
2148 551
2667 1398
367 1103
2306 1095
723 2854
1681 756
2008 792
1923 1714
2826 1250
148 256
887 1966
2758 2323
1482 1554
981 2331
987 1065
2075 1884
725 200
1565 1622
1231 746
1723 1230
1236 1549
1860 2075
1507 1027
16...

output:

1
1 

result:

ok 2 number(s): "1 1"

Test #8:

score: 0
Accepted
time: 36ms
memory: 55256kb

input:

30000 100000
9507 4148
28742 7519
22004 7377
7494 3499
10238 2345
12942 25667
9310 24450
24360 18277
18839 1669
15280 15095
12927 12433
27142 5951
13026 311
9600 11754
16894 7756
14261 838
24374 14218
26787 12807
15616 16670
17561 29094
16583 24444
18526 20317
18553 20743
26072 2124
2185 6361
14086 ...

output:

1
1 

result:

ok 2 number(s): "1 1"

Test #9:

score: 0
Accepted
time: 679ms
memory: 97060kb

input:

300000 1000000
249774 172530
147057 50829
236567 253049
47854 212292
133460 198836
125633 192588
281891 33774
140778 48640
100742 41970
189198 133279
269315 7059
133013 123981
36613 111461
60970 7696
63896 5697
21311 190163
188496 10885
162822 215590
218083 186866
285081 286524
123242 35980
198034 4...

output:

1
1 

result:

ok 2 number(s): "1 1"

Test #10:

score: -100
Wrong Answer
time: 13ms
memory: 50348kb

input:

30 100
22 19
2 28
14 16
30 11
2 28
29 12
22 19
5 27
8 13
1 6
24 22
20 4
7 30
10 11
3 24
27 20
17 15
14 16
2 28
11 9
22 19
5 27
12 8
7 30
22 19
19 23
26 25
25 1
12 8
25 21
24 22
13 26
10 11
11 9
21 7
11 9
30 11
27 20
10 11
27 20
15 21
4 29
27 20
15 1
14 16
30 11
25 1
23 2
17 25
1 6
28 5
12 8
19 23
28...

output:

1
1 

result:

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