1074: 数字整除 ```cpp#include#includeusingnamespacestd;intmain(){charm[1050];inth;while(cin>>m){if(m[0]=='0')return0;h=0;for(inti=0;i 题解列表 2022年08月17日 1 点赞 0 评论 687 浏览 评分:9.9
蓝桥杯2022年第十三届省赛真题-重新排序(贪心,差分数组) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e5 + 5…… 题解列表 2022年08月18日 0 点赞 0 评论 1260 浏览 评分:9.9
1098: 陶陶摘苹果 摘要:解题思路:... ... ... ... ... ... ... ... ... ...注意事项:无参考代码:#include<iostream>using namespace std;int mai…… 题解列表 2022年08月18日 0 点赞 0 评论 813 浏览 评分:9.9
[编程入门]数字逆序输出 摘要:解题思路:简单暴力注意事项:参考代码:int main(){ int a, b,c,d,e,f,g,h,i,j ; scanf("%d %d %d %d %d %d %d %d %d %d", &a,…… 题解列表 2022年08月18日 0 点赞 0 评论 763 浏览 评分:9.9
题目 1050: [编程入门]结构体之成绩记录 ```cpp#include#includeusingnamespacestd;intn;structnode{stringa,b;intx,y,z;}f[10010];intmain(){cin>>n;for(inti=1;i>f[i].a>>f[i].b>>f[i].x>>f[i].y>>f[i] 题解列表 2022年08月18日 0 点赞 0 评论 753 浏览 评分:9.9
编写题解 1035: [编程入门]自定义函数之字符类型统计 ```c//自定义函数之字符类型统计#include#includevoidStrStatic(){chars[200];gets(s);//接受输入的字符串,并保存到sinta1,a2,a3,a4,n;a1=a2=a3=a4=0;n=strlen(s);//计算出s中实际存储的字符个数for(int 题解列表 2022年08月18日 0 点赞 0 评论 678 浏览 评分:9.9
Minesweeper(留个记录) 摘要:解题思路:注意事项:字符输入—scanf(" %c")(空格可换成\n \t),单个字符读取,可忽略掉空格、换行参考代码:#include <stdio.h> //查找周围雷的数量 int min…… 题解列表 2022年08月19日 0 点赞 0 评论 653 浏览 评分:9.9
无论在官网还是在这儿,都是100分 摘要:解题思路:简单的思维题注意事项:这一题之所以会出现标答超时,是因为有一组数据是第一行什么都没有,第二行才有一个数字(因为我氪金了,能看数据集)。用scanf("%s",str)的方法可以完美解决这种问…… 题解列表 2022年08月19日 0 点赞 0 评论 769 浏览 评分:9.9
编写题解 1119: C语言训练-"水仙花数"问题1 摘要:```c //水仙花数问题1 #include #include void IsDaffodilNum(){ int n, m, sum=0; scanf("%d", &n); …… 题解列表 2022年08月19日 0 点赞 0 评论 646 浏览 评分:9.9
编写题解 1120: C语言训练-"水仙花数"问题2 摘要:C语言训练-"水仙花数"问题1https://blog.dotcpp.com/a/89516 ```c //水仙花数问题2 #include #include void IsDaffod…… 题解列表 2022年08月19日 0 点赞 0 评论 687 浏览 评分:9.9