Pagini recente » Borderou de evaluare (job #922213) | Borderou de evaluare (job #1716702) | Borderou de evaluare (job #2394395) | Borderou de evaluare (job #1619653) | Borderou de evaluare (job #1948627)
Borderou de evaluare (job #1948627)
Raport evaluator
Compilare:
user.cpp: In function ‘void calc(int*, int, int, int, int)’:
user.cpp:15:26: 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(v2, 0, sizeof v2);
^
user.cpp: In function ‘int main()’:
user.cpp:38:13: warning: unused variable ‘p’ [-Wunused-variable]
int n, i, p[MAXN];
^
user.cpp:39:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
user.cpp:41:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &v[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✗ | 1 | 0ms | 268kb | Incorect | 0 |
✗ | 2 | 0ms | 284kb | Incorect | 0 |
✗ | 3 | 56ms | 2092kb | Incorect | 0 |
✗ | 4 | 52ms | 2096kb | Incorect | 0 |
✗ | 5 | 52ms | 2104kb | Incorect | 0 |
✗ | 6 | 56ms | 2116kb | Incorect | 0 |
✗ | 7 | 56ms | 2128kb | Incorect | 0 |
✗ | 8 | 56ms | 2136kb | Incorect | 0 |
✗ | 9 | 60ms | 2136kb | Incorect | 0 |
✓ | 10 | 0ms | 276kb | OK | 10 |
Punctaj total | 10 |