06 2024 档案

摘要:// Program written by Liu Zhaozhou ~~~ #include <bits/stdc++.h> #define lowbit(x) (x & -x) using namespace std; inline char gc(void) { static char buf 阅读全文
posted @ 2024-06-27 00:20 EternalEpic 阅读(9) 评论(0) 推荐(0) 编辑
摘要:// Program written by Liu Zhaozhou ~~~ #include <bits/stdc++.h> #define lowbit(x) (x & -x) using namespace std; inline char gc(void) { static char buf 阅读全文
posted @ 2024-06-27 00:19 EternalEpic 阅读(26) 评论(0) 推荐(0) 编辑
摘要:首先,题面简短,是道思维好题。我们仔细想想,可以先推出几个简单但正确的性质。 如果当前最强蛇吃了最弱蛇后,不是最弱,那么一定可以吃。(简要证明:因为吃后不是最弱,所以如果原先次强蛇选择吃,那么他会成为比原先最强蛇消弱后更弱的蛇。因为每一条蛇都会选择最优策略,都不想被吃,那么如果原先次强蛇选择吃,就能 阅读全文
posted @ 2024-06-26 23:33 EternalEpic 阅读(37) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示