摘要: AC代码 #include<bits/stdc++.h> using namespace std; int ch[1000],ma[1000],en[1000],sum[1000]; bool pd(int a,int b) { int n1=abs(ch[a]-ch[b]); int n2=abs 阅读全文
posted @ 2020-08-26 15:00 panjoel 阅读(186) 评论(0) 推荐(0)
摘要: AC代码 #include<iostream> #include<cmath> using namespace std; int num[1032][1032]; void huafen(int x,int y,int a){ int za=a/2; for(int i=0;i<za;i++){ f 阅读全文
posted @ 2020-08-26 14:59 panjoel 阅读(28) 评论(0) 推荐(0)
摘要: AC代码 #include<bits/stdc++.h> using namespace std; long long n; int main(){ cin>>n; if(n<=0) cout<<0; else cout<<(unsigned long long)n*2-1; return 0; } 阅读全文
posted @ 2020-08-26 14:57 panjoel 阅读(59) 评论(0) 推荐(0)
摘要: AC代码 #include<bits/stdc++.h> using namespace std; int n,a[1005][1005],flag,maxn,ans=-2147483648; int main() { cin >>n; for (int i=1;i<=n;i++) for (int 阅读全文
posted @ 2020-08-26 14:53 panjoel 阅读(93) 评论(0) 推荐(0)