题解列表

筛选

线段(贪心)

摘要: #include using namespace std; const int N=1e6+10; struct node{ int……

小白,看看就行,不动脑袋

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

[STL训练]百步穿杨........

摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义结构体aaa,包含两个整数成员c和k struct aaa{ ……

The 3n + 1 problem,goto真好用!

摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){     // 定义变量a, b, c和数组d,l用……