Pagini recente » Borderou de evaluare (job #907326) | Borderou de evaluare (job #1937625) | Borderou de evaluare (job #2965559) | Borderou de evaluare (job #1644539) | Borderou de evaluare (job #1704800)
Borderou de evaluare (job #1704800)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(int64*, pii*, int64*, int, int)’:
user.cpp:37:30: 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(computed, 0, sizeof computed);
^
user.cpp:38: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(used, 0, sizeof used);
^
user.cpp: In function ‘int main()’:
user.cpp:101: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:114: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:115: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:116:29: 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(sums1, 0, sizeof sums1);
^
user.cpp:117:29: 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(sums2, 0, sizeof sums2);
^
user.cpp:84: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:85: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:86: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:89:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &sums[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1060kb | OK | 10 |
2 | 72ms | 2732kb | OK | 10 |
3 | 76ms | 2732kb | OK | 10 |
4 | 0ms | 1056kb | OK | 10 |
5 | 28ms | 1820kb | OK | 10 |
6 | Depăşit | 2704kb | Time limit exceeded. | 0 |
7 | 0ms | 1052kb | Incorect | 0 |
8 | 0ms | 1052kb | Incorect | 0 |
9 | 0ms | 1076kb | Incorect | 0 |
10 | 48ms | 2448kb | Incorect | 0 |
Punctaj total | 50 |