摘要:
```BFS``` ```正解就是乱搞系列``` ```cpp #include #include char G[50][50]; bool mk[50][50][10001]; struct QueueNode { int x, y, cur, dist; QueueNode (int x = 0, int y = 0, int cur = 0, int dist = 0): ... 阅读全文
摘要:
cpp include include include int main() { int p, a, b, c, d, n; scanf("%d%d%d%d%d%d", &p, &a, &b, &c, &d, &n); double maxans = p (sin(a + b) + cos(c + 阅读全文
摘要:
cpp include include using std::sort; define kN 1000000 struct vv { int a, b; vv(int a = 0, int b = 0): a(a), b(b) {} }p[kN], q[kN]; bool cmp1(vv xx, v 阅读全文
摘要:
cpp include using std::cin; using std::cout; using std::endl; struct treenode { int val; treenode lc, rc; treenode(int val = 0): val(val), lc(NULL), r 阅读全文