求平方和 c语言 摘要:解题思路:没有啥思路用手就行。注意事项:注意学好数学反复复习不然你还要去百度差真丢脸。参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d"…… 题解列表 2021年03月01日 0 点赞 0 评论 796 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); printf("%d",a*a+b*b); re…… 题解列表 2021年08月11日 0 点赞 0 评论 336 浏览 评分:0.0
求两数平方和并输出 摘要:```c #include int main() { int A,B; scanf("%d%d",&A,&B); printf("%d",A*A+B*B); …… 题解列表 2021年10月27日 0 点赞 0 评论 1064 浏览 评分:9.0
求整数的平方和 摘要:解题思路:列方程组求和注意事项:注意基础细节知识参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d",&a,&b); c=a*a+b*b;…… 题解列表 2021年11月02日 0 点赞 0 评论 1385 浏览 评分:9.9
求平方和题解 摘要:解题思路:easy注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d",a…… 题解列表 2022年01月24日 0 点赞 0 评论 616 浏览 评分:0.0
1951:求平方和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,c;scanf("%d%d",&a,&b);c=a*a+b*b;printf("%d",c);re…… 题解列表 2022年04月08日 0 点赞 0 评论 583 浏览 评分:0.0
1951: 求平方和 摘要:解题思路:很简单注意事项:很简单参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2022年04月28日 0 点赞 6 评论 365 浏览 评分:8.4
求平方和题解 摘要:解题思路:就个输入输出!注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a,b;int main(){ scanf("%d%d",…… 题解列表 2022年04月30日 0 点赞 0 评论 806 浏览 评分:9.0
1951: 求平方和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std ;long long a,b;int main(){ cin>>a>>b; c…… 题解列表 2022年05月05日 0 点赞 0 评论 628 浏览 评分:0.0
两种方法求平方和(C语言代码) 解题思路:方法一:直接数学中两数的平方和计算。注意:一个整数a的平方和不能写成a^2,而应该写成a*a;方法二:利用math库中的pow(x,y)函数,计算x的y次方。参考代码:方法一:#includeintmain(){inta, 题解列表 2022年05月20日 2 点赞 0 评论 5985 浏览 评分:6.9