[ create a new paste ] login | about

Link: http://codepad.org/tu4HDqSy    [ raw code | output | fork ]

kinopiko - C, pasted on Oct 24:
1
2
3
4
5
6
7
8
9
10
#define F(r)for(r=0;r<98;r++)
#define C(y,s)for(k=0;s[k];k++)b[49-i][w+k+y]=s[k];i++;
char k,i,j,w,t,b[98][99];main(){

int c=9;
char *v[]={"1","2","3","4","-2","4","3","2","1"};

F(i)F(j)b[i][j]=32;
for(j=0;j<c;j++){i=2*atoi(v[j]);t=0;if(i>0)t=i,i=0;for(;i<t;i-=2){
C(0,"|___|/")C(0,"|   | |")C(1,"/__ /|")C(3,"__")}w+=4;}F(i)puts(b[i]);}


Output:
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
               __      __                                                                         
             /__ /|  /__ /|                                                                       
           _|   | | |   | |__                                                                     
         /__|___|/| |___|/__ /|                                                                   
       _|   |   | | |   |   | |__                                                                 
     /__|___|___|/| |___|___|/__ /|                                                               
   _|   |   |   | | |   |   |   | |__                                                             
 /__|___|___|___|/| |___|___|___|/__ /|                                                           
|   |   |   |   | |_|   |   |   |   | |                                                           
|___|___|___|___|/__|___|___|___|___|/                                                            
                |   | |                                                                           
                |___|/|                                                                           
                |   | |                                                                           
                |___|/                                                                            
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  
                                                                                                  

Exited: ExitFailure 98


Create a new paste based on this one


Comments: