Borderou de evaluare (job #1782125)
Utilizator | Data | 17 octombrie 2016 20:01:21 | |
---|---|---|---|
Problema | Secventa 5 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:15:1: error: expected unqualified-id before ‘unsigned’
unsigned sol[NMAX];
^
user.cpp: In function ‘void AddToHash(int)’:
user.cpp:21:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<H[k].size(); i++)
^
user.cpp: In function ‘long long int SearchHash(int)’:
user.cpp:35:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<H[k].size(); i++)
^
user.cpp: In function ‘long long int seq(int)’:
user.cpp:50:12: error: ‘sol’ was not declared in this scope
memset(sol,0,sizeof sol); /// Reset sol to 0
^
user.cpp: In function ‘long long int SearchHash(int)’:
user.cpp:42:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !