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