Pagini recente » Borderou de evaluare (job #104886) | Borderou de evaluare (job #898599) | Borderou de evaluare (job #3133785) | Borderou de evaluare (job #1501986) | Borderou de evaluare (job #1501978)
Borderou de evaluare (job #1501978)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(int*)’:
user.cpp:62: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: In function ‘void impart(int*, int*, int)’:
user.cpp:110: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(a, 0, sizeof a);
^
user.cpp: In function ‘int main()’:
user.cpp:135:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d ", &n, &t);
^
user.cpp: In function ‘char nextch()’:
user.cpp:14:37: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buf, BUF_SIZE, 1, fin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 328kb | OK | 10 |
2 | 12ms | 8280kb | Incorect | 0 |
3 | 0ms | 1088kb | Incorect | 0 |
4 | 16ms | 8404kb | Incorect | 0 |
5 | 0ms | 1092kb | Incorect | 0 |
6 | 212ms | 13324kb | Incorect | 0 |
7 | 88ms | 1604kb | Incorect | 0 |
8 | 156ms | 6816kb | Incorect | 0 |
9 | 248ms | 13324kb | Incorect | 0 |
10 | 244ms | 13324kb | Incorect | 0 |
Punctaj total | 10 |