Borderou de evaluare (job #1910721)

Utilizator zdavid112zIon David-Gabriel zdavid112z Data 7 martie 2017 18:01:04
Problema Facebook Search Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void adaug(Trie*, char*)’: user.cpp:32:14: warning: NULL used in arithmetic [-Wpointer-arith] if(*s == NULL) ^ user.cpp: In function ‘void update(Trie*, char*)’: user.cpp:48:14: warning: NULL used in arithmetic [-Wpointer-arith] if(*s == NULL) ^ user.cpp: In function ‘void query(Trie*, char*, char*)’: user.cpp:76:17: warning: NULL used in arithmetic [-Wpointer-arith] while(*s != NULL) ^ user.cpp: In function ‘int main()’: user.cpp:126:37: warning: NULL used in arithmetic [-Wpointer-arith] for(j = 0; org[i][j] != NULL; j++) ^ user.cpp:139:41: warning: NULL used in arithmetic [-Wpointer-arith] for(j = 0; cuvOrg[j] != NULL; j++) ^ user.cpp:147:42: warning: NULL used in arithmetic [-Wpointer-arith] for(int j = 0; cuv[j] != NULL; j++) ^ user.cpp:114:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fbsearch.in", "r", stdin); ^ user.cpp:115:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fbsearch.out", "w", stdout); ^ user.cpp:117:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &test); ^ user.cpp:121:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:124:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", org[i]); ^ user.cpp:134:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", com); ^ user.cpp:137:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", cuvOrg); ^ user.cpp:146:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s%d", cuv, &val); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11312ms104596kbOK100
Punctaj total100

Ceva nu functioneaza?