运行 ID: 29801

Main.cc: In function ‘int main()’:
Main.cc:28:12: error: missing template arguments before ‘l’
     vector l(n, 1LL), r(n, 1LL);
            ^
Main.cc:36:17: error: ‘r’ was not declared in this scope
                 r[j] = (r[j] + l[i]) % MOD;
                 ^
Main.cc:36:32: error: ‘l’ was not declared in this scope
                 r[j] = (r[j] + l[i]) % MOD;
                                ^
Main.cc:38:17: error: ‘l’ was not declared in this scope
                 l[i] = (r[j] + l[i]) % MOD;
                 ^
Main.cc:38:25: error: ‘r’ was not declared in this scope
                 l[i] = (r[j] + l[i]) % MOD;
                         ^
Main.cc:45:22: error: ‘l’ was not declared in this scope
         ans = (ans + l[i] + r[i]) % MOD;
                      ^
Main.cc:45:29: error: ‘r’ was not declared in this scope
         ans = (ans + l[i] + r[i]) % MOD;
                             ^