题解列表
常规解法----------------------------------------------------------
摘要:解题思路:注意事项:参考代码:#include<iostream>#include <cstring>using namespace std;const int N = 101……
暴力解法--一行代码搞定
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ string s; ……
解方程--------------------------------------------------------------------------------
摘要:解题思路:注意事项:参考代码:#include<iostream>#include <cmath>using namespace std;int main(){ &……
小白的bfs与dfs代码(dfs超时了555,用/**/略掉了)
摘要:```cpp#includeusing namespace std;struct pos//能记录步数与位置的结构体{ int x;//第n行 int y;//第m列 ……
题解 2791: 计算邮资
摘要:```cpp#includeusing namespace std;int main() { int n; char y; cin >> n >> ……
题解 2836: 数组逆序重放
摘要:解题思路:在正向循环后需要有有一个反向循环注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long l……
2836: 数组逆序重放题解
摘要:解题思路:注意事项:参考代码#include<bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e7;……
2836: 数组逆序重放题解
摘要:解题思路:注意事项:参考代码#include<bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e7;……
编写题解 1997: 日期换算
摘要:解题思路:使用月份数组注意事项:输出时不只要输出sum,还要输出y。参考代码:#include <bits/stdc++.h>using namespace std;typedef lon……