摘要: #include<bits/stdc++.h> using namespace std; int n,k; int main(){ int t; cin>>t; while(t--){ scanf("%d %d",&n,&k); if(n%4==0){ printf("%d %d %d\n",n/2 阅读全文
posted @ 2022-02-04 13:57 happycrazy 阅读(26) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> #define ll long long using namespace std; ll hc,hm,k,w,a,d,h,dc,dm,t; bool flag; void rec(){ } int main(){ cin>>t; while(t--){ 阅读全文
posted @ 2022-02-04 11:00 happycrazy 阅读(33) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; struct stu{ string s; int num; }a[1000005]; int cmp(stu a,stu b){ return a.s<b.s; } int main(){ int n,m; 阅读全文
posted @ 2022-01-30 16:17 happycrazy 阅读(35) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> #define ll long long using namespace std; ll x1,x2,a[1000],n; int main(){ ll t; scanf("%lld",&t); while(t--){ bool flag1,flag2 阅读全文
posted @ 2022-01-27 18:22 happycrazy 阅读(28) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> long long MOD=1e9+7; using namespace std; long long T,k,n,m,sum; int rec(int a,int b){ if(b==0){ return 1; } else { long long 阅读全文
posted @ 2022-01-26 15:52 happycrazy 阅读(47) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; #define N 400005 bool cmp(int a,int b){ return a>b; } int main(){ int t; scanf("%d",&t); while(t--){ int 阅读全文
posted @ 2022-01-19 22:15 happycrazy 阅读(38) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; #define ll long long #define maxx 200005 #define eps 0.00000001 #define inf 0x3f char a[200005]; int main 阅读全文
posted @ 2022-01-19 20:12 happycrazy 阅读(64) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; bool cmp(int x,int y){ return x > y; } int a[200005],b[200005]; int main(){ int t,n; scanf("%d",&t); whil 阅读全文
posted @ 2022-01-17 23:15 happycrazy 阅读(33) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; int main(){ int n,m,num,ans,vis[100005],k,w; char b,a[100005]; scanf("%d %d",&n,&m); for(int i=1;i<=n;i++ 阅读全文
posted @ 2022-01-17 20:03 happycrazy 阅读(32) 评论(0) 推荐(0)
摘要: 我进行了分类讨论大于100000000000000一类,小于100000000000000一类; #include<bits/stdc++.h> #define ll long long using namespace std; int main(){ int t; scanf("%d",&t); 阅读全文
posted @ 2022-01-16 00:18 happycrazy 阅读(34) 评论(0) 推荐(0)