Minesweeper -题解(C++代码) by Zfans. ```cpp#includeusingnamespacestd;intmain(){introw,column;intn=0;while(cin>>row>>column){if(row==0&&column==0)return0;n++;char**map=newchar*[1000];for(in 题解列表 2019年07月19日 0 点赞 0 评论 987 浏览 评分:0.0
字符串的查找删除-题解(C++代码) #include#include#include#includeusingnamespacestd;intmain(void){stringpass_s,pei_s,new_s,new_ss,pass_s1;cin>>pass_s;getchar();//去除输入后的回车符号, 题解列表 2019年07月19日 0 点赞 0 评论 1597 浏览 评分:9.9
蓝桥杯算法训练VIP-字符串编辑-题解(C++代码)(利用string里面的库函数) #include#include#includeusingnamespacestd;intmain(void){strings,new_s;charbig,small,front,behind;getline(cin,s);cin>>big;if(big=='D'){cin>>small;for(in 题解列表 2019年07月18日 0 点赞 0 评论 2280 浏览 评分:6.0
Minesweeper -题解(C++代码) ```cpp#include#include#includeusingnamespacestd;voidchang2(chararr[1000][1000],intn,intm)//将不是‘*’的字符先全部变为‘0’{for(inti=0;im){if(n==0&&m==0)break;getchar 题解列表 2019年07月17日 0 点赞 0 评论 1492 浏览 评分:0.0
[编程入门]结构体之成绩统计2-题解(C++代码) //细节问题,注意以下就好,代码如下#includeusingnamespacestd;structstudent{stringstudentNumber;stringname;floatgrade1;floatgrade2;floatgrade3;};voidinput(studentstu[], 题解列表 2019年07月17日 0 点赞 0 评论 992 浏览 评分:0.0
[编程入门]自定义函数处理素数-题解(C++代码) 摘要:#### 原题链接:[自定义函数处理素数](https://www.dotcpp.com/oj/problem.php?id=1029 "自定义函数处理素数") 题目要求很简单 写一个函数判断素…… 题解列表 2019年07月17日 0 点赞 0 评论 1978 浏览 评分:7.3
找出最长的字符串来-题解(C++代码) 摘要:##### 原题链接:[找出最长的字符串来](https://www.dotcpp.com/oj/problem.php?id=1782 "找出最长的字符串来") ##### 解题思路: …… 题解列表 2019年07月16日 0 点赞 0 评论 1848 浏览 评分:0.0
矩阵的对角线之和 (C++代码) 摘要:##### 原题链接:[矩阵的对角线之和](https://www.dotcpp.com/oj/problem.php?id=1784 "矩阵的对角线之和") #### 解题思路: **1…… 题解列表 2019年07月16日 0 点赞 0 评论 2024 浏览 评分:5.3
汽水瓶:找到最简规律,不使用递归 (C++代码) 首先,题目中说的办法,用两个空瓶子是可以喝到一瓶汽水的,是最高效的办法,而且什么都没有留下,是解决本题的关键,因为它什么都没有留下,所以可以避免使用递归带来的麻烦。按照我们的想法,就是看现有的空瓶子能分成多少个2,通过对比示例,可知猜想正确。 题解列表 2019年07月16日 0 点赞 0 评论 1796 浏览 评分:8.0
C语言训练-求矩阵的两对角线上的元素之和-题解(C++代码) 摘要:##### 原题链接:[求矩阵的两对角线上的元素之和](https://www.dotcpp.com/oj/problem.php?id=1138 "求矩阵的两对角线上的元素之和") 解题思…… 题解列表 2019年07月16日 0 点赞 5 评论 1887 浏览 评分:9.9