#include #include using namespace std; int main() { int sl,ra,pd,s1,s2; while(1) { bool ** pole; scanf("%i %i %i",&ra,&sl,&pd); if(ra==0&&sl==0&&pd==0)break; //vytvoreni pole pole = new bool* [sl]; for(int i=0;i=0&&y>=0;x--,y--){ pole[x][y]=false; } for(int x=s1,y=s2;x=0;x++,y--){ pole[x][y]=false; } for(int x=s1,y=s2;x>=0&&y