Pagini recente » Borderou de evaluare (job #1510384) | Borderou de evaluare (job #3212247) | Borderou de evaluare (job #3256527) | Borderou de evaluare (job #371035) | Borderou de evaluare (job #1480128)
Borderou de evaluare (job #1480128)
Raport evaluator
Compilare:
user.cpp: In function ‘void query(Trie*, char*)’:
user.cpp:63:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
node = node->son[node->best];
^
user.cpp: In function ‘int main()’:
user.cpp:98:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:104:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &M);
^
user.cpp:108:19: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
insert(T, line);
^
user.cpp:111:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 50, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 512ms | 101396kb | Incorect | 0 |
Punctaj total | 0 |