QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#564650#8941. Even or Odd Spanning Treeucup-team4796#WA 78ms5876kbC++201.5kb2024-09-15 12:07:102024-09-15 12:07:11

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3640kb

input:

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

output:

-1 5
-1 -1
4 3

result:

ok 6 numbers

Test #2:

score: -100
Wrong Answer
time: 78ms
memory: 5876kb

input:

10000
16 50
1 2 649251632
2 3 605963017
3 4 897721528
4 5 82446151
5 6 917109168
6 7 79647183
7 8 278566178
7 9 573504723
3 10 679859251
8 11 563113083
1 12 843328546
10 13 594049160
11 14 997882839
7 15 569431750
2 16 244494799
16 7 960172373
13 4 317888322
13 3 446883598
9 3 678142319
5 8 43208692...

output:

3319906018 3330214053
1219585510 1234262841
783287382 863057577
1491223842 1500279789
2003216930 2007495395
3233662110 3265051851
875693296 884159309
3257475546 3225892257
1090308730 1083195839
921655406 943403817
3636518378 3626639325
4059457382 4015619691
2178676476 2245037141
2390092438 241113291...

result:

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