Borderou de evaluare (job #2223986)
| Utilizator | Data | 22 iulie 2018 13:49:34 | |
|---|---|---|---|
| Problema | Aurel | Status | done |
| Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:19: error: ‘dp’ was not declared in this scope
dp[i % 2][j] = 1;
^~
user.cpp:24:19: error: ‘dp’ was not declared in this scope
dp[i % 2][j] = (dp[(i - 1) % 2][j - i] + dp[i % 2][j - i]) % mod;
^~
user.cpp:24:80: error: ‘mod’ was not declared in this scope
dp[i % 2][j] = (dp[(i - 1) % 2][j - i] + dp[i % 2][j - i]) % mod;
^~~
user.cpp:26:19: error: ‘dp’ was not declared in this scope
dp[i % 2][j] = 0;
^~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
