摘要:
约瑟夫题目变形,思路和前面白书那个例题差不多~~#include#include#include#include#define maxn 500009using namespace std;int dp1[maxn];int dp2[maxn];int dp3[maxn];int main(){ ... 阅读全文
posted @ 2014-07-16 14:16
Yours1103
阅读(123)
评论(0)
推荐(0)
摘要:
比较不错的一个题,关键是理解状态转移#include#include#include#include#define maxn 55using namespace std;int m,ans;int num[maxn],vis[maxn];bool cnt[1000009];int scale[10]... 阅读全文
posted @ 2014-07-16 11:53
Yours1103
阅读(206)
评论(0)
推荐(0)

浙公网安备 33010602011771号