Wrong Answer
/in/foo.c: In function 'main': /in/foo.c:8:2: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized] printf("%d",sum); ^~~~~~~~~~~~~~~~
代码
#include<stdio.h>
int main()
{
int x,y,sum;
scanf("%d,%d",&x,&y);
if(x>=0&&y<=32767)
sum=x+y;
printf("%d",sum);
return 0;
}