1498c专题

1498C — Planar Reflections

C. Planar Reflections 具体代码如下 #include<iostream>#include<cstring>using namespace std;const int N = 1010, mod = 1e9 + 7;int n, k;int dp[N][N][2];int solve(int cur, int k, int dir){if(k == 1) retur