Borderou de evaluare (job #2466863)
Utilizator | Data | 3 octombrie 2019 09:30:36 | |
---|---|---|---|
Problema | Texttrim | Status | done |
Runda | Arhiva Monthly | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:22:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (ans = 0; total > 0 && ans < s.length(); ans++)
~~~~^~~~~~~~~~~~
main.cpp:24:9: error: 'i' was not declared in this scope
if (s[i] == ' ')
^
main.cpp:29:13: error: 'i' was not declared in this scope
out << s[i];
^
main.cpp:31:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(ans < s.length())
~~~~^~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !