Pagini recente » Borderou de evaluare (job #225456) | Monitorul de evaluare | Borderou de evaluare (job #3276204) | Borderou de evaluare (job #52951) | Borderou de evaluare (job #1319910)
Borderou de evaluare (job #1319910)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:27: 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:37:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[50003]’ [-Wformat=]
scanf ("%s\n", &a[i]);
^
user.cpp:45:65: 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[ a[i][j] - 'a' ], 0, sizeof(T));
^
user.cpp:29:44: 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:30:46: 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:31:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &n);
^
user.cpp:37:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s\n", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | Incorect | 0 |
| 2 | 0ms | 264kb | Incorect | 0 |
| 3 | 0ms | 272kb | OK | 5 |
| 4 | 0ms | 272kb | Incorect | 0 |
| 5 | 0ms | 280kb | OK | 5 |
| 6 | 0ms | 276kb | Incorect | 0 |
| 7 | 12ms | 2156kb | Incorect | 0 |
| 8 | 12ms | 2340kb | Incorect | 0 |
| 9 | 12ms | 2464kb | OK | 5 |
| 10 | 16ms | 2696kb | Incorect | 0 |
| 11 | 16ms | 2876kb | Incorect | 0 |
| 12 | 16ms | 3100kb | Incorect | 0 |
| 13 | 48ms | 7696kb | Incorect | 0 |
| 14 | 32ms | 5492kb | Incorect | 0 |
| 15 | 36ms | 6088kb | Incorect | 0 |
| 16 | 48ms | 7588kb | Incorect | 0 |
| 17 | 244ms | 35752kb | OK | 5 |
| 18 | 200ms | 29580kb | Incorect | 0 |
| 19 | 244ms | 35784kb | Incorect | 0 |
| 20 | 244ms | 35776kb | Incorect | 0 |
| Punctaj total | 20 |