Borderou de evaluare (job #1923485)

Utilizator 1475369147896537415369Andrei Udriste 1475369147896537415369 Data 11 martie 2017 09:16:25
Problema Trie Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void Insert(char*)’: user.cpp:26:9: error: ‘i’ was not declared in this scope for(i=0; i<len; i++, ptr = ptr -> edge[index]){ ^ user.cpp: In function ‘int main()’: user.cpp:123:31: 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:124:33: 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:133:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &task); ^ user.cpp:135:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", word); ^

Ceva nu functioneaza?