Pagini recente » Borderou de evaluare (job #1825263) | Borderou de evaluare (job #2487535) | Borderou de evaluare (job #1798630) | Borderou de evaluare (job #3127937) | Borderou de evaluare (job #1593132)
Borderou de evaluare (job #1593132)
Raport evaluator
Compilare:
user.cpp: In function ‘void setvalue(bignr&, char)’:
user.cpp:34:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A.v[A.lung] = x%10;
^
user.cpp: In function ‘bignr product(bignr, bignr)’:
user.cpp:44:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i=0; i<N; ++i) C.v[i] = 0;
^
user.cpp:53:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
C.v[i+j-1] += B.v[j] * A.v[i];
^
user.cpp:53:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
C.v[i+j-1] += B.v[j] * A.v[i];
^
user.cpp:56:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(C.v[k]>9)
^
user.cpp:58:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
rest = C.v[k] / 10;
^
user.cpp:59:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
C.v[k] %= 10;
^
user.cpp:66:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(C.v[C.lung] == 0) --C.lung;
^
user.cpp: In function ‘bignr sum(bignr, bignr)’:
user.cpp:76:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i=0; i<N; ++i) C.v[i] = 0;
^
user.cpp:77:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i=1; i<=B.lung; ++i) C.v[i] = B.v[i];
^
user.cpp:77:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i=1; i<=B.lung; ++i) C.v[i] = B.v[i];
^
user.cpp:81:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
C.v[i] += A.v[i];
^
user.cpp:81:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
C.v[i] += A.v[i];
^
user.cpp:83:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(C.v[k] > 9)
^
user.cpp:85:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
rest = C.v[k] / 10;
^
user.cpp:86:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
C.v[k] %= 10;
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 368kb | Time limit exceeded. | 0 |
2 | Depăşit | 364kb | Time limit exceeded. | 0 |
3 | Depăşit | 364kb | Time limit exceeded. | 0 |
4 | Depăşit | 368kb | Time limit exceeded. | 0 |
5 | Depăşit | 368kb | Time limit exceeded. | 0 |
6 | Depăşit | 372kb | Time limit exceeded. | 0 |
7 | Depăşit | 364kb | Time limit exceeded. | 0 |
8 | Depăşit | 372kb | Time limit exceeded. | 0 |
9 | Depăşit | 372kb | Time limit exceeded. | 0 |
10 | Depăşit | 368kb | Time limit exceeded. | 0 |
Punctaj total | 0 |