Pagini recente » Borderou de evaluare (job #2988404) | Borderou de evaluare (job #3289405) | Borderou de evaluare (job #540574) | Borderou de evaluare (job #354334) | Borderou de evaluare (job #1481152)
Borderou de evaluare (job #1481152)
Raport evaluator
Compilare:
user.cpp: In constructor ‘trie::trie()’:
user.cpp:23: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 init()’:
user.cpp:40:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
type[i] = i - 'A' + 1;
^
user.cpp:43:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
type[i] = i - 'A' - 5;
^
user.cpp: In function ‘void add(trie*, char*, int)’:
user.cpp:49:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int c = type[*p];
^
user.cpp: In function ‘int main()’:
user.cpp:115:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c = type[s[i]];
^
user.cpp:92:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d\n", &N);
^
user.cpp:100:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d\n", &M);
^
user.cpp:102: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 | 356kb | OK | 10 |
2 | 0ms | 312kb | OK | 10 |
3 | 0ms | 344kb | OK | 10 |
4 | 12ms | 712kb | OK | 10 |
5 | 16ms | 3392kb | OK | 10 |
6 | 16ms | 3424kb | OK | 10 |
7 | 16ms | 3448kb | OK | 10 |
8 | 284ms | 51328kb | OK | 10 |
9 | 340ms | 58188kb | OK | 10 |
10 | 40ms | 4768kb | OK | 10 |
Punctaj total | 100 |