文章分类 -  算法竞赛 / 常识

摘要:# 1.io优化 ``` const char endl = '\n'; //另外,请使用'\n'而不是 endl ,因为endl默认会增加刷新操作,而导致输出缓冲失效,降低效率。 cin.tie(0); ios::sync_with_stdio(false); ``` * cin.tie(0) 和 阅读全文 »
posted @ 2023-07-26 15:06 potential-star 阅读(54) 评论(0) 推荐(0) 编辑
摘要:- log(2,1000000)=19.931568569324174087221916576936341055188988358147483672328538374... - 1MB = 1024KB 1KB = 1024B 1B(byte,字节)=8b(bit,比特). - 1e6(100000 阅读全文 »
posted @ 2023-07-24 23:30 potential-star 阅读(3) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示