Twos in Pascals triangle

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

Please show how many times each number in Pascal's triangle is divisible by 2.
If the number is odd, however, put a dot instead.

-- tails

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

*NOTHING*

Sample output:

                                                               .                                                               
                                                              . .                                                              
                                                             . 1 .                                                             
                                                            . . . .                                                            
                                                           . 2 1 2 .                                                           
                                                          . . 1 1 . .                                                          
                                                         . 1 . 2 . 1 .                                                         
                                                        . . . . . . . .                                                        
                                                       . 3 2 3 1 3 2 3 .                                                       
                                                      . . 2 2 1 1 2 2 . .                                                      
                                                     . 1 . 3 1 2 1 3 . 1 .                                                     
                                                    . . . . 1 1 1 1 . . . .                                                    
                                                   . 2 1 2 . 3 2 3 . 2 1 2 .                                                   
                                                  . . 1 1 . . 2 2 . . 1 1 . .                                                  
                                                 . 1 . 2 . 1 . 3 . 1 . 2 . 1 .                                                 
                                                . . . . . . . . . . . . . . . .                                                
                                               . 4 3 4 2 4 3 4 1 4 3 4 2 4 3 4 .                                               
                                              . . 3 3 2 2 3 3 1 1 3 3 2 2 3 3 . .                                              
                                             . 1 . 4 2 3 2 4 1 2 1 4 2 3 2 4 . 1 .                                             
                                            . . . . 2 2 2 2 1 1 1 1 2 2 2 2 . . . .                                            
                                           . 2 1 2 . 4 3 4 1 3 2 3 1 4 3 4 . 2 1 2 .                                           
                                          . . 1 1 . . 3 3 1 1 2 2 1 1 3 3 . . 1 1 . .                                          
                                         . 1 . 2 . 1 . 4 1 2 1 3 1 2 1 4 . 1 . 2 . 1 .                                         
                                        . . . . . . . . 1 1 1 1 1 1 1 1 . . . . . . . .                                        
                                       . 3 2 3 1 3 2 3 . 4 3 4 2 4 3 4 . 3 2 3 1 3 2 3 .                                       
                                      . . 2 2 1 1 2 2 . . 3 3 2 2 3 3 . . 2 2 1 1 2 2 . .                                      
                                     . 1 . 3 1 2 1 3 . 1 . 4 2 3 2 4 . 1 . 3 1 2 1 3 . 1 .                                     
                                    . . . . 1 1 1 1 . . . . 2 2 2 2 . . . . 1 1 1 1 . . . .                                    
                                   . 2 1 2 . 3 2 3 . 2 1 2 . 4 3 4 . 2 1 2 . 3 2 3 . 2 1 2 .                                   
                                  . . 1 1 . . 2 2 . . 1 1 . . 3 3 . . 1 1 . . 2 2 . . 1 1 . .                                  
                                 . 1 . 2 . 1 . 3 . 1 . 2 . 1 . 4 . 1 . 2 . 1 . 3 . 1 . 2 . 1 .                                 
                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                
                               . 5 4 5 3 5 4 5 2 5 4 5 3 5 4 5 1 5 4 5 3 5 4 5 2 5 4 5 3 5 4 5 .                               
                              . . 4 4 3 3 4 4 2 2 4 4 3 3 4 4 1 1 4 4 3 3 4 4 2 2 4 4 3 3 4 4 . .                              
                             . 1 . 5 3 4 3 5 2 3 2 5 3 4 3 5 1 2 1 5 3 4 3 5 2 3 2 5 3 4 3 5 . 1 .                             
                            . . . . 3 3 3 3 2 2 2 2 3 3 3 3 1 1 1 1 3 3 3 3 2 2 2 2 3 3 3 3 . . . .                            
                           . 2 1 2 . 5 4 5 2 4 3 4 2 5 4 5 1 3 2 3 1 5 4 5 2 4 3 4 2 5 4 5 . 2 1 2 .                           
                          . . 1 1 . . 4 4 2 2 3 3 2 2 4 4 1 1 2 2 1 1 4 4 2 2 3 3 2 2 4 4 . . 1 1 . .                          
                         . 1 . 2 . 1 . 5 2 3 2 4 2 3 2 5 1 2 1 3 1 2 1 5 2 3 2 4 2 3 2 5 . 1 . 2 . 1 .                         
                        . . . . . . . . 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 . . . . . . . .                        
                       . 3 2 3 1 3 2 3 . 5 4 5 3 5 4 5 1 4 3 4 2 4 3 4 1 5 4 5 3 5 4 5 . 3 2 3 1 3 2 3 .                       
                      . . 2 2 1 1 2 2 . . 4 4 3 3 4 4 1 1 3 3 2 2 3 3 1 1 4 4 3 3 4 4 . . 2 2 1 1 2 2 . .                      
                     . 1 . 3 1 2 1 3 . 1 . 5 3 4 3 5 1 2 1 4 2 3 2 4 1 2 1 5 3 4 3 5 . 1 . 3 1 2 1 3 . 1 .                     
                    . . . . 1 1 1 1 . . . . 3 3 3 3 1 1 1 1 2 2 2 2 1 1 1 1 3 3 3 3 . . . . 1 1 1 1 . . . .                    
                   . 2 1 2 . 3 2 3 . 2 1 2 . 5 4 5 1 3 2 3 1 4 3 4 1 3 2 3 1 5 4 5 . 2 1 2 . 3 2 3 . 2 1 2 .                   
                  . . 1 1 . . 2 2 . . 1 1 . . 4 4 1 1 2 2 1 1 3 3 1 1 2 2 1 1 4 4 . . 1 1 . . 2 2 . . 1 1 . .                  
                 . 1 . 2 . 1 . 3 . 1 . 2 . 1 . 5 1 2 1 3 1 2 1 4 1 2 1 3 1 2 1 5 . 1 . 2 . 1 . 3 . 1 . 2 . 1 .                 
                . . . . . . . . . . . . . . . . 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 . . . . . . . . . . . . . . . .                
               . 4 3 4 2 4 3 4 1 4 3 4 2 4 3 4 . 5 4 5 3 5 4 5 2 5 4 5 3 5 4 5 . 4 3 4 2 4 3 4 1 4 3 4 2 4 3 4 .               
              . . 3 3 2 2 3 3 1 1 3 3 2 2 3 3 . . 4 4 3 3 4 4 2 2 4 4 3 3 4 4 . . 3 3 2 2 3 3 1 1 3 3 2 2 3 3 . .              
             . 1 . 4 2 3 2 4 1 2 1 4 2 3 2 4 . 1 . 5 3 4 3 5 2 3 2 5 3 4 3 5 . 1 . 4 2 3 2 4 1 2 1 4 2 3 2 4 . 1 .             
            . . . . 2 2 2 2 1 1 1 1 2 2 2 2 . . . . 3 3 3 3 2 2 2 2 3 3 3 3 . . . . 2 2 2 2 1 1 1 1 2 2 2 2 . . . .            
           . 2 1 2 . 4 3 4 1 3 2 3 1 4 3 4 . 2 1 2 . 5 4 5 2 4 3 4 2 5 4 5 . 2 1 2 . 4 3 4 1 3 2 3 1 4 3 4 . 2 1 2 .           
          . . 1 1 . . 3 3 1 1 2 2 1 1 3 3 . . 1 1 . . 4 4 2 2 3 3 2 2 4 4 . . 1 1 . . 3 3 1 1 2 2 1 1 3 3 . . 1 1 . .          
         . 1 . 2 . 1 . 4 1 2 1 3 1 2 1 4 . 1 . 2 . 1 . 5 2 3 2 4 2 3 2 5 . 1 . 2 . 1 . 4 1 2 1 3 1 2 1 4 . 1 . 2 . 1 .         
        . . . . . . . . 1 1 1 1 1 1 1 1 . . . . . . . . 2 2 2 2 2 2 2 2 . . . . . . . . 1 1 1 1 1 1 1 1 . . . . . . . .        
       . 3 2 3 1 3 2 3 . 4 3 4 2 4 3 4 . 3 2 3 1 3 2 3 . 5 4 5 3 5 4 5 . 3 2 3 1 3 2 3 . 4 3 4 2 4 3 4 . 3 2 3 1 3 2 3 .       
      . . 2 2 1 1 2 2 . . 3 3 2 2 3 3 . . 2 2 1 1 2 2 . . 4 4 3 3 4 4 . . 2 2 1 1 2 2 . . 3 3 2 2 3 3 . . 2 2 1 1 2 2 . .      
     . 1 . 3 1 2 1 3 . 1 . 4 2 3 2 4 . 1 . 3 1 2 1 3 . 1 . 5 3 4 3 5 . 1 . 3 1 2 1 3 . 1 . 4 2 3 2 4 . 1 . 3 1 2 1 3 . 1 .     
    . . . . 1 1 1 1 . . . . 2 2 2 2 . . . . 1 1 1 1 . . . . 3 3 3 3 . . . . 1 1 1 1 . . . . 2 2 2 2 . . . . 1 1 1 1 . . . .    
   . 2 1 2 . 3 2 3 . 2 1 2 . 4 3 4 . 2 1 2 . 3 2 3 . 2 1 2 . 5 4 5 . 2 1 2 . 3 2 3 . 2 1 2 . 4 3 4 . 2 1 2 . 3 2 3 . 2 1 2 .   
  . . 1 1 . . 2 2 . . 1 1 . . 3 3 . . 1 1 . . 2 2 . . 1 1 . . 4 4 . . 1 1 . . 2 2 . . 1 1 . . 3 3 . . 1 1 . . 2 2 . . 1 1 . .  
 . 1 . 2 . 1 . 3 . 1 . 2 . 1 . 4 . 1 . 2 . 1 . 3 . 1 . 2 . 1 . 5 . 1 . 2 . 1 . 3 . 1 . 2 . 1 . 4 . 1 . 2 . 1 . 3 . 1 . 2 . 1 . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Ranking

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o1000.06362016/11/07 00:37:020B / 53B / 38B

Perl _

RankUserSizeTimeDateStatistics
1teebee760.05782016/11/12 00:52:590B / 28B / 47B
2tails800.02362016/11/12 02:11:170B / 28B / 50B
3_5840.01762016/11/08 09:55:4424B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1xnor970.04192016/11/05 07:23:240B / 60B / 30B
2lynn1010.03262016/11/11 07:58:420B / ?B / ?B
3Sp30001030.11712016/11/17 23:31:550B / 52B / 47B
4dianne1070.04192016/11/06 11:04:230B / 61B / 41B
5recursive1100.03522016/11/05 07:13:510B / 63B / 42B
6hallvabo1170.04202016/11/15 23:42:360B / 72B / 38B
7rolf1210.03652016/11/06 21:51:300B / 68B / 44B
8Sp3000 (xnor)940.10112016/11/19 12:09:290B / 57B / 31B

C _

RankUserSizeTimeDateStatistics
1tails1000.00022016/11/06 22:47:090B / 56B / 44B
2%201140.00022016/11/05 05:40:560B / 55B / 59B
3tails990.01132016/11/21 09:58:280B / 54B / 45B

Haskell _

RankUserSizeTimeDateStatistics
1dianne1430.01972016/11/16 14:05:260B / 68B / 62B
2yuki2170.01322016/11/15 11:53:330B / 114B / 72B
3dianne1180.01862016/11/20 04:16:280B / 56B / 54B

sed _

RankUserSizeTimeDateStatistics
1tails1340.10842016/11/15 15:44:230B / 44B / 69B
2mitchs(tails)1310.10112016/11/19 13:03:180B / 45B / 66B
3mitchs (tails)1320.12802016/11/19 09:08:460B / 45B / 63B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails930.20162016/11/07 23:06:490B / 42B / 48B

GolfScript _

RankUserSizeTimeDateStatistics
1tails581.73212016/11/16 22:28:251B / 24B / 32B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs250.26932016/11/05 04:24:3711B / 6B / 7B
2whio250.27642016/11/16 03:31:5511B / 7B / 7B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik470.33782016/11/11 23:20:020B / 32B / 13B

Language Ranking_

RankLangUserSizeScore
1gs2mitchs2510000
2BurlesqueHendrik475319
3GolfScripttails584310
4Perlteebee763289
5Bash (builtins)tails932688
6PythonSp3000 (xnor)942659
7Ctails992525
8Ruby2rotary-o1002500
9Haskelldianne1182118
10sedmitchs(tails)1311908

return top