摘要:
看看时间还有十几分钟,开不出来题了,写个题解 A. Cut the Triangle 检查是不是直角边平行于坐标轴的直角三角形即可 这里可以用异或来写,代码较为简洁,我就不改了,直接贴上我的丑代码 code // Problem: A. Cut the Triangle // Contest: Co 阅读全文
摘要:
这场的状态不太好 A. Divide and Conquer 如果和为偶数,输出0 如果和为奇数,则输出最小减少奇数的步骤。如样例2,$7/2=3,3/2=1,1/2=0$三次,$4/2=2,2/=1$两次 所以输出2 code #include <bits/stdc++.h> using name 阅读全文