Borderou de evaluare (job #2480440)
Utilizator | Data | 25 octombrie 2019 17:05:53 | |
---|---|---|---|
Problema | Ture | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:22: warning: left shift count >= width of type [-Wshift-count-overflow]
const int LAN = 1 << NMAX;
^~~~
main.cpp:12:11: error: array bound is not an integer constant before ']' token
int dp[LAN];
^
main.cpp: In function 'int main()':
main.cpp:38:9: error: 'dp' was not declared in this scope
dp[i] = 0;
^~
main.cpp:39:5: error: 'dp' was not declared in this scope
dp[0] = 1;
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !