Borderou de evaluare (job #1840889)
Utilizator | Data | 4 ianuarie 2017 22:45:02 | |
---|---|---|---|
Problema | Cuvant | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int verif(char*, char*)’:
user.cpp:9:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(sir)-strlen(cuv)+1;i++)
^
user.cpp:12:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<strlen(cuv) && sir[i+j]==cuv[j];j++);
^
user.cpp:13:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j==strlen(cuv))
^
user.cpp: In function ‘int main()’:
user.cpp:33:16: error: ‘strrev’ was not declared in this scope
strrev(rcuv);
^
user.cpp:20:41: warning: unused variable ‘sir’ [-Wunused-variable]
char cuv[11],rcuv[11],mat[101][101],sir[101], mat2[101][101];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !