Borderou de evaluare (job #1517521)
Utilizator | Data | 4 noiembrie 2015 15:12:50 | |
---|---|---|---|
Problema | Trie | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In constructor ‘trie::trie()’:
user.cpp:18:28: error: ‘memset’ was not declared in this scope
memset(v,0,sizeof v);
^
user.cpp: In function ‘int pref(trie*, char*, int)’:
user.cpp:68:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:72:21: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(lin,32,si);
^
user.cpp:82:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(lin,32,si);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !