摘要: 题目链接 https://cn.vjudge.net/problem/UVA-294【题意】 输入两个整数L,R(1using namespace std;typedef long long ll;ll le,ri;ll solve(ll x){ ll... 阅读全文
posted @ 2018-08-25 23:03 不想吃WA的咸鱼 阅读(192) 评论(0) 推荐(0)
摘要: 题目链接 https://cn.vjudge.net/problem/UVA-10622【题意】 给你一个非0整数 n" role="presentation">nn,要求你把 n" role="presentation">nn 写成 n=ap" role=... 阅读全文
posted @ 2018-08-25 21:27 不想吃WA的咸鱼 阅读(193) 评论(0) 推荐(0)
摘要: 题目链接 https://cn.vjudge.net/problem/UVA-10539【题意】 输入两个正整数L,R(1using namespace std;typedef long long ll;const int maxn=1e6+50;const... 阅读全文
posted @ 2018-08-25 20:24 不想吃WA的咸鱼 阅读(210) 评论(0) 推荐(0)
摘要: 题目链接 https://cn.vjudge.net/problem/UVA-1210【题意】 输入整数n(2using namespace std;const int maxn=10005;const int maxa=6000000;int n,num;... 阅读全文
posted @ 2018-08-25 10:35 不想吃WA的咸鱼 阅读(190) 评论(0) 推荐(0)