题解列表

筛选

P1021 (C++代码)

摘要:解题思路:注意事项:参考代码:#include <iostream> #include <algorithm> #include <cstring> #include <cstdio> #in……

P1011 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int n,m,a[52][52],f[52][52][52][52]; ……

P1007 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; struct ff{int x,y,p,q;……

射击游戏 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; typedef int I; #define X(A,B) (A[B[0]][B[1……

查找最大元素 (C++代码)

摘要:先用STL的*max_element()找出最大值,再用insert()插入即可 #include <iostream> #include <cstdlib> #include <cmath> ……