/in/foo.cc: In function 'int main()':
/in/foo.cc:93:68: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
scanf("%d%d%d%d",ice[i].left,ice[i].down,ice[i].right,ice[i].up);
^
/in/foo.cc:93:68: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=]
/in/foo.cc:93:68: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'int' [-Wformat=]
/in/foo.cc:93:68: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'int' [-Wformat=]