Pagini recente » Borderou de evaluare (job #1090057) | Borderou de evaluare (job #846774) | Borderou de evaluare (job #1456843) | Borderou de evaluare (job #1323907) | Borderou de evaluare (job #1480129)
Borderou de evaluare (job #1480129)
Raport evaluator
Compilare:
user.cpp: In function ‘void query(Trie*, char*)’:
user.cpp:64:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (node->son[node->best]->UC) ans[pos - 1] -= 32;
^
user.cpp:65:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
node = node->son[node->best];
^
user.cpp: In function ‘int main()’:
user.cpp:100:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:106: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:110:19: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
insert(T, line);
^
user.cpp:113: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 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |