摘要: 题目 A:A - If at first you don't succeed... 分析: 按照题意模拟 代码: #include <bits/stdc++.h> using namespace std; int main(){ int a,b,c,n; scanf("%d%d%d%d",&a,&b 阅读全文
posted @ 2018-07-04 23:42 noble_(noblex) 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 题目 A:A - Hit the Lottery 分析: 大水题 模拟 代码: #include <bits/stdc++.h> using namespace std; int main(){ int n; int x=0;scanf("%d",&n); while(n>=100){ x++; n 阅读全文
posted @ 2018-07-04 15:24 noble_(noblex) 阅读(146) 评论(0) 推荐(0) 编辑
/* */