Accepted
代码
#include <stdio.h>
int main()
{
int x,y,h;
scanf("%d%d",&x,&y);
if(x >= -2 && x <= 2 && y >= -2 && y <= 2)
h = 10;
else
h = 0;
printf("%d",h);
return 0;
}
#include <stdio.h>
int main()
{
int x,y,h;
scanf("%d%d",&x,&y);
if(x >= -2 && x <= 2 && y >= -2 && y <= 2)
h = 10;
else
h = 0;
printf("%d",h);
return 0;
}