Pagini recente » Borderou de evaluare (job #1445778) | Borderou de evaluare (job #2154238) | Borderou de evaluare (job #41724) | Borderou de evaluare (job #1290549) | Borderou de evaluare (job #1208714)
Borderou de evaluare (job #1208714)
Raport evaluator
Compilare:
user.cpp: In function ‘void Try_it(char, char, char, long int)’:
user.cpp:10:8: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r[i][j] = 0;
^
user.cpp:10:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r[i][j] = 0;
^
user.cpp:11:10: warning: array subscript has type ‘char’ [-Wchar-subscripts]
l[pas] = a[i][j];
^
user.cpp:11:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
l[pas] = a[i][j];
^
user.cpp:11:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
l[pas] = a[i][j];
^
user.cpp:12:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sum += 1L*pas*a[i][j];
^
user.cpp:12:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sum += 1L*pas*a[i][j];
^
user.cpp:20:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (r[i-1][j]) Try_it(pas+1,i-1,j,sum);
^
user.cpp:21:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (r[i+1][j]) Try_it(pas+1,i+1,j,sum);
^
user.cpp:22:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (r[i][j-1]) Try_it(pas+1,i,j-1,sum);
^
user.cpp:23:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (r[i][j+1]) Try_it(pas+1,i,j+1,sum);
^
user.cpp:30:8: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r[i][j] = 1;
^
user.cpp:30:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r[i][j] = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:38:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d %d\n",&n,&m);
^
user.cpp:38:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
user.cpp:41:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scanf("%d ",&a[i][j]);
^
user.cpp:41:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scanf("%d ",&a[i][j]);
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Incorect | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 260kb | Incorect | 0 |
5 | 0ms | 264kb | Incorect | 0 |
6 | 0ms | 264kb | Incorect | 0 |
7 | 0ms | 256kb | Incorect | 0 |
8 | 0ms | 260kb | Incorect | 0 |
9 | 0ms | 256kb | Incorect | 0 |
10 | 0ms | 256kb | Incorect | 0 |
Punctaj total | 0 |