Pagini recente » Borderou de evaluare (job #1057124) | Borderou de evaluare (job #1113157) | Borderou de evaluare (job #2688740) | Borderou de evaluare (job #199958) | Borderou de evaluare (job #1187797)
Borderou de evaluare (job #1187797)
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 |
1 | 4ms | 424kb | OK | 10 | 0 |
2 | 12ms | 428kb | OK | 10 |
3 | 32ms | 432kb | OK | 10 |
4 | 172ms | 428kb | OK | 10 |
5 | Depăşit | 416kb | Time limit exceeded. | 0 |
6 | 348ms | 432kb | OK | 10 |
7 | Depăşit | 420kb | Time limit exceeded. | 0 |
8 | Depăşit | 416kb | Time limit exceeded. | 0 |
9 | Depăşit | 412kb | Time limit exceeded. | 0 |
10 | Depăşit | 420kb | Time limit exceeded. | 0 |
Punctaj total | 0 |