摘要:
#include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 300010; int n, s; typedef long long LL; LL t[N], c[N], 阅读全文
摘要:
#include <iostream> #include <algorithm> using namespace std; const int N = 1001, M = 501; int f[N][M]; int main() { int V1, V2, n; cin>>V1>>V2>>n; fo 阅读全文
摘要:
方格取数: #include <iostream> #include <algorithm> const int N = 12; int f[N*2][N][N], a[N][N];//注意这里f数组的第一维的大小应该为2*N,因为表示的是走到的方格行+列 using namespace std; 阅读全文