1139: C语言训练-求素数问题 摘要:```cpp #include #include using namespace std; bool ss(int n) { for(int i=2;i>n; for(i…… 题解列表 2022年09月25日 0 点赞 0 评论 377 浏览 评分:9.9
1140: C语言训练-求车速 摘要:方法一: ```cpp #include using namespace std; int main() { int N=95859; while(true) …… 题解列表 2022年09月25日 0 点赞 0 评论 469 浏览 评分:9.9
c++实现阶乘求和 摘要:解题思路:注意事项:参考代码:#include#includeusing namespace std;long long face(int n){ long long f=1; if(n…… 题解列表 2022年09月25日 0 点赞 0 评论 426 浏览 评分:9.0
小学生的c++题解 摘要:解题思路:无注意事项:无参考代码:#include<iostream>using namespace std;int main(){ cout <<sizeof(int) << " "; …… 题解列表 2022年09月25日 0 点赞 0 评论 502 浏览 评分:9.9
xxs写的题解 摘要:解题思路:无注意事项:无参考代码:#include<iostream>using namespace std;int main(){ float a; cin>>a; printf("%.3f"…… 题解列表 2022年09月25日 0 点赞 0 评论 374 浏览 评分:6.0
小学生的c++题解 摘要:解题思路:无注意事项:无参考代码#include<iostream>using namespace std;int main(){ char a; int b; float c; double d; …… 题解列表 2022年09月25日 0 点赞 0 评论 554 浏览 评分:6.0
1035: [编程入门]自定义函数之字符类型统计 摘要:**解题思路: 本题目标明确,要求将对应类型的字符统计起来并输出数量,那样的话,我们就需要定义两个数组,一个用于记录我们输入的字符串,另一个记录我们输出的目标数字。 **判定字符else if…… 题解列表 2022年09月25日 0 点赞 0 评论 354 浏览 评分:0.0
比较笨的题解(不用switch-case语句) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int score; scanf("%d",&score); if(score>=90) { printf("A…… 题解列表 2022年09月25日 0 点赞 0 评论 386 浏览 评分:0.0
题解 1671: 小九九 摘要:###输出要求 输出九九乘法表,乘法的乘积占两位,并靠左对齐,每个乘法表达式之间有一个空格。 ### 注意 使用双重循环 用"-"表示靠左对齐 ###完整代码 ```c #inclu…… 题解列表 2022年09月26日 0 点赞 0 评论 466 浏览 评分:6.0
最大公约数与最小公倍数 摘要:import java.util.Scanner; public class Main{ public static int gcd(int m, int n) {//最大公约数 …… 题解列表 2022年09月26日 0 点赞 0 评论 299 浏览 评分:0.0