Borderou de evaluare (job #2266422)
Utilizator | Data | 22 octombrie 2018 17:41:31 | |
---|---|---|---|
Problema | Interesant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool subsir(char*, char*)':
main.cpp:18:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return i == strlen(x);
~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:29:9: error: 'i' was not declared in this scope
for(i=1; i<=n; i++)
^
main.cpp:38:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if( ls>lmax || ls==lmax && strcmp(a[i],a[pmax]) < 0 )
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !