QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#463358#6892. WO MEI KHuangHanShengTL 0ms0kbC++2014.6kb2024-07-04 19:01:302024-07-04 19:01:32

详细

Test #1:

score: 0
Time Limit Exceeded

input:

106
200000
2 1 70358
3 1 94059
4 3 194779
5 3 147526
6 1 128796
7 4 141976
8 4 69430
9 3 132781
10 6 82526
11 5 93708
12 8 10824
13 8 159324
14 10 95645
15 9 83437
16 10 61897
17 13 119054
18 14 116823
19 18 149469
20 10 72020
21 2 95763
22 1 194299
23 1 84812
24 1 20933
25 7 71421
26 9 111015
27 16...

output:


result: