这么简单的题还属于中档题? 摘要:解题思路:基本操作注意事项:这有什么注意的,直接五星好评参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); …… 题解列表 2022年11月09日 1 点赞 0 评论 1415 浏览 评分:10.0
求平均年龄(数组法) 摘要:解题思路:这里只要搞一个数组就可以存储值注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); float a[n…… 题解列表 2022年11月12日 1 点赞 0 评论 1543 浏览 评分:10.0
超详细通俗易懂C++,暴力求解 摘要:参考代码:#include <iostream> #include <math.h> using namespace std; int main() { int a,b; …… 题解列表 2022年11月22日 0 点赞 0 评论 506 浏览 评分:10.0
2905: 最大值和最小值的差 摘要:```cpp #include using namespace std; int main() { int M,max=-10001,min=10001,x; cin>>M…… 题解列表 2022年11月30日 0 点赞 0 评论 693 浏览 评分:10.0
编写题解:数的读法【Python】 摘要:解题思路:每四位分开读,具体见代码和注释参考代码:d = {'1':'yi', '2':'er', '3':'s…… 题解列表 2022年12月07日 0 点赞 0 评论 810 浏览 评分:10.0
1190: 剔除相关数 ```cpp#include#include#include#includeusingnamespacestd;mapma;setse;structstr{strings;stringss;}str[10005];boolcmp(chara, 题解列表 2022年12月10日 1 点赞 0 评论 618 浏览 评分:10.0
1479:删除数组中的0元素 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int count = 0; void CompactIntegers(int a[], int gt); //数组元素,数组元…… 题解列表 2022年12月24日 0 点赞 0 评论 824 浏览 评分:10.0
1094: 字符串的输入输出处理 ####字符串问题基本暴力解决就够了,碰到什么问题,就具体解决就行,基本都是输入输出问题:tw-1f35c:(用时8分钟)```cpp#includeusingnamespacestd;intmain(){chars2[1000];strings1;intn;cin>>n;getchar();//吃一 题解列表 2022年12月27日 0 点赞 0 评论 719 浏览 评分:10.0
整型数据类型存储空间大小 摘要:解题思路:需要整形(int),短整型(short)变量分别一个; sizeof函数获取字节长度,即为数据类型存储空间大小。注意事项:无参考代码:#include<stdio…… 题解列表 2022年12月29日 0 点赞 0 评论 1897 浏览 评分:10.0
(c语言)详细解读,算法简单易懂 摘要:解题思路:注意事项:参考代码:#include"stdio.h" #include"math.h" //数学库,为了使用sqrt根号int main(){ …… 题解列表 2023年01月03日 0 点赞 0 评论 852 浏览 评分:10.0