G-九峰与蛇形填数模拟(TLE): #include <iostream> int g[2010][3010]; int main() { std::ios::sync_with_stdio(false), std::cin.tie(nullptr), std::cout.tie(nullptr); int n, m, dx[] = {0, 1, 0, 1}, dy[] = {1, 0, -1, 0}; std::cin >> n >> m; for (int t = m; t--; ) { int x1, y1, x2, y2, k; std::cin ...