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 a,b,sum;
scanf("%d,%d",&a,&b);
if(a>=0&&b<=32767)
sum=a+b;
printf("%d",sum);
return 0;
}