python编写题解 1028: [编程入门]自定义函数求一元二次方程 摘要:解题思路:参考代码:from math import sqrt a, b, c = map(int, input().split()) d = b**2-4*a*c e = sqrt(4*a*c…… 题解列表 2024年03月07日 0 点赞 0 评论 378 浏览 评分:0.0
python编写题解 1480: 模拟计算器 摘要:注意事项: 商是整除while True: try: a, b, c = map(str, input().split()) a, b = int(a),…… 题解列表 2024年03月07日 0 点赞 0 评论 236 浏览 评分:0.0
不用多余变量完成 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>void dg(int n, char* arr){ if (n - strlen(arr…… 题解列表 2024年03月07日 1 点赞 0 评论 329 浏览 评分:0.0
用筛法求之N内的素数 摘要:解题思路:筛法就是把数据按从小到大的顺序排列,找到第一个素数,再筛选掉数据内所有与此数有关的数,完成之后再找下一个素数,再次筛选,以此类推注意事项:参考代码:#include<iostream>usi…… 题解列表 2024年03月07日 0 点赞 0 评论 358 浏览 评分:0.0
A+B for Input-Output Practice (II) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; int arr[100]; int sum = 0; c…… 题解列表 2024年03月07日 0 点赞 0 评论 505 浏览 评分:0.0
A+B for Input-Output Practice (III) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b; while(cin>>a>>b) { if (a…… 题解列表 2024年03月07日 0 点赞 0 评论 228 浏览 评分:0.0
A+B for Input-Output Practice (IV) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b,sum=0; while (cin >> a && …… 题解列表 2024年03月07日 0 点赞 0 评论 349 浏览 评分:0.0
A+B for Input-Output Practice (V) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b,c,sum=0; cin >> c; while (…… 题解列表 2024年03月07日 0 点赞 0 评论 181 浏览 评分:0.0
A+B for Input-Output Practice 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b,c,sum=0; cin >> c; while (…… 题解列表 2024年03月07日 0 点赞 0 评论 197 浏览 评分:0.0