Borderou de evaluare (job #1187797)

Utilizator UAIC_Balan_Negrus_HreapcaUAIC Balan Negrus Hreapca UAIC_Balan_Negrus_Hreapca Data 18 mai 2014 13:48:31
Problema Easylca Status done
Runda ONIS 2014, Runda Finala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void mul(char*, char)’: user.cpp:52:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] A[i] = ((t += A[i] * B) % 10); ^ user.cpp:52:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] A[i] = ((t += A[i] * B) % 10); ^ user.cpp: In function ‘void div(char*, char)’: user.cpp:63:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] A[i] = (t = t * 10 + A[i])/ B; ^ user.cpp:63:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] A[i] = (t = t * 10 + A[i])/ B; ^ user.cpp:65:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(;A[0] > 1 && ! A[A[0]]; A[0]--); ^ user.cpp: In function ‘void add(char*, char)’: user.cpp:74:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] A[i] = ((t += A[i]) % 10); ^ user.cpp:74:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] A[i] = ((t += A[i]) % 10); ^ user.cpp: In function ‘void fromBinary(char*, std::string&)’: user.cpp:103:24: 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:104:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(char i = 0; i < S.length(); i++) ^ user.cpp: In function ‘int main()’: user.cpp:158:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i < X.length() && i < Y.length()) ^ user.cpp:158:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i < X.length() && i < Y.length()) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms424kbOK100
212ms428kbOK10
332ms432kbOK10
4172ms428kbOK10
5Depăşit416kbTime limit exceeded.0
6348ms432kbOK10
7Depăşit420kbTime limit exceeded.0
8Depăşit416kbTime limit exceeded.0
9Depăşit412kbTime limit exceeded.0
10Depăşit420kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?