摘要: A.做游戏 #include "bits/stdc++.h" using namespace std; typedef long long LL; LL A,B,C,X,Y,Z; int main() { cin>>A>>B>>C>>X>>Y>>Z; cout<<min(A,Y)+min(B,Z)+ 阅读全文
posted @ 2021-01-10 19:57 BuckWang 阅读(20) 评论(0) 推荐(0)
摘要: A.honoka和格点三角形 分析:这题需要分3种情况来讨论。 (1)2条边都与坐标轴平行的三角形,一定存在于$2 \times 1$或者$1 \times 2$的矩形中,每个当中存在4个,则只需要统计矩形的数量即可 (2)底与坐标轴平行的三角形,且底为2 (3)底与坐标轴平行的三角形,且底为1 # 阅读全文
posted @ 2021-01-10 19:46 BuckWang 阅读(45) 评论(0) 推荐(0)