/ SeriousOJ /

Record Detail

Compile Error

foo.cc:1:1: error: 'vector' does not name a type
    1 | vector<vector<bool>> dp(N+1, vector<bool>(N+1,false));
      | ^~~~~~
foo.cc:3:1: error: 'dp' does not name a type
    3 | dp[0][0] = true;
      | ^~
foo.cc:5:1: error: expected unqualified-id before 'for'
    5 | for (int i = 0; i < N; ++i) {
      | ^~~
foo.cc:5:17: error: 'i' does not name a type
    5 | for (int i = 0; i < N; ++i) {
      |                 ^
foo.cc:5:24: error: expected unqualified-id before '++' token
    5 | for (int i = 0; i < N; ++i) {
      |                        ^~

Information

Submit By
Type
Submission
Language
C++17 (G++ 13.2.0)
Submit At
2025-05-05 15:07:32
Judged At
2025-05-05 15:07:32
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes