摘要: 洛谷P1601 不压位: 压nn位: long long范围的压位,最多可压18位(nn≤18) 阅读全文
posted @ 2019-08-02 15:13 Klaier 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 洛谷P3371 spfa: 1 //spfa:求s到各点的最短路,可含负权边 2 #include <cstdio> 3 4 using namespace std; 5 6 const int max_n=10010,max_m=500050,inf=2147483647; 7 8 struct 阅读全文
posted @ 2019-08-02 13:50 Klaier 阅读(211) 评论(0) 推荐(0) 编辑