Pagini recente » Borderou de evaluare (job #1160026) | Borderou de evaluare (job #583652) | Cod sursa (job #3001959) | Borderou de evaluare (job #2699748) | Borderou de evaluare (job #1848983)
Borderou de evaluare (job #1848983)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[a[i]]=1;
^
user.cpp:19:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[c] == 1) {
^
user.cpp:21:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[c] = p;
^
user.cpp:26:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[ a[i] ] > maxim) {
^
user.cpp:27:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
maxim = f[ a[i] ];
^
user.cpp:30:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( f[ a[i] ] == maxim )
^
user.cpp:33:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
st = i - f[ a[i] ];
^
user.cpp:36:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dr = i + f[ a[i] ];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 492kb | OK | 10 |
2 | 0ms | 484kb | OK | 10 |
3 | 0ms | 484kb | OK | 10 |
4 | 0ms | 488kb | OK | 10 |
5 | 0ms | 488kb | OK | 10 |
6 | 0ms | 492kb | OK | 10 |
7 | 0ms | 496kb | OK | 10 |
8 | 0ms | 500kb | OK | 10 |
9 | 0ms | 504kb | OK | 10 |
10 | 0ms | 500kb | OK | 10 |
Punctaj total | 100 |