QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#748530#892. Minimal Cutdongyc666RE 2ms16952kbC++144.4kb2024-11-14 20:38:422024-11-14 20:38:43

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 16952kb

input:

4 2
1 3 2
2 4 2

output:

21067776

result:

ok "21067776"

Test #2:

score: -100
Runtime Error

input:

79 190
24 30 8372
16 17 3623
47 43 577
47 45 10000
50 49 9644
35 25 882
23 24 1994
54 55 7778
32 33 230
52 53 6078
5 10 8214
25 26 6829
21 22 340
67 68 6066
10 1 8104
9 10 3085
44 43 5659
33 34 5505
7 10 337
12 13 3804
5 1 4735
25 28 6650
61 60 9290
14 6 9857
38 35 6228
48 49 3076
60 59 4972
54 52 4...

output:

l:1 r:79 x:78 y:79 val:13214
l:1 r:78 x:77 y:78 val:5836
l:1 r:77 x:47 y:77 val:194
l:1 r:47 x:14 y:47 val:485
l:1 r:14 x:13 y:14 val:22480
l:1 r:13 x:0 y:0 val:10892
l:1 r:0 x:0 y:0 val:1000000000000000000
l:1 r:0 x:0 y:0 val:1000000000000000000
l:1 r:0 x:0 y:0 val:1000000000000000000
l:1 r:0 x:0 y...

result: