Borderou de evaluare (job #1482693)
Utilizator | Data | 7 septembrie 2015 18:41:49 | |
---|---|---|---|
Problema | Prefix2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void add_intrie(int)’:
user.cpp:23:20: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int i=startpos,x,y,j; trie *a=root;
^
user.cpp: In function ‘int main()’:
user.cpp:49:9: error: expected ‘}’ at end of input
return 0;
^
user.cpp:41:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix2.in","r",stdin);
^
user.cpp:42:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix2.out","w",stdout);
^
user.cpp:43:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); n=strlen(s+1); root=new trie;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !