太简洁了!! 2072题-[STL训练]寻梦-题解(C++代码) 摘要:```cpp #include #include using namespace std; int main() { int n,i; cin>>n; for(i=0;i>a>>…… 题解列表 2020年03月03日 0 点赞 0 评论 855 浏览 评分:4.7
string超精简解决! 题解2071:[STL训练]壮志难酬 (C++代码) 摘要:```cpp #include #include using namespace std; int main() { string s; int m,n,j,i; string:…… 题解列表 2020年03月03日 0 点赞 0 评论 768 浏览 评分:8.5
string函数解决2070题-[STL训练]Mispelling4-题解(C++代码) 摘要:```cpp #include #include using namespace std; int main() { int n,m,i; string s; cin>>n; …… 题解列表 2020年03月03日 0 点赞 0 评论 756 浏览 评分:9.9
[STL训练]Ignatius and the Princess IV (C++代码) 摘要: #include #include #include using namespace std; int main() { i…… 题解列表 2020年03月03日 0 点赞 0 评论 797 浏览 评分:9.9
[STL训练]2010辽宁省决赛 SPY-题解(C++代码) 摘要:1.题目大意: A:进入X国家边境的人员 B:Y过派往X国边境的人员 C:X国以前派往Y国边境的人员 现在要求输出B中没有C中的人员,而A存在的原因是判断B中的人员是否都存在与A中 2.…… 题解列表 2020年03月03日 0 点赞 0 评论 699 浏览 评分:0.0
JakeLin-1560题-计算器-题解(C++代码)-超简方法 摘要:##### 解释思路: 1、`map m;` 按照任意的顺序,将0~9(char)的7个位组成一个字符串string,其中1表示灯亮,0表示不亮 2、须清楚map是其实可以看做一个二维数组,第…… 题解列表 2020年03月03日 0 点赞 0 评论 852 浏览 评分:9.9
JakeLin-1559题-模拟解二元一次方程组全过程(C++代码)-(虽然Duck不必) 摘要:```cpp #include #include #include using namespace std; long long getgcd(int a,int b){ //a,b求最大…… 题解列表 2020年03月03日 0 点赞 0 评论 1075 浏览 评分:7.3
优质题解 JakeLin-1540题-棋盘多项式-题解(C/C++代码)-详细解释/简单易懂/代码简洁 摘要:正如题目所说,本题是基于回溯法的经典题目:**《n皇后问题》** 提出的,在深入理解这道题目之前,希望可以可以先戳一下之前的文章,进行“n皇后问题”的理解 :tw-1f449: :tw-1f449: …… 题解列表 2020年03月03日 1 点赞 6 评论 1706 浏览 评分:9.9
信息学奥赛一本通T1255-迷宫问题-题解(C++代码) 摘要:## 基础题 ```cpp #include #include using namespace std; // 因为只有0和1,所以玩点骚操作 struct Node { int…… 题解列表 2020年03月03日 0 点赞 0 评论 1193 浏览 评分:4.3
蓝桥杯2016年第七届真题-路径之谜-题解(C++代码) 摘要:## 简单解法,把箭靶看成桶就行 ```cpp #include #include using namespace std; int graph[25][25]; int xCnt[2…… 题解列表 2020年03月03日 0 点赞 0 评论 854 浏览 评分:9.9