摘要: #include using namespace std; int main(){ int n,u,d,sum; while(cin>>n>>u>>d&&n){ int k = (n-u)/(u-d); if( (n-u)%... 阅读全文
posted @ 2016-04-07 16:23 弃用博客 阅读(144) 评论(0) 推荐(0)
摘要: #include using namespace std; int main(){ int n,sum,m,j,k; cin>>m; while(m--){ cin>>n; sum = 0; for... 阅读全文
posted @ 2016-04-07 15:37 弃用博客 阅读(121) 评论(0) 推荐(0)