Borderou de evaluare (job #1231517)
Utilizator | Data | 20 septembrie 2014 20:35:59 | |
---|---|---|---|
Problema | Trie | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int del(Trie*, char*)’:
user.cpp:39:48: error: ‘nod’ was not declared in this scope
if( node->cnt == 0 && node->nrsons == 0 && nod != T ) {
^
user.cpp: In function ‘int main()’:
user.cpp:63:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "trie.in", "r", stdin );
^
user.cpp:64:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "trie.out", "w", stdout );
^
user.cpp:66:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets( line, 32, stdin );
^
user.cpp:76:33: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets( line, 32, stdin );
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !