Pagini recente » Borderou de evaluare (job #370483) | Borderou de evaluare (job #1364019) | Borderou de evaluare (job #2314024) | Borderou de evaluare (job #1028656) | Borderou de evaluare (job #1481086)
Borderou de evaluare (job #1481086)
Raport evaluator
Compilare:
user.cpp: In function ‘void query(Trie*, char*)’:
user.cpp:52:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
node = node->son[node->best_son];
^
user.cpp: In function ‘int main()’:
user.cpp:111:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
bitset = found = pos = 0;
^
user.cpp:92:38: 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:95:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:100: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:105: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 | 284kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |