Borderou de evaluare (job #2200098)
Utilizator | Data | 30 aprilie 2018 12:33:26 | |
---|---|---|---|
Problema | Text | 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:12:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size();i++)
~^~~~~~~~~
user.cpp:18:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size();i++)
~^~~~~~~~~
user.cpp:32:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cnt!=0 && pozUltSign!=s.size()-1)
~~~~~~~~~~^~~~~~~~~~~~
user.cpp:32:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(cnt!=0 && pozUltSign!=s.size()-1)
^~
user.cpp:34:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if(cnt!=0 && pozUltSign!=s.size()-1)
^~
user.cpp:34:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cnt!=0 && pozUltSign!=s.size()-1)
~~~~~~~~~~^~~~~~~~~~~~
user.cpp:9:32: warning: unused variable ‘p’ [-Wunused-variable]
int lungime=0,cntCuvinte=1,p=0;
^
user.cpp: At global scope:
user.cpp:41:2: error: expected declaration before ‘}’ token
}}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !