QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#448947#4686. ToursReTFWA 6ms31748kbC++141.0kb2024-06-20 14:05:552024-06-20 14:05:57

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 29128kb

input:

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

output:

1 

result:

ok 1 number(s): "1"

Test #2:

score: 0
Accepted
time: 0ms
memory: 29308kb

input:

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

output:

1 3 

result:

ok 2 number(s): "1 3"

Test #3:

score: 0
Accepted
time: 0ms
memory: 31700kb

input:

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

output:

1 

result:

ok 1 number(s): "1"

Test #4:

score: 0
Accepted
time: 0ms
memory: 31748kb

input:

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

output:

1 3 

result:

ok 2 number(s): "1 3"

Test #5:

score: 0
Accepted
time: 6ms
memory: 30628kb

input:

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

output:

1 2 

result:

ok 2 number(s): "1 2"

Test #6:

score: 0
Accepted
time: 2ms
memory: 31680kb

input:

6 7
1 2
2 3
3 4
4 5
5 6
1 6
3 6

output:

1 

result:

ok 1 number(s): "1"

Test #7:

score: 0
Accepted
time: 4ms
memory: 29388kb

input:

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

output:

1 3 

result:

ok 2 number(s): "1 3"

Test #8:

score: 0
Accepted
time: 4ms
memory: 29324kb

input:

33 35
10 13
6 13
9 19
5 15
29 31
2 3
4 16
3 20
7 13
31 32
12 24
2 22
17 23
26 27
17 20
16 25
3 12
28 29
1 8
12 18
27 28
14 21
10 19
25 26
5 14
15 16
9 18
4 23
25 30
1 10
8 18
7 24
29 30
6 21
15 22

output:

1 

result:

ok 1 number(s): "1"

Test #9:

score: 0
Accepted
time: 0ms
memory: 30720kb

input:

2000 2000
1036 1254
1453 1496
342 1815
186 346
840 1555
138 1503
416 1376
660 1253
1279 1799
209 1554
624 1278
792 884
333 1703
393 894
551 1192
1705 1805
302 930
115 1384
151 1156
71 209
82 1637
858 1854
19 1798
348 703
1692 1744
261 1029
143 1631
336 1227
1493 1564
493 1966
553 1587
953 1128
214 1...

output:

1 2 4 5 8 10 16 20 25 40 50 80 100 125 200 250 400 500 1000 2000 

result:

ok 20 numbers

Test #10:

score: -100
Wrong Answer
time: 0ms
memory: 29268kb

input:

1820 1872
677 1254
114 163
1751 1815
532 1640
290 380
253 1429
174 1163
1005 1431
521 1324
37 1553
369 1764
658 1170
1456 1574
224 663
752 1460
128 441
831 1013
730 1583
500 983
374 1274
1394 1478
422 1223
1310 1632
1133 1508
914 1258
151 907
221 233
549 1374
342 895
1591 1699
1041 1273
231 747
1419...

output:

1 

result:

wrong answer Answer contains longer sequence [length = 6], but output contains 1 elements