Borderou de evaluare (job #2131229)
Utilizator | Data | 14 februarie 2018 15:58:46 | |
---|---|---|---|
Problema | Decrease | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ( uap[v[j]] == j && v[j] > v[i] )
^
user.cpp:26:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ( lmax < dp[j] )
^
user.cpp:31:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if ( lmax == dp[j] )
^
user.cpp:44:38: error: ‘u’ was not declared in this scope
if( dp[i] == dp[pmax] && u[v[i]] == i)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !