摘要:
1 #include 2 #include 3 #include 4 using namespace std; 5 int tot1,tot2,score1_W,score1_L,score2_W,score2_L; 6 int res1[6000][3],res2[6000][3]; 7 bool fnsh; 8 int main() 9 { 10 int le... 阅读全文
摘要:
1 #include 2 using namespace std; 3 int n; 4 int main() 5 { 6 scanf("%d",&n); 7 int tmp; 8 for (int i = 0;i 0) 16 printf("+"); 17 else 18 ... 阅读全文
摘要:
1 #include 2 using namespace std; 3 int n,a[50][50]; 4 int main(){ 5 scanf("%d",&n); 6 int x,y; 7 x=1; 8 y=n/2+1; 9 a[x][y]=1; 10 for(int i=2;i<=n*n;i++){ 11 ... 阅读全文
摘要:
#include using namespace std; int n,na,nb; int mp[5][5]{{0,0,1,1,0},{1,0,0,1,0},{0,1,0,0,1},{0,0,1,0,1},{1,1,0,0,0}}; int vec[3][250],ans[3]; int main() { scanf("%d%d%d",&n,&na,&nb); for (in... 阅读全文