| ||||||||||
| 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 | |||||||||
各位大虾,救救小弟,为什么是compile error?????#include "Stdio.h"
#include "Conio.h"
int main(void)
{
unsigned int i,k,x,y;
scanf("%d",&k);
for(i=1;i<=k;i++)
{
scanf("%d%d",&x,&y);
if (x==y)
{
if (x%2==1)
printf("%d\n",x+y-1);
else printf("%d\n",x+y);
}
else if (x==y+2)
{
if (x%2==1)
printf("%d\n",x+y-1);
else printf("%d\n",x+y);
}
else printf("No Number");
}
return 0;
}
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator