rect by rotary-o

import java.util.*;enum M{M;System z;{Scanner s=new Scanner(z.in);for(int w=s.nextInt(),h=s.nextInt(),i=0,j=0;i++<h+2;)for(j=w+3;j-->0;)z.out.write(j>0?j%~w==1?i%~h==1?43:124:i%~h==1?45:32:10);}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page