Right_handed dice

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

Nets of right-handed dice are given, in which the eyes are hidden for some faces.
Reveal all the eyes.

-- tails

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

1#     2      #4  6     #     ##    5#     ##  
 4    ##4#   ##   3#    #63#   #     #     #   
 ##     #   2#     ##    #     #5    1#    #   
 #                  #          1      #   41   
                                               
                                               
45    #     #     6#     #     1    5      #   
 ##   ##6   ##13   ##   #46#   #    #3    ##56 
  ##    4#    #    #       #  ##4    ##     #  
                   4            #     #        
                                               
                                               
5      #    #     #      ##      #    63    #  
3      #1   ##    #41#  32    ##3#  ###   ###2 
##     4     36      #   #      6     #     4  
 #    ##     #           #                     
 #                                             
                                               
 #     #3   4        #   #     #    #     6    
#5##   6    1##   ##4#  #2    2##1  ###   #5## 
 3    ##      ##   2     1#      #   2       # 
      #                  #           4         
                                               
                                               
 #     #     3      #     #6   #      #   #4   
#3     #     ##    ##   ###    #    3##    ##  
 1#   14#    #    3#    2     54     #      #2 
 #      #   2#    1           #      1         
                              #                
                                               
   5   #      #   #4     #       3  #      4   
 #6#   #     5#    5     ##   #2##  ##     #   
##    #4#   6#     #    3#    #      6    2##  
       5     #     ##   5            #3    #   
                                               
                                               
  #    35     ##    1#   #       #   4    #    
##51   #    #2#   2##   1#    ###4   #    ###  
  #   ##    4      #     #       2  ##     6   
       #                 5#          1#    4   
                                               
                                               
 3    #     45     #    #     #       #      5 
 ##   #      #     41   ###5  ##    ###   4### 
2#    ##     ##   ##    3      3#    1    #    
 #     4      #   #            1     5         
       6                                       
                                               
 ##    ##      2   3      #    #    #5       # 
 2     #    4###   #     ##   #2##   #3   ###3 
#4     3     #    ##     #     3     #      1  
 #    6#           2#   32           #         
                                               
                                               
   #   6     6     #    15      #     #    3   
 #56  ###    #     #     ###  2###  3###  5##  
##     #     #     #       #     3  5      #   
       5    ##5   #64                      #   
                                               
                                               
1#     #      ##   1#    #    #       3     26 
 4    ##     ##    5     #    ##2#   ###  ###  
 #     #    35    ##    51#     4   2#      #  
 ##    31         #     #                      
                                               
                                               
   #    #   #4      #21 #       #     #   #    
##63   #2#   #1#  ###   54##   ##   ##5#  53   
   #  #4      #          #    54     1     #   
                              #            ##  
                                               
                                               
  #     2    #    1#    1     ##5   4#     #   
56##  ###    #     ###  #2##   #     2##  #6   
#       #6  #31    2    #      #       #   4#  
            #                  1            #  
                                               
                                               
 5     3     #     ##    5     #      4#  1#   
 #     #    5#    6#     1#    ##3  5##    ##2 
##     #6    ##    #    ##    #2     #     #   
#     ##      3    5     #                     
3                                              
                                               
3##     #    3    54#     6##  5     #      #  
 #    4###  ##2     ### #2#    #3#  3##    ##  
 5     6      ##              ##      5#   4   
 #                                        6#   
                                               
                                               
 #      #     6    5      #   65#    #    3#   
1##4   ##   #3##  ##1#  5##     ###  #     ### 
#     #4       #  #       #4         ##     2  
       5                            21         
                                               

Sample output:

12     2      14  6     2     23    56     23  
 4    3146   35   32    4631   6     3     6   
 56     5   26     14    5     45    12    5   
 3                  5          1      4   41   
                                               
                                               
45    3     5     62     2     1    5      4   
 13   126   6413   31   1463   5    13    2156 
  26    45    2    5       5  364    26     3  
                   4            2     4        
                                               
                                               
5      3    4     5      64      1    63    3  
3      51   15    6413  32    4235  245   6512 
26     4     36      2   1      6     1     4  
 4    62     2           5                     
 1                                             
                                               
 4     23   4        5   6     3    5     6    
1562   6    156   3641  32    2651  136   4532 
 3    45      32   2     14      4   2       1 
      1                  5           4         
                                               
                                               
 6     3     3      5     56   3      5   14   
53     2     65    64   413    1    364    56  
 12   146    4    32    2     54     2      32 
 4      5   21    1           6      1         
                              2                
                                               
   5   3      3   14     6       3  1      4   
 364   2     51    5     24   1265  42     1   
12    146   64     3    31    4      6    235  
       5     2     26   5            53    6   
                                               
                                               
  3    35     35    14   3       5   4    1    
2651   6    126   235   12    1364   6    235  
  4   24    4      6     4       2  53     6   
       1                 56          12    4   
                                               
                                               
 3    2     45     5    4     4       6      5 
 65   3      1     41   6215  56    324   4136 
24    51     23   62    3      32    1    2    
 1     4      6   3            1     5         
       6                                       
                                               
 36    41      2   3      1    4    45       6 
 2     2    4631   5     54   6215   13   2453 
14     3     5    64     6     3     2      1  
 5    65           21   32           6         
                                               
                                               
   4   6     6     2    15      4     2    3   
 156  324    4     1     364  2156  3146  512  
23     1     1     5       2     3  5      4   
       5    235   364                      6   
                                               
                                               
12     5      26   14    6    3       3     26 
 4    64     14    5     3    5126   651  314  
 5     2    35    36    512     4   24      5  
 36    31         2     4                      
                                               
                                               
   2    3   64      621 1       3     6   6    
1463   126   215  453   5423   12   2453  53   
   5  54      3          6    54     1     1   
                              6            42  
                                               
                                               
  4     2    4    15    1     235   41     3   
5621  314    2     364  4235   6     235  26   
3       56  631    2    6      4       6   45  
            5                  1            1  
                                               
                                               
 5     3     1     41    5     5      41  14   
 1     2    54    62     13    413  562    562 
42     46    62    3    42    62     3     3   
6     15      3    5     6                     
3                                              
                                               
324     1    3    542     651  5     2      3  
 1    4235  512     631 324    136  314    51  
 5     6      46              42      56   4   
 6                                        62   
                                               
                                               
 5      3     6    5      6   651    3    35   
1364   26   5324  6413  532     423  6     641 
2     14       1  2       14         45     2  
       5                            21         
                                               

Sample input:_

2      4      #    2      #    41   2        3 
###3  ##2#   3#    #    #3##  ##    1###  #1## 
   #  #     #1    4##      2   #     #       # 
            #     #            #               
                                               
                                               
  #1   #       #   #1    #      #   ##1    #   
###    #    #64#  ##     24   #1##    ##2  #1  
 5    #3#     #    2    ##    2            #   
      5            #    #                 #3   
                                               
                                               
 ##   #        3  #     #       #   #     #    
 6    #1    #2##  3#    #3##  3##   ###5  3#   
 #     #3     #    1#    2      2#     1   ##  
3#      #          #                        6  
                                               
                                               
#       #    #     #    #       #      3   #   
##    #51   3##    #    ##    4##    #5#   2   
 #     #     6     3     6#     1#  ##    #4   
 51    #     #    #6#    4                 ##  
                                               
                                               
  5      5   4    #      #       #   4    4#   
 ##   #4##   1#   1##    #    #2##  #5#    ##1 
3#     #    ##     #    ##1      1   #      #  
#            #     3      3          #         
                                               
                                               
  #6    ##   #2   ##    #     #4     #     #   
3##    1#    #     3#   ##5#   #5#   1     4   
#     3#    ##      5#    1     #   #3#   ##   
             6                       #    #    
                                          6    
                                               
  #    ##   #4    #       #    1      #   5    
 ##    #     #1#  ##4   #1##  4###   ##5  #1## 
#4    1#     #     #       5  #     #1      #  
 6     2           1                           
                                               
                                               
 1     5      #     #   ###   #3     6    ##4  
 #    1#     #5    32#    #32  6##  ##     2   
##5    #    ##    ##           #     #5    #   
  #    ##    4                        #    #   
                                               
                                               
##     #      #3#   2     #     6##  6     #   
 #    65    6##    ##    14   #4#   ##4   3#   
 #     ##          #     #            ##   2#  
 35     #         #1    ##                 #   
                                               
                                               
  #   #6    4#     #     #     #      #4  15   
1##2   #     2     #4    #     ##4  2##    ##  
 #     ##    ##    5    #15   2#     #      ## 
        3    #    ##     #                     
                                               
                                               
 3      #    ##   ##    1       #   ##    ##   
 #    #36#   #     #    #4    5##4   #     #2  
##    #      #     4#    #      #    2#    #   
5           56      2    ##          4     3   
#                                              
                                               
24     3      ##     5   #      4#    56  ##5  
 ##    ##   ##3    ###   #     #2   ###    #   
 #    6#    5     3#     1#   ##      #    #   
 #     #                4#                 4   
                                               
                                               
 #     #     #     #     4    24       #  2    
##5#   4##  #3#   #64#  ##     #    4###  #    
  6   #6      5#     #   #     #     5    #4   
                         6#    ##          #   
                                           #   
                                               
  #    #      #    #     #      #    2    #    
#24#  12##  ##1   5#     #5   ###4  ##4#  21## 
  #      #   #     4#   ##     6     #    #    
             5     #    6                      
                                               
                                               
 2    #     #      4     #       2  #      2   
6###  ###2  #      #    4###  ##6#  ###    6   
  #   4     1#    ##     5    #       31   ##  
             #     2#                     ##   
             3                                 
                                               
 4       #  ##    #      14     ##  54     4#  
 #    ##2#   #3#  3##    #    #31    ###   #   
 #    6        6    #5  ##      #      #  6#   
6##                     #                 #    
                                               

Sample output:

2      4      6    2      5    41   2        3 
1463  5621   32    6    1364  62    1463  5126 
   5  3     51    453      2   3     5       4 
            4     1            5               
                                               
                                               
  21   4       5   51    6      5   631    5   
463    2    3641  64     24   4136    542  41  
 5    631     2    2    31    2            2   
      5            3    5                 63   
                                               
                                               
 54   5        3  6     5       5   6     2    
 6    41    1265  32    1364  364   3245  31   
 2     23     4    14    2      21     1   54  
31      6          5                        6  
                                               
                                               
4       3    1     4    1       6      3   3   
62    651   354    1    23    453    651   2   
 3     4     6     3     65     12  24    14   
 51    2     2    265    4                 56  
                                               
                                               
  5      5   4    2      5       6   4    42   
 64   6413   15   146    4    3245  156    631 
32     2    23     5    621      1   3      5  
1            6     3      3          2         
                                               
                                               
  26    26   32   62    6     24     4     2   
314    14    1     31   2453   156   1     4   
5     35    54      54    1     3   235   15   
             6                       6    3    
                                          6    
                                               
  3    46   64    5       2    1      6   5    
 12    5     215  364   3146  4235   245  4136 
54    13     3     2       5  6     31      2  
 6     2           1                           
                                               
                                               
 1     5      1     6   146   23     6    364  
 3    13     35    324    532  651  24     2   
265    2    26    51           4     15    1   
  4    46    4                        3    5   
                                               
                                               
26     3      532   2     2     631  6     5   
 4    65    641    63    14   245   324   36   
 1     41          5     5            15   24  
 35     2         41    36                 1   
                                               
                                               
  4   26    41     2     6     1      14  15   
1562   4     2     14    4     354  235    36  
 3     15    63    5    215   26     6      24 
        3    5    36     3                     
                                               
                                               
 3      5    32   63    1       6   15    51   
 2    1364   1     5    54    5324   3     42  
14    2      4     41    6      1    26    6   
5           56      2    32          4     3   
6                                              
                                               
24     3      21     5   6      41    56  215  
 15    51   463    641   5     62   413    3   
 3    64    5     32     13   53      2    6   
 6     2                42                 4   
                                               
                                               
 1     1     2     5     4    24       2  2    
2354   423  631   3641  21     1    4631  1    
  6   56      54     2   3     3     5    54   
                         65    65          6   
                                           3   
                                               
  6    3      4    3     4      1    2    4    
3245  1265  621   51     15   2354  3146  2156 
  1      4   3     42   23     6     5    3    
             5     6    6                      
                                               
                                               
 2    3     6      4     2       2  4      2   
6314  6512  2      5    4631  1463  562    6   
  5   4     14    13     5    5       31   53  
             5     26                     41   
             3                                 
                                               
 4       1  41    6      14     24  54     41  
 2    5423   235  324    5    631    621   2   
 3    6        6    15  36      5      3  63   
651                     2                 5    
                                               

Sample input:_

  #     4## 6##     ##6   2   3#      #     5# 
 15   5##    #    #3#    6#    #    35##   #6  
##           5          ##     ##      #  ##   
 #           #           #     2               
                                               
                                               
##     6#   4#       #  #       ##  #2      1# 
 #4#   #     ##   1###  ##    #14    #    ##2  
   2  ##     5     5     #    #      #4   #    
      4      #           32           #        
                                               
                                               
 #    #1      #   #       ##  1       ##   3   
#35#   #     ##   5##3  ##1   ##2   ##4    6#  
 #     ##   1#     #     5      ##    5   ##   
        4   2                              #   
                                               
                                               
 42   #       #      #     #    #   #     1    
##    ##    ##2    ##1  #24#  5###  42##  3##  
 #     5     1    3#     #      3     #     ## 
 #     #1    #                                 
                                               
                                               
  2     1     #     5   ##    4       ##    1  
#4#   4###   ###   ##    #4#  #     #1#    4#  
 #      #   45    3#     2    ##      2    #   
 #                #            #          ##   
                               1               
                                               
 65    #      3     1    #      #     #     #  
 #     3#   ##2#  5###   4     ###  6##3   5#  
##     #     #     #     6#   32    #      4   
#     1#                ##                ##   
                                               
                                               
 #     4     4     #    4#     #    3     6    
21     #    ##    4###   2    32##  ##1   #3   
 #    ###    #      2    ##    #     #     ##  
 ##    6     #6          #           #     #   
                                               
                                               
#      1    ##    1#     #     #      ##   #   
5      #     24#   5##  ###5  #12   #4#    5   
##    ###    #      #     3    #     2    ##1  
 #    2                        #           #   
 4                                             
                                               
#      #    ##     #     #     #       6  ##   
##4   ##     4##   #     #     #    ###5   #2# 
 #     #5     2   #6    26     4    #        3 
 2      1         #     #     5##              
                  2     #                      
                                               
 #     6     #     #    #      #     #     #   
#63    #    #51#   ##   3###   ##   ###1   2## 
  ##   #       #  42       1   #       5  3#   
      #2#          #          53               
                                               
                                               
 3    6      #    3##   4##   42     4     2   
##    2###  1#     #      ##2  #    2##   #3#  
 #6   #      3#    5           #      ##   #   
 #            #    #           ##          #   
                                               
                                               
 #    2      #     #4   2       3    5    #5   
#5##  #1     #     1    ###6  ##1#   #     4#  
3      ##   ##4   ##       #  #      #4     ## 
       #      2    #                ##         
                                               
                                               
 #      #     2     #    #    #      #    #    
 1    ##2#  ###   #4#    #6#  ##3#   5    #14# 
##       4    #3    2#  #4     1    ##1     #  
 #5                                   #        
                                               
                                               
   #   4       5     #  ##    #5#    #1      5 
 ###  ##1#  ###1  ###5   3      4##  #    #4## 
13    #       #     3    5           #       # 
                         ##         #3         
                                               
                                               
##     5       #   3     #    ##    #      2   
 ##    #6   ###1  ##     #     1#   #6##   #4  
  63  ##    4      ##   32#    4    3     ##   
      #            2    #      #          #    
                                               
                                               
   2   #2    ##    ##    #    #       1#  #    
1###   #     5    ##     6    ##     2#   #1   
   #   #    #6     6    #3     24   ##     3#  
      #1     #     3     ##     #           #  
                                               

Sample output:

  4     413 621     146   2   31      1     54 
 15   562    3    235    63    5    3542   36  
23           5          45     64      6  12   
 6           4           1     2               
                                               
                                               
35     62   42       2  1       26  32      13 
 641   3     63   1463  54    314    1    542  
   2  51     5     5     6    5      54   6    
      4      1           32           6        
                                               
                                               
 1    21      4   1       24  1       26   3   
2354   3     56   5423  631   542   314    65  
 6     65   13     6     5      63    5   24   
        4   2                              1   
                                               
                                               
 42   2       6      5     6    4   1     1    
56    63    532    641  3245  5621  4235  354  
 3     5     1    32     1      3     6     62 
 1     41    4                                 
                                               
                                               
  2     1     2     5   35    4       56    1  
146   4235   631   64    641  5     413    42  
 5      6   45    32     2    36      2    6   
 3                1            2          53   
                               1               
                                               
 65    5      3     1    1      5     5     3  
 4     36   5126  5423   4     641  6413   51  
21     2     4     6     62   32    2      4   
3     14                53                62   
                                               
                                               
 4     4     4     5    41     6    3     6    
21     1    15    4136   2    3245  651   53   
 3    235    3      2    63    1     4     12  
 65    6     26          5           2     4   
                                               
                                               
6      1    36    14     4     3      53   3   
5      5     245   562  6215  512   641    5   
13    364    1      3     3    4     2    641  
 2    2                        6           2   
 4                                             
                                               
1      3    65     1     1     3       6  54   
354   26     413   4     3     1    3245   621 
 6     45     2   56    26     4    1        3 
 2      1         3     4     562              
                  2     5                      
                                               
 2     6     3     5    6      1     2     6   
463    5    6512   13   3245   42   4631   245 
  51   1       4  42       1   6       5  31   
      423          6          53               
                                               
                                               
 3    6      4    324   463   42     4     2   
12    2453  15     1      512  6    215   631  
 46   1      36    5           5      36   5   
 5            2    6           13          4   
                                               
                                               
 4    2      1     24   2       3    5    65   
1562  31     5     1    3146  6512   6     41  
3      54   364   35       5  4      24     23 
       6      2    6                31         
                                               
                                               
 4      3     2     5    3    6      3    2    
 1    5126  146   641    265  4532   5    3146 
23       4    53    23  14     1    641     5  
 65                                   2        
                                               
                                               
   4   4       5     4  62    651    51      5 
 562  6215  3641  6215   3      423  4    6413 
13    3       2     3    5           2       2 
                         41         63         
                                               
                                               
51     5       3   3     5    53    4      2   
 42    36   2651  65     6     12   5621   14  
  63  12    4      41   324    4    3     35   
      4            2    1      6          6    
                                               
                                               
   2   42    14    12    4    5       15  4    
1463   6     5    54     6    36     23   21   
   5   3    36     6    53     24   46     35  
      51     2     3     12     1           6  
                                               

Ranking

Perl _

RankUserSizeTimeDateStatistics
1tails2571.08302017/07/13 20:15:560B / 87B / 163B

Python _

RankUserSizeTimeDateStatistics
1rolf9980.19852017/07/04 01:10:22562B / 263B / 169B

C _

RankUserSizeTimeDateStatistics
1lpha2510.04982017/07/15 16:16:050B / 126B / 125B
2nu2530.06102017/07/16 16:03:433B / 133B / 115B
3lpha(nu)2270.05522017/07/22 10:26:530B / 114B / 113B
4nu2400.05182017/07/20 20:46:413B / 114B / 122B
5nu(lpha(nu))2430.06032017/07/18 22:06:310B / 120B / 123B
6lpha2500.06142017/07/22 09:47:440B / 130B / 118B

Language Ranking_

RankLangUserSizeScore
1Clpha(nu)22710000
2Perltails2578832
3Pythonrolf9982274

return top