QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#786412#7040. Connected SubgraphsAdorableWA 1095ms21176kbC++2310.2kb2024-11-26 21:25:222024-11-26 21:25:27

詳細信息

Test #1:

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

input:

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

output:

1
15

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 1095ms
memory: 21176kb

input:

10
3296 174079
484 736
80 3275
914 1609
611 2069
1111 3027
749 1443
568 1878
1180 2788
1072 2156
171 797
106 1226
1749 2331
758 3080
772 2017
1381 2393
1945 2943
269 1431
1640 1805
1924 2161
1720 2123
1551 2940
286 1226
460 1462
1807 1823
40 638
18 707
589 849
1857 1987
914 2360
2446 3129
24 910
113...

output:

192810800
284251171
771081766

result:

wrong answer 4th lines differ - expected: '673113026', found: ''