![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
易错题
Yi_Qing_Z
这个作者很懒,什么都没留下…
展开
-
ACM题——易错点(更新中)
1、内存限制——Memory limit 32768kb==32Mb int 型数组到百万级别,计算方法a[x][y]内存:x*y*4。 2、memset函数按字节对内存块进行初始化,所以不能用它将int数组初始化为0和-1之外的其他值 (除非该值高字节和低字节相同)。 3、题目有多组数据输入时,尤其没有给出样例组数T的范围时,慎用memset,极易超...原创 2019-02-13 11:42:25 · 288 阅读 · 0 评论 -
Codeforces 1191E(Codeforces Round #573 (Div. 2) E)Tokitsukaze and Duel (博弈论)
题面 "Duel!" Betting on the lovely princess Claris, the duel between Tokitsukaze and Quailty has started. There are nn cards in a row. Each card has two sides, one of which has color. At first, some ...原创 2020-11-11 14:55:38 · 163 阅读 · 0 评论