个人博客网站:https://www.liuzhi.org.cn/
#include <stdio.h>
int main(int argc, char *argv[])
{
int a,b,sum;
scanf("%d %d",&a,&b);
sum=a*a+b*b;
printf("%d\n",sum);
return 0;
}
个人博客网站:https://www.liuzhi.org.cn/
#include <stdio.h>
int main(int argc, char *argv[])
{
int a,b,sum;
scanf("%d %d",&a,&b);
sum=a*a+b*b;
printf("%d\n",sum);
return 0;
}