Borderou de evaluare (job #1885506)
Utilizator | Data | 19 februarie 2017 22:53:41 | |
---|---|---|---|
Problema | Minerale | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void calc()’:
user.cpp:31:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(dp[st][k][it.first] && dp[k+1][dr][it.second])
^
user.cpp:31:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(dp[st][k][it.first] && dp[k+1][dr][it.second])
^
user.cpp: In function ‘int main()’:
user.cpp:78:9: error: ‘k’ was not declared in this scope
for(k=0;k<26;++k) dp[i][j][k]=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !