随笔分类 -  SF-暴力

暴力是最强的算法
摘要:题目链接 思路 构造,不会。 直接暴搜。(考场上不敢写于是骗了点分) 据说还是最简单的题 \(XD\)。 代码 #include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int MAXN 阅读全文
posted @ 2020-11-01 15:43 tuscjaf 阅读(82) 评论(0) 推荐(0)
摘要:题目链接 思路 按照斜率每次清除整条路上的骷髅(暴力算法),存图选用 \(vector <string>\),考场上直接开超大的 \(char\) \(MLE\) 了。 代码 #include <cstdio> #include <cstring> #include <iostream> #incl 阅读全文
posted @ 2020-11-01 15:25 tuscjaf 阅读(86) 评论(0) 推荐(0)