2018年2月8日

uva 1464(数学)

摘要: #include #include #include #include #include using namespace std; typedef long long ll; map mmp; int t,n; ll x; ll gcd(ll a,ll b) { return b==0?a:gcd(b,a%b); } int main() { scanf("%d",&t... 阅读全文

posted @ 2018-02-08 20:47 发牌员 阅读(287) 评论(0) 推荐(0)

uva1393(数学)

摘要: #include #include #include #include using namespace std; typedef long long ll; const int maxn=300+10; ll dp[maxn][maxn]; ll sum[maxn][maxn]; int m,n; int gcd(int a,int b) { return b==0?a:gcd(... 阅读全文

posted @ 2018-02-08 20:46 发牌员 阅读(102) 评论(0) 推荐(0)

导航