Pagini recente » Borderou de evaluare (job #3164393) | Borderou de evaluare (job #121972) | Borderou de evaluare (job #2719822) | Borderou de evaluare (job #653243) | Borderou de evaluare (job #1481166)
Borderou de evaluare (job #1481166)
Raport evaluator
Compilare:
user.cpp: In constructor ‘trie::trie()’:
user.cpp:24:40: warning: passing NULL to non-pointer argument 2 of ‘void* memset(void*, int, size_t)’ [-Wconversion-null]
memset(child, NULL, sizeof(child));
^
user.cpp: In function ‘void add(trie*, char*, int)’:
user.cpp:45:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int c = type[*p];
^
user.cpp: In function ‘int main()’:
user.cpp:106:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c = type[s[i]];
^
user.cpp:88:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d\n", &L, &N);
^
user.cpp:89:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, Nadejde, f);
^
user.cpp:93:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(tmp, Dragoste, f);
^
user.cpp:94:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(word, Smerenie, f);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 392kb | OK | 10 |
2 | 4ms | 304kb | OK | 10 |
3 | 8ms | 408kb | OK | 10 |
4 | 112ms | 13868kb | OK | 10 |
5 | 172ms | 22308kb | OK | 10 |
6 | 108ms | 13716kb | OK | 10 |
7 | 224ms | 27488kb | OK | 10 |
8 | 112ms | 13920kb | OK | 10 |
9 | 16ms | 2068kb | OK | 10 |
10 | 4ms | 948kb | OK | 10 |
Punctaj total | 100 |