题解列表

筛选

优质题解

最长上升子序列(贪心+二分)

摘要:线性DP(O(n^2)):[传送门](https://blog.dotcpp.com/a/91960 "动态规划") ------------ ## 贪心+二分(nlogn) ##### *……

c++解题思路

摘要:```cpp #include using namespace std; struct time { int year; int month; int day; };……

15行代码写完

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() {     int a,b;     while(cin>……

没学过C++的都可以看懂

摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cmath>using namespace std;int main() { int n; cin >> n; ……

C++版简单4位数

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main() { int n, x; int m = 0; cin >> n; fo……

c++解题思路

摘要: ```cpp #include #define N 10 using namespace std; int main() { int a[N]; int b=0; ……