摘要: 显然是$dp$,是用$STL$当中的\(map\)可以做到30分 #include <bits/stdc++.h>//万能头文件 using namespace std; int l,n,s,t; map<int,bool>m;//记有没有石头 map<int,int>dp;//最少踩到石头的个数 阅读全文
posted @ 2020-01-12 14:56 zhaohaikun 阅读(399) 评论(2) 推荐(0) 编辑