QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#656408#7009. Rikka with Intersections of PathsHuangHanShengWA 802ms65652kbC++201.9kb2024-10-19 12:49:432024-10-19 12:49:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 21400kb

input:

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

output:

10

result:

ok single line: '10'

Test #2:

score: -100
Wrong Answer
time: 802ms
memory: 65652kb

input:

108
2000 2000 52
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
...

output:

887021006
297715358
622818601
293051873
365865674
313217397
196288096
508082318
507036870
503269019
73237679
578739685
357166452
577751012
824110137
84824710
96242243
447464961
938278596
383237496
590508734
381543121
116008967
588946916
415395778
62153155
838216880
665188536
624314472
83784379
38704...

result:

wrong answer 2nd lines differ - expected: '410694359', found: '297715358'