摘要: [https://vjudge.net/contest/220173 problem/A] 阅读全文
posted @ 2018-07-30 17:34 ChunhaoMo 阅读(114) 评论(0) 推荐(0) 编辑
摘要: [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)); 阅读全文
posted @ 2018-07-30 17:32 ChunhaoMo 阅读(93) 评论(0) 推荐(0) 编辑
摘要: [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 阅读全文
posted @ 2018-07-30 17:31 ChunhaoMo 阅读(127) 评论(0) 推荐(0) 编辑
摘要: ``` 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 阅读全文
posted @ 2018-07-30 17:27 ChunhaoMo 阅读(151) 评论(0) 推荐(0) 编辑
摘要: ``` 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 阅读全文
posted @ 2018-07-30 17:26 ChunhaoMo 阅读(552) 评论(0) 推荐(0) 编辑
摘要: ``` 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 阅读全文
posted @ 2018-07-30 17:24 ChunhaoMo 阅读(186) 评论(0) 推荐(0) 编辑
摘要: ``` 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 阅读全文
posted @ 2018-07-30 17:22 ChunhaoMo 阅读(140) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2018-07-30 09:28 ChunhaoMo 阅读(4) 评论(0) 推荐(0) 编辑