Problem | shamelessad5 |
---|---|
User | wasdplant |
Submission Time | 2025-03-15 16:42:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
shamelessad5.cpp:8:35: error: missing terminating ' character
8 | const int mod = 1'000'000'000 + 7';
| ^~
shamelessad5.cpp: In function ‘int32_t main()’:
shamelessad5.cpp:3:13: error: expected ‘,’ or ‘;’ before ‘long’
3 | #define int long long
| ^~~~
shamelessad5.cpp:10:2: note: in expansion of macro ‘int’
10 | int arr[N]; for(auto &x:arr) cin >> x;
| ^~~
shamelessad5.cpp:10:26: error: ‘arr’ was not declared in this scope
10 | int arr[N]; for(auto &x:arr) cin >> x;
| ^~~
shamelessad5.cpp:19:8: error: ‘arr’ was not declared in this scope
19 | if (arr[j]%2 != arr[i]%2) sum += dp[j];
| ^~~