摘要:
我换博客啦!! 新博客地址:http://hyscere.github.io 使用GitHub和hexo搭载 所以博客应该都会发在那上面,可能也会不定期搬一两篇这边的博客过去。。 阅读全文
摘要:
Codeforces Round 580 (Div. 1) https://codeforces.com/contest/1205 A. Almost Equal 随便构造一下吧...太水了不说了,放个代码吧。 ~~~cpp include using namespace std; void rea 阅读全文
摘要:
Codeforces Round 576 (Div. 1) https://codeforces.com/contest/1199 虽然我打的是Div. 2但是因为Div. 2前两题实在是太水了这里就不说了。。 不过涨了一百来rating还行(我果然分还是太 阅读全文
摘要:
Codeforces Round 549 (Div. 1) https://codeforces.com/contest/1142 A. The Beatles A题随便写写就行了( 直接暴力枚举间距就好了。 ~~~cpp include using namespace std; define in 阅读全文
摘要:
Codeforces Round 545 (Div. 1) https://codeforces.com/contest/1137 A. Skyscrapers 看懂题意就很简单了,直接对每一行每一列离散化一下就行了。 ~~~cpp include using namespace std; void 阅读全文
摘要:
2019 Multi University Training Contest 6 http://acm.hdu.edu.cn/contests/contest_show.php?cid=853 1002. Nonsense Time 这题比较神奇...有一个结论是:一个长度为n的随机排列的最长上 阅读全文
摘要:
2019 Multi University Training Contest 5 1004. Equation 把所有绝对值的零点排个序,然后解方程就好了。 ~~~cpp include using namespace std; // define int long long void read(i 阅读全文
摘要:
2019 Multi University Training Contest 4 1001. AND Minimum Spanning Tree 如果n≠2x1那么答案为0,可以这么构造: 对于i≠2x1把i连向第一个比i小的j,并且i&j=0。 阅读全文