编写题解 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 评论 170 浏览 评分:0.0
关于圆周率的规范使用 摘要:解题思路:对圆周率的一种近似表示,需使用到宏定义,本题需要用到较高近似的圆周率注意事项:C语言中并不识别希腊字符π,要使用圆周率,需要自定义π的变量,并指定近似值。可以使用宏定义的方式,当精度要求不高…… 题解列表 2022年06月25日 0 点赞 0 评论 170 浏览 评分:0.0
来自于一个小菜鸟的(平方和)题解 摘要:解题思路: # 导入 math 包 import math1.# math 模块 pow() 方法的语法 2. #内置的 pow() …… 题解列表 2022年06月28日 0 点赞 0 评论 290 浏览 评分:0.0
求平方和(C语言) 摘要: #include int main() { int a,b; scanf("%d %d",&a,&b); printf…… 题解列表 2022年07月13日 0 点赞 0 评论 268 浏览 评分:0.0
编写题解 1951: 求平方和 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a = 0, b = 0; scanf("%d %d", &a, &b); …… 题解列表 2022年07月28日 0 点赞 0 评论 263 浏览 评分:0.0
1951: 求平方和 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<bits/stdc++.h> using namespace std; …… 题解列表 2023年10月15日 0 点赞 0 评论 122 浏览 评分: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 评论 152 浏览 评分:0.0
编写题解 1951: 求平方和 摘要:解题思路:求两个数的平方和 定义两个变量a,b,再定义一个变量s存放所求的值; 用 scanf 输入变量; …… 题解列表 2024年12月03日 0 点赞 0 评论 402 浏览 评分:0.0
求平方和-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ int a,b; scanf("%d%d",&a,&b); printf("%d\n",a*a+b*b)…… 题解列表 2020年08月03日 0 点赞 0 评论 202 浏览 评分:0.0
求平方和-题解(C语言代码) 摘要:#include int main() { int a,b,c,d; scanf("%d%d",&a,&b); //输入两个整数 c=a*a; d=b*b; //分别计算两个整数…… 题解列表 2019年08月18日 0 点赞 0 评论 776 浏览 评分:0.0