QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#815077#9875. Don't Detect Cycleucup-team356#WA 276ms4200kbC++201.9kb2024-12-15 03:06:582024-12-15 03:07:00

详细

Test #1:

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

input:

1
4 4
1 2
2 3
3 4
4 2

output:

1 4 2 3

result:

ok Correct

Test #2:

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

input:

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

output:

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

result:

ok Correct

Test #3:

score: -100
Wrong Answer
time: 276ms
memory: 4200kb

input:

50
3214 2907
970 1929
2860 3033
1322 2296
931 1192
861 2505
831 2469
231 2549
1 2306
1765 1842
999 3171
177 2007
1798 1894
827 3180
673 1738
1163 1573
2213 2781
2766 3200
1663 2197
1797 2281
315 2637
442 2689
558 2874
1520 2591
651 1923
1133 2920
1747 2412
1104 1528
313 2487
632 3124
660 2182
1581 2...

output:

1852 765 575 358 759 2677 1367 2593 1273 1324 579 149 1602 2409 723 2130 349 1058 312 920 418 2226 1580 166 2352 1565 1688 707 2882 2883 2814 2361 633 2722 1184 194 2204 1841 2050 1555 278 1677 2161 521 1232 1344 610 1374 1097 2322 42 2305 2198 919 486 519 1671 2840 2162 1819 629 360 1279 2822 744 1...

result:

wrong answer Wrong - you can add all edges, but found: -1