1112一元二次方程(数学求根公式解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ double a, b, c; cin …… 题解列表 2024年06月11日 0 点赞 0 评论 555 浏览 评分:0.0
1113保留字母(while循环输出) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ char s; while ((cin >> s)) { if (s…… 题解列表 2024年06月11日 0 点赞 0 评论 227 浏览 评分:0.0
简单for循环实现详解 摘要:解题思路:H为high,S为sum。for循环实现。注意事项:①for (int i = 1; i < N; i++):从i=1开始循环,即球从1000M落下后开始计算,所以S初始值先加上初始的H(1…… 题解列表 2024年06月11日 0 点赞 0 评论 271 浏览 评分:9.9
1114排序(暴力破解) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int arr[5]; for (int i = 1; i <= 4;…… 题解列表 2024年06月11日 0 点赞 0 评论 335 浏览 评分:0.0
1115DNA(纯数组输入输出) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int N; int a;//行数,同时也是列数 int b;//输出…… 题解列表 2024年06月11日 0 点赞 0 评论 326 浏览 评分:0.0
1116IP判断(sscanf函数直接秒杀) 摘要:解题思路:注意事项:关于sscanf函数,因为很少见,而且很少用到,但恰好这里就可以用到,鄙人对于它的使用也仅仅只是初级的,所以需要大家自己去学习,去了解!参考代码:#include<iostream…… 题解列表 2024年06月11日 0 点赞 0 评论 250 浏览 评分:0.0
编写题解 1124: C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> void count(char* str){ …… 题解列表 2024年06月11日 0 点赞 0 评论 225 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(char c) {while((c=getchar())!= EOF){if(c != '\n'…… 题解列表 2024年06月11日 0 点赞 0 评论 462 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> void count(char* str){ …… 题解列表 2024年06月11日 0 点赞 0 评论 258 浏览 评分:0.0
编写题解 1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> struct c{ int y; int m; int d; …… 题解列表 2024年06月11日 0 点赞 0 评论 237 浏览 评分:0.0