摘要: Codeforces Round #779 (Div. 2) A. Marin and Photoshoot 把所有0的位置找出来放到数组里,如果相邻的0距离为1的话,说明要往中间插2个1,如果距离为2的话只需要插1个1。 #include<iostream> #include<cstdio> #i 阅读全文
posted @ 2022-03-28 01:51 menitrust 阅读(46) 评论(0) 推荐(0) 编辑