Pagini recente » Borderou de evaluare (job #1970422) | Borderou de evaluare (job #2644577) | Borderou de evaluare (job #1425599) | Borderou de evaluare (job #1610301) | Borderou de evaluare (job #1320480)
Borderou de evaluare (job #1320480)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:24: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(root, 0, sizeof(root));
^
user.cpp:35:47: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same pointer type ‘nod*’ as the destination; expected ‘nod’ or an explicit length [-Wsizeof-pointer-memaccess]
memset(T->next[s[k][j] - 'a'] , 0, sizeof(T));
^
user.cpp:19:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.in", "r", stdin);
^
user.cpp:20:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.out", "w", stdout);
^
user.cpp:21:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:23:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s ", s[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 5 |
2 | 0ms | 260kb | OK | 5 |
3 | 0ms | 272kb | OK | 5 |
4 | 0ms | 264kb | OK | 5 |
5 | 0ms | 272kb | OK | 5 |
6 | 0ms | 284kb | OK | 5 |
7 | 12ms | 2152kb | OK | 5 |
8 | 12ms | 2340kb | OK | 5 |
9 | 16ms | 2464kb | OK | 5 |
10 | 16ms | 2688kb | OK | 5 |
11 | 16ms | 2872kb | OK | 5 |
12 | 16ms | 3096kb | OK | 5 |
13 | 48ms | 7688kb | OK | 5 |
14 | 44ms | 5488kb | OK | 5 |
15 | 36ms | 6084kb | OK | 5 |
16 | 48ms | 7584kb | OK | 5 |
17 | Depăşit | 35752kb | Time limit exceeded. | 0 |
18 | 256ms | 29576kb | OK | 5 |
19 | Depăşit | 35780kb | Time limit exceeded. | 0 |
20 | 244ms | 35780kb | OK | 5 |
Punctaj total | 90 |