Cool S

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Print a Cool S of specified width! 😎

Width is odd and greater than 4.

Options

exec is denied

rejudge feature is enabled

now post-mortem time, all source codes will be revealed

Sample input:_

5

Sample output:

 / \ 
/   \
| | |
| | |
\ \ /
 \ \ 
/ \ \
| | |
| | |
\   /
 \ / 

Sample input:_

33

Sample output:

               / \               
              /   \              
             /     \             
            /       \            
           /         \           
          /           \          
         /             \         
        /               \        
       /                 \       
      /                   \      
     /                     \     
    /                       \    
   /                         \   
  /                           \  
 /                             \ 
/                               \
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
\               \               /
 \               \             / 
  \               \           /  
   \               \         /   
    \               \       /    
     \               \     /     
      \               \   /      
       \               \ /       
        \               \        
       / \               \       
      /   \               \      
     /     \               \     
    /       \               \    
   /         \               \   
  /           \               \  
 /             \               \ 
/               \               \
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
|               |               |
\                               /
 \                             / 
  \                           /  
   \                         /   
    \                       /    
     \                     /     
      \                   /      
       \                 /       
        \               /        
         \             /         
          \           /          
           \         /           
            \       /            
             \     /             
              \   /              
               \ /               

Sample input:_

19

Sample output:

        / \        
       /   \       
      /     \      
     /       \     
    /         \    
   /           \   
  /             \  
 /               \ 
/                 \
|        |        |
|        |        |
|        |        |
|        |        |
|        |        |
|        |        |
|        |        |
|        |        |
|        |        |
\        \        /
 \        \      / 
  \        \    /  
   \        \  /   
    \        \/    
    /\        \    
   /  \        \   
  /    \        \  
 /      \        \ 
/        \        \
|        |        |
|        |        |
|        |        |
|        |        |
|        |        |
|        |        |
|        |        |
|        |        |
|        |        |
\                 /
 \               / 
  \             /  
   \           /   
    \         /    
     \       /     
      \     /      
       \   /       
        \ /        

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1rotary-o1930.07322022/04/06 23:03:550B / 78B / 102B
2rotary-o1910.05382022/04/07 21:00:580B / 82B / 96B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o1930.17302022/04/06 23:03:390B / 78B / 102B

Perl _

RankUserSizeTimeDateStatistics
1tails1930.04802022/04/04 21:42:580B / 76B / 114B
2tails1730.04682022/04/08 10:34:220B / 49B / 111B

C _

RankUserSizeTimeDateStatistics
1ungolfed thing i generated the examples with18570.04272022/03/27 18:45:220B / 563B / 323B

Java _

RankUserSizeTimeDateStatistics
1rotary-o2840.49172022/04/07 18:56:040B / 153B / 127B
2rotary-o2750.20242022/04/07 19:47:480B / 149B / 122B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o2377.97722022/04/07 00:20:260B / 105B / 112B

Language Ranking_

RankLangUserSizeScore
1Perltails17310000
2Rubyrotary-o1919057
3Ruby2rotary-o1938963
4Scalarotary-o2377299
5Javarotary-o2756290
6Cungolfed thing i generated the examples with1857931

return to the top page