123456789101112131415161718192021222324 |
- #include <stdio.h>
- int main(){
- char s[]=".bg`z`lE)gc`}{hD-|\\/OI:retteL>\n\n",k;
- long w=32,r,_,y
- ,i,b,g,p[]={63l<<16,37968,15,32,896,2048,24576,37449,2,12546,3074,19138
- ,3586,585,0},t;
- b=g=r=0;
- while((b<7)&&(g<65278))
- {
- for(_=16;_+10;)
- putchar(_
- -->0?_&7?g>>_&1?s[_]^9:46:w:s[_+w]);
- while((k=getchar())<65);
- for(_=15,t=
- g;_;)
- if((s[_--]^9|w)==(k|w))g|=2<<_;
- if(t==g)r|=p[b++];
- for(y=9,t=0;y--;)
- for(_=9;_;)
- putchar(--_?(i=p[y+6]>>24-3*_&7)?r>>t++&1?s[i+15]:w:w:10);
- }
- return 0;
- }
|