Borderou de evaluare (job #1715852)

Utilizator cristina_borzaCristina Borza cristina_borza Data 11 iunie 2016 15:55:11
Problema Nunta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
10msDepăşitMemory limit exceeded.0
20msDepăşitMemory limit exceeded.0
30msDepăşitMemory limit exceeded.0
40msDepăşitMemory limit exceeded.0
50msDepăşitMemory limit exceeded.0
60msDepăşitMemory limit exceeded.0
70msDepăşitMemory limit exceeded.0
80msDepăşitMemory limit exceeded.0
90msDepăşitMemory limit exceeded.0
100msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?