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

Re:求高手解释下为什么这么做啊 ????

Posted by hjf at 2009-11-24 19:22:45 on Problem 2495
In Reply To:求高手解释下为什么这么做啊 ???? Posted by:huxinjie at 2009-10-13 21:49:05
> #include <iostream>
> using namespace std;
> int main ()
> {
> 	int n,a,b,c,d,i;
> 	scanf("%d",&n);
> 	for(i=1;i<=n;i++)
> 	{
> 		scanf("%d%d%d%d",&a,&b,&c,&d);
> 		printf("Scenario #%d:\n",i);
> 		printf("%d\n\n",(a+b+c+d)%2);
> 	}
> 	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