摘要:
D1 T1 神奇的幻方 一道大水题 1 #include<iostream> 2 #include<cstdio> 3 using namespace std; 4 int n; 5 int ans[40][40]; 6 inline int qread() 7 { 8 int x=0,j=1; 9 阅读全文
摘要:
D1 T1 玩具谜题 1 //朝向内的人的向左为加,向右为减;朝向内的人则相反 2 #include<iostream> 3 #include<cstdio> 4 using namespace std; 5 struct node{ 6 int dir; 7 char name[15]; 8 }p 阅读全文