题解列表

筛选

线段覆盖 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; const int maxn = 10000……

杨辉三角 (C++代码)

摘要:解题思路:水啊(注意换行)参考代码:#include<bits/stdc++.h> #define hh ios::sync_with_stdio(false),cin.tie(0),cout.ti……

数数字 (C++代码)很速度

摘要:解题思路:    过后再更新,反正原理大概就是区间两端求余再取值看情况就可以了。参考代码:#include<bits/stdc++.h> #define hh ios::sync_with_stdi……

线段覆盖 (C++代码)

摘要:解题思路:这我也是服了,本来准备写一些什么线段树啊区间维护啊之类的东西,后来想了想决定先暴力看看数据错误情况先,结果暴力直接过了。参考代码:#include<bits/stdc++.h> #defi……

线段覆盖 (C++代码)

摘要:解题思路:模拟法注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int arr[100000]; int main() { ……

矩阵嵌套 (C++代码)

摘要:码一下代码:#include <iostream> using namespace std; int main() {     int N, n, a, b;     int i, j……

汽水瓶 (C++代码)

摘要:参考代码:#include<iostream> using namespace std; int get(int x) {     if(x<=1) return 0;     if(x==……