Borderou de evaluare (job #1866862)
Utilizator | Data | 3 februarie 2017 16:28:48 | |
---|---|---|---|
Problema | Interesant | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool subsir(char*, char*)’:
user.cpp:12:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<strlen(x) && j<strlen(y))
^
user.cpp:12:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<strlen(x) && j<strlen(y))
^
user.cpp:15:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i==strlen(x)) return true;
^
user.cpp: In function ‘int main()’:
user.cpp:37:17: error: ‘g’ was not declared in this scope
g<<c<<endl;
^
user.cpp:47:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(strlen(nume[i])>max) {max=strlen(nume[i]); poz=i;}
^
user.cpp:51:13: error: ‘g’ was not declared in this scope
g<<nume[poz];
^
user.cpp:21:25: warning: unused variable ‘lung’ [-Wunused-variable]
char nume[201][201],lung[]="";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !