摘要:
大体上的思路不算太难,但是细节巨多无比. 注意我们必须要选一个,所以在记录极差的同时还要记录一下上一次出现的位置. code: #include <cstdio> #include <algorithm> #define setIO(s) freopen(s".in","r",stdin) usin 阅读全文
posted @ 2019-12-25 20:54
EM-LGH
阅读(203)
评论(0)
推荐(0)
摘要:
这个黑白染色的思路真的是很巧妙啊 code: #include <cstdio> #include <string> #include <algorithm> #define ll long long using namespace std; namespace IO { void setIO(st 阅读全文
posted @ 2019-12-25 20:20
EM-LGH
阅读(291)
评论(0)
推荐(0)
摘要:
非常有趣的一道题.... code: #include <cstdio> #include <string> #include <algorithm> using namespace std; namespace IO { void setIO(string s) { string in=s+".i 阅读全文
posted @ 2019-12-25 14:59
EM-LGH
阅读(166)
评论(0)
推荐(0)
摘要:
code: #include <cstdio> #include <string> #include <algorithm> #define N 500005 #define inf 0.0000000001 using namespace std; namespace IO { void setI 阅读全文
posted @ 2019-12-25 09:35
EM-LGH
阅读(137)
评论(0)
推荐(0)

浙公网安备 33010602011771号