题解列表
我的野心很大 所以我没资格停止
摘要:解题思路: 树状DP 啊啊啊 好难注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;……
编写题解 2799: 奥运奖牌计数
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int main(){ long long n,a=0,b=0,c=0;int j……
2798: 整数序列的元素最大跨度值题解
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,maxx= -1e18 ,minn=1e……
树型dp #2484: 信息学奥赛一本通T1579-皇宫看守(c++) 不是很详细..
摘要:```
#include
#include
#include
using namespace std;
const int N = 1510;
int n;
int h[N]……
编写题解 2798: 整数序列的元素最大跨度值
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ long long n,maxx=-1e18,minn……
编写题解 2796: 求整数的和与均值
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int main(){ long long n,sum=0;cin>>n; for……
少年 无爱可破情局 无情方可破全局
摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"
using namespace std;
// 定义全局变量
int n, m, a[110], sum[110];……
c++,编写题解 3132: 重载函数练习1
摘要:主要是输入顺序不固定参考代码:#include<iostream>
#include <string.h>
using namespace std;
int fun(char a[])
{
……