第n小的质数(C++代码) 摘要: 参考代码 ```cpp #include #include using namespace std; bool isPrime(in…… 题解列表 2023年07月12日 0 点赞 0 评论 624 浏览 评分:9.9
计算球体积(C++代码) 摘要:参考代码:#include <iostream>#include <cmath> // 包含cmath头文件来使用pow函数和M_PI常量#include<iomanip>using namespa…… 题解列表 2023年07月12日 0 点赞 0 评论 681 浏览 评分:0.0
大象喝水问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define pi 3.14159int main(){ int a,b,c,d; scanf("%d %d",&a,&…… 题解列表 2023年07月12日 0 点赞 0 评论 250 浏览 评分:0.0
简单又实用 摘要:参考代码:#include <iostream>#include <cmath> // 包含cmath头文件来使用M_PI常量using namespace std;int main() { …… 题解列表 2023年07月12日 0 点赞 0 评论 520 浏览 评分:9.9
简单又实用 摘要:参考代码:#include <iostream>using namespace std;int main() { int n; cin >> n; int known_sum = 0…… 题解列表 2023年07月12日 0 点赞 0 评论 514 浏览 评分:9.9
简单又实用 摘要:```cpp #include #include // 包含cmath头文件来使用pow函数 using namespace std; int main() { int R, …… 题解列表 2023年07月12日 0 点赞 0 评论 579 浏览 评分:9.9
简单又实用 摘要:```cpp #include #include using namespace std; int main() { int N, M; cin >> N >> M;…… 题解列表 2023年07月12日 0 点赞 0 评论 534 浏览 评分:0.0
自由下落的距离计算 摘要:解题思路:首先需要清楚输入和输出分别是什么输入:小球自由落体的高度M;以及小球反弹的次数N;输出:小球第N次反弹的高度,小球在第N次反弹经过的总路程。第一次反弹 路程:s1=M 反弹高度:h1=M/2…… 题解列表 2023年07月12日 0 点赞 0 评论 434 浏览 评分:0.0
Python编写简单易懂 包含知识点 markdown编写 摘要:``` str1=input() # 字符串的输入 flag=len(str1) # 字符串的长度 for i in str1 : a=str1.find(i) …… 题解列表 2023年07月12日 0 点赞 0 评论 476 浏览 评分:9.9
分离整数的各个数位 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#include< bits/stdc++.h >int main(){ char a[10]; int i; …… 题解列表 2023年07月12日 0 点赞 0 评论 181 浏览 评分:0.0