Pagini recente » Cod sursa (job #217834) | Cod sursa (job #1745189) | Autentificare | Cod sursa (job #394883) | Borderou de evaluare (job #1501963)
Borderou de evaluare (job #1501963)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(int*)’:
user.cpp:50: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 copy(int*, int*)’:
user.cpp:64: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 ‘void dif(int*, int*, int*)’:
user.cpp:71: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 ‘void impart(int*, int*, int)’:
user.cpp:88: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:113: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);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 300kb | OK | 10 |
| 2 | 12ms | 8304kb | Incorect | 0 |
| 3 | 4ms | 1104kb | OK | 10 |
| 4 | 20ms | 9032kb | OK | 10 |
| 5 | 0ms | 1108kb | OK | 10 |
| 6 | Depăşit | 48020kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 8252kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 39504kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 47324kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 47164kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |