#include <stdio.h>
//입력값 보류 ㅡ 그리고 출력.
int main(){
int crnt, save = 1, dx = 1;
for(int y
= 0 ; y
< 10 ; y
++ , puts("")){ for(int x = 0 ; x < 10 ; x++){
if(crnt == 1){
}
else if(crnt == 0 && dx <= x){
dx = x+1;
}else{
}
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Ci8v7J6F66Cl6rCSIOuztOulmCDjhaEg6re466as6rOgIOy2nOugpS4KCmludCBtYWluKCl7CiAgICBpbnQgY3JudCwgc2F2ZSA9IDEsIGR4ID0gMTsKICAgIGZvcihpbnQgeSA9IDAgOyB5IDwgMTAgOyB5KysgLCBwdXRzKCIiKSl7CiAgICAgICAgZm9yKGludCB4ID0gMCA7IHggPCAxMCA7IHgrKyl7CiAgICAgICAgICAgIHNjYW5mKCIlZCAiLCAmY3JudCk7CiAgICAgICAgICAgIGlmKGNybnQgPT0gMSl7CiAgICAgICAgICAgICAgICBwcmludGYoIjkiKTsKICAgICAgICAgICAgfQogICAgICAgICAgICBlbHNlIGlmKGNybnQgPT0gMCAmJiBkeCA8PSB4KXsKICAgICAgICAgICAgICAgIHByaW50ZigiOSIpOwogICAgICAgICAgICAgICAgZHggPSB4KzE7CiAgICAgICAgICAgIH1lbHNlewogICAgICAgICAgICAgICAgcHJpbnRmKCIlZCIsY3JudCk7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICB9CiAgICByZXR1cm4gMDsKfQo=
MSAxIDEgMSAxIDEgMSAxIDEgMQoxIDAgMCAxIDAgMCAwIDAgMCAxCjEgMCAwIDEgMSAxIDAgMCAwIDEKMSAwIDAgMCAwIDAgMCAxIDAgMQoxIDAgMCAwIDAgMCAwIDEgMCAxCjEgMCAwIDAgMCAxIDAgMSAwIDEKMSAwIDAgMCAwIDEgMiAxIDAgMQoxIDAgMCAwIDAgMSAwIDAgMCAxCjEgMCAwIDAgMCAwIDAgMCAwIDEKMSAxIDEgMSAxIDEgMSAxIDEgMQ==
1 1 1 1 1 1 1 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