摘要:
蔡勒公式 \({\displaystyle w=\left( \left(y+\left[{\frac {y}{4}}\right]+\left[{\frac {c}{4}}\right]-2c+\left[{\frac {26(m+1)}{10}}\right]+d-1\right){\bmod 阅读全文
摘要:
实现 #include <cstdio> #define MAXN 0x3ef int cnts[MAXN]; int main() { int num; scanf("%d",&num); for (int i = 0;i < num;++i) { int id; scanf("%d",&id); 阅读全文
摘要:
实现 #include <cstdio> #define MAXN 0x1ff int directions[4][2] = { {0,1}, // right {1,-1}, // left and down {1,0}, // down {-1,1} // right and up }; int 阅读全文