摘要: hdu6800 #include <iostream> #include <string.h> #include <queue> #include <stack> #include <map> #include <stdio.h> #include <algorithm> #include <mat 阅读全文
posted @ 2020-08-02 17:45 Faker_fan 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 航电多校第三场 这道题的思维很是巧妙啊,虽然赛时大概有了想法,但是当初没学会树套树,还是过不了的啊,感觉题解有点太难懂了,再一篇博客,分享一下自己标注过的std; 首先是这题一共只有两只手,而且按顺序跑n个点,也就是说,假如dp[i][j]代表着你左手在i,右手在j的时候的最优解,其实dp[i][j 阅读全文
posted @ 2020-08-02 16:04 Faker_fan 阅读(153) 评论(0) 推荐(0) 编辑