摘要:
http://noip.ybtoj.com.cn/contest/19/problem/3 这道题仍然可以用例题逃离噩梦的思路来解决。 #include<bits/stdc++.h> #define x first #define y second using namespace std; type 阅读全文
posted @ 2020-08-17 00:12
Gold_stein
阅读(419)
评论(0)
推荐(0)
摘要:
这道题的难点在于如何判断在某个时刻巨龙能否打中猎物,如果每一次巨龙走完都要check一次效率太低,而注意到猎物是不动的,我们可以初始化出能打中猎物的点,只要巨龙移动到这些位置,就完成搜索。 #include<bits/stdc++.h> #define x first #define y secon 阅读全文
posted @ 2020-08-17 00:04
Gold_stein
阅读(323)
评论(0)
推荐(0)

浙公网安备 33010602011771号