Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
不知道本人英语太差还是怎么的,就是理解不了题目的意思,根据别人的提示才作出来的!莫非此题要考验我们的英语水准!汗颜!#include<iostream> using namespace std; int main() { int m; scanf("%d",&m); while(m>0) { if(m%2==0) { cout<<"No Solution!"<<endl; } else { cout<<m-1<<endl; } scanf("%d",&m); } return 0; } Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator