Pagini recente » Borderou de evaluare (job #3274921) | Borderou de evaluare (job #2671977) | Borderou de evaluare (job #88700) | Borderou de evaluare (job #537603) | Borderou de evaluare (job #1171993)
Borderou de evaluare (job #1171993)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(in,"%d%d",&n,&m);
^
user.cpp:24:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=]
user.cpp:30:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(c=='R') pozi=make_pair(i,j),a[i][j]=1;
^
user.cpp:30:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(c=='R') pozi=make_pair(i,j),a[i][j]=1;
^
user.cpp:31:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(c=='J') pozf=make_pair(i,j),b[i][j]=1;
^
user.cpp:31:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(c=='J') pozf=make_pair(i,j),b[i][j]=1;
^
user.cpp:32:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(c=='X') a[i][j]=b[i][j]=2;
^
user.cpp:32:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(c=='X') a[i][j]=b[i][j]=2;
^
user.cpp:32:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(c=='X') a[i][j]=b[i][j]=2;
^
user.cpp:32:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(c=='X') a[i][j]=b[i][j]=2;
^
user.cpp:43:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
auxi=make_pair(aux.first+dx[i],aux.second+dy[i]);
^
user.cpp:43:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
auxi=make_pair(aux.first+dx[i],aux.second+dy[i]);
^
user.cpp:44:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!a[auxi.first][auxi.second]&&inauntru(auxi))
^
user.cpp:44:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!a[auxi.first][auxi.second]&&inauntru(auxi))
^
user.cpp:46:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[auxi.first][auxi.second]=a[aux.first][aux.second]+1;
^
user.cpp:46:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[auxi.first][auxi.second]=a[aux.first][aux.second]+1;
^
user.cpp:46:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[auxi.first][auxi.second]=a[aux.first][aux.second]+1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 236kb | Incorect | 0 | 0 |
2 | 0ms | 232kb | Incorect | 0 |
3 | 0ms | 232kb | Incorect | 0 |
4 | 0ms | 232kb | Incorect | 0 |
5 | 0ms | 232kb | Incorect | 0 |
6 | 0ms | 232kb | Incorect | 0 | 0 |
7 | 0ms | 232kb | Incorect | 0 |
8 | 0ms | 232kb | Incorect | 0 |
9 | 0ms | 232kb | Incorect | 0 |
10 | 0ms | 232kb | Incorect | 0 |
Punctaj total | 0 |