QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#269548#7841. Boat Commuterucup-team1005#RE 8ms3508kbC++11848b2023-11-29 18:49:472023-11-29 18:49:48

詳細信息

Test #1:

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

input:

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

output:

2 100 100

result:

ok single line: '2 100 100'

Test #2:

score: 0
Accepted
time: 8ms
memory: 3508kb

input:

50 10 100000
16 6
7 1
18 1
39 3
30 3
27 5
27 1
25 8
8 4
30 5
48 10
20 1
25 9
40 1
1 8
15 6
24 5
49 9
46 1
42 8
35 4
47 4
28 6
16 7
46 9
30 9
32 8
8 7
40 5
29 10
48 6
42 2
25 8
16 5
41 6
23 7
40 10
33 9
50 8
13 9
41 3
27 5
38 6
7 3
46 10
26 4
33 5
31 9
27 7
50 10
37 5
9 6
30 2
7 8
27 4
20 9
25 4
47 9...

output:

94844 94854 93814 91551 95910 91226 92395 94770 92170 93178

result:

ok single line: '94844 94854 93814 91551 95910 91226 92395 94770 92170 93178'

Test #3:

score: -100
Runtime Error

input:

50 100000 100000
15 96740
22 10089
40 13683
13 78680
17 23471
40 32221
37 81743
49 39664
10 89736
3 92228
43 44871
22 91538
42 89149
42 31355
37 67861
44 49843
31 16350
35 54987
28 4360
6 20100
21 36548
25 3957
21 55315
47 2666
11 94150
27 79681
35 47527
31 84052
45 98448
48 26415
21 24159
39 84014
...

output:


result: