poj 1777 梅森素数
#include#include#include#includeusing namespace std;int d[1000],t,n,dp[10000],cnt[8]={2,3,5,7,13,17,19,31};int ms[8]={3,7,31,127,8191,131071,524287,2147483647};int judge(int x){ int res=0; fo