Borderou de evaluare (job #2673493)
Utilizator | Data | 16 noiembrie 2020 23:04:27 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<strlen(s1);i++)
~^~~~~~~~~~~
main.cpp:23:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(s2);i++)
~^~~~~~~~~~~
main.cpp:27:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(s1[j]==s2[i])
^~
main.cpp:29:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(j==strlen(s1))
^~
main.cpp:29:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j==strlen(s1))
~^~~~~~~~~~~~
main.cpp:32:14: error: expected ';' before 'if'
if(k<=1000)
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !