运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
428070 | dreamer | 1446 - 字符串计数 | 编译错误 | 0 | 0 MS | 0 KB | C++ | 594 | 2年前 |
Main.cc: In function ‘int main()’:
Main.cc:16:68: error: expected primary-expression before ‘)’ token
16 | dp[i] = (dp[i] + dp[j] * 1LL * k %MOD + (j == 0)) %)MOD;
| ^
Main.cc:23:28: error: expected ‘;’ before ‘)’ token
23 | ans = (ans + dp[i]) )%MOD;
| ^~
| ;
Main.cc:26:13: error: expected ‘}’ at end of input
26 | return 0;
| ^
Main.cc:7:12: note: to match this ‘{’
7 | int main() {
| ^