题解列表

筛选

前缀和算法

摘要:参考代码:#include<bits/stdc++.h> using namespace std; #define int long long signed main() { int n;……

有意思的轮回

摘要:参考代码:#include<bits/stdc++.h> using namespace std; string s1[10]={"geng","xin","ren","gui","jia","y……

严谨数学证明和优化代码

摘要:**证明:SET容器里一旦出现相同的值就必定最小值是$0$** ​ 假设这两个区间分别是区间A和区间B,一共有三种情况。 ​ 情况一:**区间A包含了区间B**,例如$A=a[3,5]=……

1738: 排序题解

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

校门外的树

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define SIZE 10001 void cal(int start, int end, int length_tree[SIZ……

大整数因子

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int c[30],l,i,j,yu,cn=0,n[9]; char a[3……