Pagini recente » Borderou de evaluare (job #1529119) | Borderou de evaluare (job #1322002) | Borderou de evaluare (job #2645182) | Borderou de evaluare (job #2797973) | Borderou de evaluare (job #1480117)
Borderou de evaluare (job #1480117)
Raport evaluator
Compilare:
user.cpp: In function ‘void query(Trie*, char*)’:
user.cpp:62:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (node->son[node->best]) node = node->son[node->best];
^
user.cpp:62:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (node->son[node->best]) node = node->son[node->best];
^
user.cpp: In function ‘int main()’:
user.cpp:97:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:103: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:107:19: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
insert(T, line);
^
user.cpp:110: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 | Depăşit | 276kb | Time limit exceeded. | 0 |
Punctaj total | 0 |