1137: C语言训练-求函数值 摘要:```cpp #include using namespace std; int f(int x); int main() { int x; cin>>x; c…… 题解列表 2022年09月25日 0 点赞 0 评论 493 浏览 评分:9.9
1138: C语言训练-求矩阵的两对角线上的元素之和 摘要:```cpp #include using namespace std; int main() { int n,sum=0,a[10][10]; cin>>n; …… 题解列表 2022年09月25日 0 点赞 0 评论 327 浏览 评分:9.9
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 评论 338 浏览 评分:9.9
1140: C语言训练-求车速 摘要:方法一: ```cpp #include using namespace std; int main() { int N=95859; while(true) …… 题解列表 2022年09月25日 0 点赞 0 评论 427 浏览 评分:9.9
c++实现阶乘求和 摘要:解题思路:注意事项:参考代码:#include#includeusing namespace std;long long face(int n){ long long f=1; if(n…… 题解列表 2022年09月25日 0 点赞 0 评论 374 浏览 评分:9.0
小学生的c++题解 摘要:解题思路:无注意事项:无参考代码:#include<iostream>using namespace std;int main(){ cout <<sizeof(int) << " "; …… 题解列表 2022年09月25日 0 点赞 0 评论 450 浏览 评分:9.9
xxs写的题解 摘要:解题思路:无注意事项:无参考代码:#include<iostream>using namespace std;int main(){ float a; cin>>a; printf("%.3f"…… 题解列表 2022年09月25日 0 点赞 0 评论 336 浏览 评分:6.0
小学生的c++题解 摘要:解题思路:无注意事项:无参考代码#include<iostream>using namespace std;int main(){ char a; int b; float c; double d; …… 题解列表 2022年09月25日 0 点赞 0 评论 498 浏览 评分:6.0
1035: [编程入门]自定义函数之字符类型统计 摘要:**解题思路: 本题目标明确,要求将对应类型的字符统计起来并输出数量,那样的话,我们就需要定义两个数组,一个用于记录我们输入的字符串,另一个记录我们输出的目标数字。 **判定字符else if…… 题解列表 2022年09月25日 0 点赞 0 评论 323 浏览 评分:0.0
比较笨的题解(不用switch-case语句) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int score; scanf("%d",&score); if(score>=90) { printf("A…… 题解列表 2022年09月25日 0 点赞 0 评论 338 浏览 评分:0.0