求平方和 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,s; scanf("%d %d",&i,&j); s=i*i+j*j; …… 题解列表 2019年02月28日 0 点赞 1 评论 589 浏览 评分:6.0
求平方和-题解(C++代码) 摘要:这个题就是基础题目了 我们可以用 #include 头文件的pow函数直接求出平方和 也可以用 sum = a*a+b*b; 那么就上代码 ```cpp #include…… 题解列表 2019年09月20日 0 点赞 0 评论 2199 浏览 评分:5.2
1951: 求平方和 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<bits/stdc++.h> using namespace std; …… 题解列表 2023年10月15日 0 点赞 0 评论 149 浏览 评分:0.0
题目1951:求平方和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,s,d,f;cin >> s;cin >> a;d…… 题解列表 2023年12月05日 0 点赞 0 评论 183 浏览 评分:0.0
编写题解 1951: 求平方和 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a = 0, b = 0; scanf("%d %d", &a, &b); …… 题解列表 2022年07月28日 0 点赞 0 评论 283 浏览 评分:0.0
求平方和(C语言) 摘要: #include int main() { int a,b; scanf("%d %d",&a,&b); printf…… 题解列表 2022年07月13日 0 点赞 0 评论 290 浏览 评分:0.0
来自于一个小菜鸟的(平方和)题解 摘要:解题思路: # 导入 math 包 import math1.# math 模块 pow() 方法的语法 2. #内置的 pow() …… 题解列表 2022年06月28日 0 点赞 0 评论 312 浏览 评分:0.0
关于圆周率的规范使用 摘要:解题思路:对圆周率的一种近似表示,需使用到宏定义,本题需要用到较高近似的圆周率注意事项:C语言中并不识别希腊字符π,要使用圆周率,需要自定义π的变量,并指定近似值。可以使用宏定义的方式,当精度要求不高…… 题解列表 2022年06月25日 0 点赞 0 评论 188 浏览 评分:0.0
编写题解 1951: 求平方和 摘要:解题思路:注意事项:参考代码:a = input()b = a.split(" ")c = (int(b[0]) * int(b[0]) + int(b[1]) * int(b[1]))print(c…… 题解列表 2022年06月16日 0 点赞 0 评论 186 浏览 评分:0.0
编写题解 1951: 求平方和 摘要:解题思路:求两个数的平方和 定义两个变量a,b,再定义一个变量s存放所求的值; 用 scanf 输入变量; …… 题解列表 2024年12月03日 0 点赞 0 评论 455 浏览 评分:0.0