QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#702278#9530. A Game On Treeucup-team4269#WA 4ms15988kbC++203.6kb2024-11-02 15:37:332024-11-02 15:37:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 4ms
memory: 15976kb

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:

948445317
421893450
550143557
918384806
192263903
487662742
776412276
869581749
143686690
109375541
211048577
887328316
890334966
601329935
579228208
591059251
121228483
210514117
908525604
192562570
433351719
56023919
341220872
183319566
698771049
968544523
876483192
599710576
310564911
15281767
79...

result:

wrong answer 2nd lines differ - expected: '468414020', found: '421893450'