Borderou de evaluare (job #1776295)
Raport evaluator
Compilare:
user.cpp: In function ‘void init(int*, int)’:
user.cpp:11:23: 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 sum(int*, int*, int*)’:
user.cpp:21:23: 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(z,0,sizeof(z));
^
user.cpp: In function ‘int main()’:
user.cpp:49:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i<=x;i++) //tratez liniile de la 1 la x
^
user.cpp:52:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=1;j<=y;j++)//tratez alementele de pe coloanele 1..y
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 416kb | OK | 10 |
2 | 0ms | 420kb | OK | 10 |
3 | 0ms | 420kb | OK | 10 |
4 | 0ms | 428kb | OK | 10 |
5 | 0ms | 420kb | OK | 10 |
6 | 0ms | 436kb | OK | 10 |
7 | 0ms | 452kb | OK | 10 |
8 | 0ms | 476kb | OK | 10 |
9 | 4ms | 512kb | OK | 10 |
10 | 4ms | 520kb | OK | 10 |
Punctaj total | 100 |