10 2020 档案

摘要:A.数数 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=1e5+5; const ll mod=1e9+7; int main(){ int t; cin>>t; while(t--){ 阅读全文
posted @ 2020-10-23 00:26 Ean1zhi 阅读(161) 评论(0) 推荐(0)
摘要:A . Fence 给与三个数字,返回一个数,使得能组成一个四边形 众所周知跟三角形一样就可以。 D=A+B+C-1 即可。 int main(){ int t; scanf("%d",&t); while(t--){ int a,b,c; scanf("%d%d%d",&a,&b,&c); int 阅读全文
posted @ 2020-10-06 20:51 Ean1zhi 阅读(123) 评论(0) 推荐(0)