1130: C语言训练-数字母 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() { st…… 题解列表 2022年10月11日 0 点赞 0 评论 297 浏览 评分:0.0
1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() { stri…… 题解列表 2022年10月11日 0 点赞 0 评论 271 浏览 评分:0.0
1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:c++ 有现成的函数注意事项:参考代码:#include <iostream> #include <string> #include <algorithm> using namespa…… 题解列表 2022年10月11日 0 点赞 0 评论 222 浏览 评分:0.0
1012: [编程入门]字符串分类统计 摘要:解题思路:注意事项:有个一样的题,要用函数参考代码:#include <iostream> #include <string> using namespace std; int main()…… 题解列表 2022年10月11日 1 点赞 0 评论 436 浏览 评分:9.9
1029: [编程入门]自定义函数处理素数 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int isprime(int a) { if (a <= 1) r…… 题解列表 2022年10月11日 0 点赞 0 评论 227 浏览 评分:0.0
1028: [编程入门]自定义函数求一元二次方程 摘要:解题思路:注意事项:保留三位小数参考代码:#include <iostream> #include <cmath> #include <iomanip> using namespace std;…… 题解列表 2022年10月11日 0 点赞 0 评论 270 浏览 评分:0.0
1046: [编程入门]自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; void func( int a[], int n, int m ) { …… 题解列表 2022年10月11日 0 点赞 0 评论 197 浏览 评分:0.0
数字逆序输出 摘要: #include using namespace std; int main() { int a[10], i, j; for…… 题解列表 2022年10月10日 0 点赞 0 评论 286 浏览 评分:9.9
2832: 第n小的质数 摘要:解题思路:利用f函数得到质数返回给i,并分别按从小到大放到数组中(规模10000)。数组【0】为第1小的质数,所以输出数组[n-1]即是第n小的质数。判断是不是质数函数,如果 为1或0,函数返回假,如…… 题解列表 2022年10月10日 0 点赞 0 评论 485 浏览 评分:8.0
数组插入处理 摘要: #include using namespace std; int main() { int a[10]; int…… 题解列表 2022年10月10日 0 点赞 0 评论 259 浏览 评分:0.0