QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#681377#9530. A Game On Treeucup-team881#WA 0ms3772kbC++177.6kb2024-10-27 06:22:562024-10-27 06:22:56

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

443664158
918384806

result:

ok 2 lines

Test #2:

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

input:

1000
7
3 6
4 3
5 3
2 6
1 4
7 1
12
5 7
10 7
2 10
11 2
1 7
8 1
4 2
9 11
6 9
12 11
3 5
6
2 5
1 2
4 5
6 4
3 6
5
2 5
1 5
4 5
3 2
8
1 8
2 8
4 2
6 1
5 6
7 6
3 8
8
3 8
7 3
4 8
6 4
2 7
5 2
1 4
4
3 1
4 3
2 1
6
5 1
6 1
2 5
3 5
4 2
12
8 11
5 11
12 8
3 12
6 12
2 3
4 6
10 11
1 5
9 5
7 5
9
6 1
7 6
4 7
8 7
5 4
9 6
...

output:

74698559
287831708
909511524
918384806
882376707
143879610
776412276
354931327
318310702
440583158
576147206
545337195
13859924
438622521
127676688
577256366
735850006
584006902
606341017
807222287
413185166
631542347
58539022
372801133
39929776
52469705
978525948
770328871
310564911
202113673
12786...

result:

wrong answer 1st lines differ - expected: '948445317', found: '74698559'