摘要:
[https://vjudge.net/contest/220173 problem/A] 阅读全文
摘要:
[https://vjudge.net/contest/220165 problem/E] include using namespace std; define maxn 100005 int a[maxn]; int main(){ int t,n; memset(a,0,sizeof(a)); 阅读全文
摘要:
[https://vjudge.net/contest/220165 problem/D] include include using namespace std; define maxn 1010 int main(){ int n,a[maxn],b[maxn]; int kase=0; whi 阅读全文
摘要:
``` include using namespace std; define maxn 100 int a[maxn][maxn]; int main(){ int n,tot,i,x,y; while(cin n){ memset(a,0,sizeof(a)); tot=a[x=0][y=n 1 阅读全文
摘要:
``` include using namespace std; define maxn 110 int solve(const char s,int p,int q){ int n=strlen(s); for(int i=0;i t; while(t ){ cin s; int ans=0; i 阅读全文
摘要:
``` include using namespace std; void swap(int& a,int& b){ int t=a; a=b; b=t; } int main(){ int a,b; while(cin a b){ swap(a,b); cout 阅读全文
摘要:
``` include using namespace std; define ll long long ll c(int n,int m){ if(m=m+1;i ) ans =i; for(int j=1;j n m){ cout 阅读全文
该文被密码保护。 阅读全文