Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

不知道本人英语太差还是怎么的,就是理解不了题目的意思,根据别人的提示才作出来的!莫非此题要考验我们的英语水准!汗颜!

Posted by 597503076 at 2009-03-13 20:46:42 on Problem 3210
#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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator