摘要: 对于输入输出的思考 对于大部分oi选手,基本会使用scanf+printf或者cin+cout 两者各有优势 cin,cout有一些流方法很好用,但printf,scanf快,且格式化输出方便 有人使用ios::sync_with_stdio(false);cin.tie(0);cout.tie(0 阅读全文
posted @ 2020-03-25 12:36 et3_tsy 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 强连通分量SCC 2 SAT 部分资料来自: 1. "https://blog.csdn.net/whereisherofrom/article/details/79417926" 2. "https://baike.baidu.com/item/%E5%BC%BA%E8%BF%9E%E9%80%9 阅读全文
posted @ 2020-03-25 10:55 et3_tsy 阅读(547) 评论(0) 推荐(1) 编辑
摘要: Zeller "https://baike.baidu.com/item/%E8%94%A1%E5%8B%92%E5%85%AC%E5%BC%8F/10491767?fr=aladdin" 蔡勒(Zeller)公式,是一个计算星期的公式,随便给一个日期,就能用这个公式推算出是星期几。 注意点:1,2 阅读全文
posted @ 2020-03-25 09:17 et3_tsy 阅读(227) 评论(0) 推荐(0) 编辑