题解列表

筛选

使用stringstream求解

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;vector<string>kk;int main(){ int N; strin……

使用getline求解

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;vector<string>kk;int main(){ int N; strin……

Minesweeper仅用数组超简单解法c++

摘要:解题思路:1.输入m*n雷盘。              2.两个for循环检测是‘*’或‘.&#39;。                 如果是‘*’直接输出。                &

报时助手!!!

摘要:解题思路:先将构造20以内的英文字符串,再构造30、40、50的英文字符串,然后分解时和分输出。注意事项:整点(即分为0)输出o&#39;clock!参考代码:#include<iostream> ……

字符排列问题

摘要:DFS版: ```cpp #include #include using namespace std; int n; char str[20]; int vis[20];//判断一条路径……

水仙花数判断

摘要:参考代码:#include"bits/stdc++.h" using namespace std; int a[1111]; bool check(int z){ int q=0; in……