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 90201449 at 2003-12-30 20:21:00 on Problem 1000
#include<stdio.h>
void main()
{ 
int a,b,c;
      
  scanf("%d,%d",&a,&b);
  if(a>10||a<0||b>10||b<0)
	  printf("error\n");
  else
  {c=a+b;
  printf("%d\n",c);
  }
}

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