Pagini recente » Borderou de evaluare (job #2375321) | Borderou de evaluare (job #2244312) | Borderou de evaluare (job #3165508) | Borderou de evaluare (job #2785399) | Borderou de evaluare (job #1706552)
Borderou de evaluare (job #1706552)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:81:25: 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(v, 0, sizeof v);
^
user.cpp:94: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(v1, 0, sizeof v1);
^
user.cpp:95: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:96:28: 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(sums, 0, sizeof sums);
^
user.cpp:64:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("examen.in", "r", stdin);
^
user.cpp:65:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("examen.out", "w", stdout);
^
user.cpp:66:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int N;scanf("%d", &N);
^
user.cpp:69:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &sum[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1280kb | OK | 10 |
2 | 72ms | 2636kb | OK | 10 |
3 | 72ms | 2636kb | OK | 10 |
4 | 0ms | 1280kb | OK | 10 |
5 | 32ms | 1836kb | OK | 10 |
6 | 72ms | 3428kb | OK | 10 |
7 | 0ms | 1276kb | OK | 10 |
8 | 0ms | 1272kb | OK | 10 |
9 | 0ms | 1300kb | OK | 10 |
10 | 56ms | 2636kb | OK | 10 |
Punctaj total | 100 |