Pagini recente » Borderou de evaluare (job #2267070) | Borderou de evaluare (job #2527210) | Borderou de evaluare (job #2868196) | Borderou de evaluare (job #2917102) | Borderou de evaluare (job #1480113)
Borderou de evaluare (job #1480113)
Raport evaluator
Compilare:
user.cpp: In function ‘void query(Trie*, char*)’:
user.cpp:60:77: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (; node->sons && node->rel < node->sonRel; node = node->son[node->best]){
^
user.cpp:62:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (node->son[node->best]->UC) ans[pos - 1] -= 32;
^
user.cpp: In function ‘int main()’:
user.cpp:96:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:102: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:106: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 | 0ms | 296kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |