0_0_38592500_1364.cpp: In function 'void clear()':
0_0_38592500_1364.cpp:16:30: error: expected ';' before 'for'
memset(ans,0,sizeof(ans))
^
;
for(register int i=0;i<=cnt;++i) l[i]=r[i]=u[i]=d[i]=row[i]=col[i]=0;
~~~
0_0_38592500_1364.cpp:17:26: error: 'i' was not declared in this scope
for(register int i=0;i<=cnt;++i) l[i]=r[i]=u[i]=d[i]=row[i]=col[i]=0;
^
|