Borderou de evaluare (job #2693021)
Utilizator | Data | 4 ianuarie 2021 16:15:56 | |
---|---|---|---|
Problema | Eq4 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int nr(int)':
main.cpp:14:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=poz;j<strlen(s);j++)
~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:43:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<strlen(s);i++)
~^~~~~~~~~~
main.cpp:68:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<strlen(s);i++)
~^~~~~~~~~~
main.cpp:116:22: error: 'sort' was not declared in this scope
sort(v,v+cntm);
^
main.cpp:124:54: error: 'upper_bound' was not declared in this scope
int pozsup = upper_bound(v,v+cntm,val)-v;
^
main.cpp:37:25: warning: unused variable 't' [-Wunused-variable]
int cer,numar,m,n,p,t=0,start,end,key;
^
main.cpp:37:29: warning: unused variable 'start' [-Wunused-variable]
int cer,numar,m,n,p,t=0,start,end,key;
^~~~~
main.cpp:37:35: warning: unused variable 'end' [-Wunused-variable]
int cer,numar,m,n,p,t=0,start,end,key;
^~~
main.cpp:37:39: warning: unused variable 'key' [-Wunused-variable]
int cer,numar,m,n,p,t=0,start,end,key;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !