题解 1852: 求1+2+3+...+n的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,sum=0; cin…… 题解列表 2024年06月10日 0 点赞 0 评论 282 浏览 评分:0.0
密码破译(包含字母WXYZ) 摘要:解题思路:主要思路ASCII的循环思路,目前我自己还处于新手入门阶段,所以很多原理性的内容,无法做出更多的解释。题解我是参考前边几个大佬的思路,按照我自己的理解写的,如果有不对的地方,欢迎指正。假设数…… 题解列表 2024年06月10日 1 点赞 0 评论 657 浏览 评分:0.0
1112一元二次方程(数学求根公式解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ double a, b, c; cin …… 题解列表 2024年06月11日 0 点赞 0 评论 827 浏览 评分:0.0
1113保留字母(while循环输出) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ char s; while ((cin >> s)) { if (s…… 题解列表 2024年06月11日 0 点赞 0 评论 453 浏览 评分:0.0
1114排序(暴力破解) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int arr[5]; for (int i = 1; i <= 4;…… 题解列表 2024年06月11日 0 点赞 0 评论 612 浏览 评分:0.0
1115DNA(纯数组输入输出) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int N; int a;//行数,同时也是列数 int b;//输出…… 题解列表 2024年06月11日 1 点赞 0 评论 575 浏览 评分:0.0
1116IP判断(sscanf函数直接秒杀) 摘要:解题思路:注意事项:关于sscanf函数,因为很少见,而且很少用到,但恰好这里就可以用到,鄙人对于它的使用也仅仅只是初级的,所以需要大家自己去学习,去了解!参考代码:#include<iostream…… 题解列表 2024年06月11日 0 点赞 0 评论 451 浏览 评分:0.0
编写题解 1124: C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> void count(char* str){ …… 题解列表 2024年06月11日 0 点赞 0 评论 375 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(char c) {while((c=getchar())!= EOF){if(c != '\n'…… 题解列表 2024年06月11日 0 点赞 0 评论 644 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> void count(char* str){ …… 题解列表 2024年06月11日 0 点赞 0 评论 393 浏览 评分:0.0