摘要:
Problem - 216A - Codeforces Problem - B - Codeforces A Tiling with Hexagons 题意: 给出a b c ,求里面有多少个六边形 题解:将六边形补全为平行四边形,如图b c延长,把a覆盖,直接底*高 - 2* 补全的小三角形 #i 阅读全文
摘要:
Problem - A - Codeforces Problem - B - Codeforces Problem - C - Codeforces A. Era 每个a[i] - i 表示的是当前a[i]前需要插入几个数, 取所有a[i] - i 最大值即可. #include <iostream 阅读全文