随笔分类 - 题解标程
摘要:P4944 #include <algorithm> #include <cstdio> #include <iostream> #include <queue> #include <vector> const int maxn = 205; const int maxk = 105; const
阅读全文
摘要:题面 #include <bits/stdc++.h> using namespace std; enum chess //棋子种类 { NA, //无(这个位置是空的) captain, //王 guard, //士 elephant, //象 horse, //马 car, //车 duck,
阅读全文
摘要:P2014 #include <bits/stdc++.h> using namespace std; vector<vector<int> > graph; vector<int> cost; int n,m; int f[2005][2005]; int dfs(int node) { int
阅读全文
摘要:P2482 #include <iostream> #include <fstream> #include <vector> #include <cstdlib> using std::cout; using std::endl; using std::cin; using std::ios; #d
阅读全文
摘要:P2278 #include <cstdio> #include <queue> struct task { int number; int need; int get; int grade; inline bool operator < (const task &b) const { return
阅读全文

浙公网安备 33010602011771号