Pagini recente » Borderou de evaluare (job #1504106) | Borderou de evaluare (job #431612) | Borderou de evaluare (job #1291752) | Borderou de evaluare (job #793424) | Borderou de evaluare (job #1715852)
Borderou de evaluare (job #1715852)
Raport evaluator
Compilare:
user.cpp: In function ‘void adun(char*, char*, char*)’:
user.cpp:36:26: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
memset(A , 0 , sizeof(A));
^
user.cpp:46:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[++A[0]] = t % BASE;
^
user.cpp: In function ‘void copie(char*, char*)’:
user.cpp:52:26: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
memset(A , 0 , sizeof(A));
^
user.cpp: In function ‘void afis(char*)’:
user.cpp:60:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d", A[A[0]]);
^
user.cpp: In function ‘int main()’:
user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nunta.in" , "r" , stdin);
^
user.cpp:17:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nunta.out" , "w" , stdout);
^
user.cpp:18:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd" , &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | Depăşit | Memory limit exceeded. | 0 |
2 | 0ms | Depăşit | Memory limit exceeded. | 0 |
3 | 0ms | Depăşit | Memory limit exceeded. | 0 |
4 | 0ms | Depăşit | Memory limit exceeded. | 0 |
5 | 0ms | Depăşit | Memory limit exceeded. | 0 |
6 | 0ms | Depăşit | Memory limit exceeded. | 0 |
7 | 0ms | Depăşit | Memory limit exceeded. | 0 |
8 | 0ms | Depăşit | Memory limit exceeded. | 0 |
9 | 0ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |