题解 1951: 求平方和

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

编写题解 1951: 求平方和

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int A,B; scanf("%d%d",&A,&B); printf("%d",A*A + B*B); ……

求平方和-题解(C语言代码)

摘要:解题思路:输入2个整数,求两数的平方和并输出。这题涉及到加法和乘法运算,当然,也有pow函数求平方的方法可以解答。我们这里先讲最新手的办法。注意事项:参考代码:#include<stdio.h>int……

求平方和-题解(Java代码)

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main {    public static void main(String[] args……

求平方和 c语言

摘要:解题思路:没有啥思路用手就行。注意事项:注意学好数学反复复习不然你还要去百度差真丢脸。参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d"……

简单代码易理解

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); printf("%d",a*a+b*b); re……

求平方和题解

摘要:解题思路:easy注意事项:参考代码:#include<stdio.h>int main(){    int a,b;    scanf("%d%d",&a,&b);    printf("%d",a……

1951:求平方和

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,c;scanf("%d%d",&a,&b);c=a*a+b*b;printf("%d",c);re……

1951: 求平方和

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std ;long long a,b;int main(){    cin>>a>>b; c……

求平方和-题解(C语言代码)

摘要:解题思路:这道题很简单,就是输入一个整数然后求平方和,不需要考虑数据类型的转化。注意事项:注意格式参考代码:#include <stdio.h>int main(){ int a, b; scanf(……