Borderou de evaluare (job #1762511)
Utilizator | Data | 23 septembrie 2016 17:34:45 | |
---|---|---|---|
Problema | Oite | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:84:24: error: no matching function for call to ‘Hash::find()’
if(H1.find())
^
user.cpp:84:24: note: candidate is:
user.cpp:57:9: note: int Hash::find(int)
int find(int x){
^
user.cpp:57:9: note: candidate expects 1 argument, 0 provided
user.cpp:85:9: error: expected primary-expression before ‘}’ token
}
^
user.cpp:85:9: error: expected ‘;’ before ‘}’ token
user.cpp:83:17: warning: unused variable ‘rest’ [-Wunused-variable]
int rest=l-v[i]-v[j];
^
user.cpp:80:9: warning: unused variable ‘sol’ [-Wunused-variable]
int sol=0;
^
user.cpp: In function ‘char nextch()’:
user.cpp:13:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buf, BUF_SIZE, 1, fi);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !