题解列表
简单的dp,O(nlogn+mlogm+n*m)
摘要:解题思路:见注释注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define maxm 2010#define maxn 2010typed……
[编程入门]矩阵对角线求和
摘要:一、解题思路:C参考代码:#include <stdio.h>
int main() {
int a[3][3];
int i, j, s1 = 0, s2 = 0;
for (i = ……
题解 1008: [编程入门]成绩评定
摘要:代码
```cpp
#include
using namespace std;
int main()
{
int n;
scanf("%d",&n);
if(n>=90)
{
p……
1323: 能量项链
摘要:```cpp
#include
using namespace std;
int n,e[203],s[203][203],maxn=-1;
int main()
{
cin>>n……
1324: [NOIP2006]开心的金明
摘要:```cpp
#include
#include
using namespace std;
int w[61][3],v[61][3],n,m,f[61][30001][5];
int ma……
1325: [NOIP2006]作业调度方案
摘要:```cpp
#include
#include
using namespace std;
const int maxn=20;
int n,m,line[maxn*maxn],workli……
1326: 青蛙过河
摘要:```cpp
#include
#include
using namespace std;
int a[101],d[101],stone[350000],f[350000];
int ma……