Pagini recente » Borderou de evaluare (job #298306) | Borderou de evaluare (job #71237) | Borderou de evaluare (job #245931) | Borderou de evaluare (job #2350188) | Borderou de evaluare (job #2502519)
Borderou de evaluare (job #2502519)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:36: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'char*' [-Wformat=]
fscanf(fin,"%d%d",&y0.l,&y0.c);
^
main.cpp:21:36: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'char*' [-Wformat=]
main.cpp:22:13: warning: array subscript has type 'char' [-Wchar-subscripts]
a[y0.l][y0.c]=true;
^
main.cpp:22:19: warning: array subscript has type 'char' [-Wchar-subscripts]
a[y0.l][y0.c]=true;
^
main.cpp:26:50: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'char*' [-Wformat=]
fscanf(fin,"%d%d%d%d",&x0.l,&x0.c,&y0.l,&y0.c);
^
main.cpp:26:50: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'char*' [-Wformat=]
main.cpp:26:50: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'char*' [-Wformat=]
main.cpp:26:50: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'char*' [-Wformat=]
main.cpp:29:11: warning: array subscript has type 'char' [-Wchar-subscripts]
d[x0.l][x0.c]=1;
^
main.cpp:29:17: warning: array subscript has type 'char' [-Wchar-subscripts]
d[x0.l][x0.c]=1;
^
main.cpp:36:18: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!a[y.l][y.c] && d[y.l][y.c]==0){
^
main.cpp:36:23: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!a[y.l][y.c] && d[y.l][y.c]==0){
^
main.cpp:36:33: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!a[y.l][y.c] && d[y.l][y.c]==0){
^
main.cpp:36:38: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!a[y.l][y.c] && d[y.l][y.c]==0){
^
main.cpp:37:16: warning: array subscript has type 'char' [-Wchar-subscripts]
d[y.l][y.c]=1+d[x.l][x.c];
^
main.cpp:37:21: warning: array subscript has type 'char' [-Wchar-subscripts]
d[y.l][y.c]=1+d[x.l][x.c];
^
main.cpp:37:30: warning: array subscript has type 'char' [-Wchar-subscripts]
d[y.l][y.c]=1+d[x.l][x.c];
^
main.cpp:37:35: warning: array subscript has type 'char' [-Wchar-subscripts]
d[y.l][y.c]=1+d[x.l][x.c];
^
main.cpp:43:30: warning: array subscript has type 'char' [-Wchar-subscripts]
fprintf(fout,"%hd",d[y0.l][y0.c]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 262kb | Killed by Signal 11 | 0 |
2 | 4ms | 262kb | Killed by Signal 11 | 0 |
3 | 5ms | 131kb | Killed by Signal 11 | 0 |
4 | 5ms | 262kb | Killed by Signal 11 | 0 |
5 | 4ms | 262kb | Killed by Signal 11 | 0 |
6 | 5ms | 262kb | Killed by Signal 11 | 0 |
7 | 8ms | 262kb | Killed by Signal 11 | 0 |
8 | 3ms | 131kb | Killed by Signal 11 | 0 |
9 | 5ms | 131kb | Killed by Signal 11 | 0 |
10 | 5ms | 262kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |