Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

The 10**21 Problem (Part 4)

by eyepopslikeamosquito (Archbishop)
on May 19, 2014 at 11:48 UTC ( [id://1086650]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $bytemap_root = "lookzpM.byte";
    my $fname        = $bytemap_root . "-0";
    dump_blocks( $fname, 16 );
    
  2. or download this
    block 1:
      0 118   0 126   0 126   0 102   0 102   0  94   0  94   0  86
    ...
     12  14   8   6   4   6   0 126   0 110   0 118   0 118   0 126
      0  78   0  70   0  70   0  94   0 110   0   0   0   0   0   0
      0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
    
  3. or download this
    #define LAST_CHUNK_IDX_4MB      33554431
    #define LAST_CHUNK_IDX_8MB      (33554432*2 - 1)
    ...
       }
       fclose(fh);
    }
    
  4. or download this
    #include <emmintrin.h>
    #include <smmintrin.h>
    ...
       }
       return iret;
    }
    
  5. or download this
     1  23 105 120  47  93  48 104  16  39: 1000 500 100 50 10   5  734
     1  61  61  73  46 107   4 103 114  54: 1000 500 100 50 10 916    1
    ...
    17  57 107  60 113 117  72  64  56  17: 1000 500 100 50 10 988    1
    17 107  81  48  51   8 106   7  62  69: 1000 500 100 50 10 105    1
    17 123  66  76  11  24  57  58   7  65: 1000 500 100 50 10   5  974
    
  6. or download this
    1: 4
    2: 4
    ...
    number of 5 (V) hits found: 35
    number of 1 (I) hits found: 35
    Ave: 4.60
    
  7. or download this
     1: 64
     3: 58
    ...
    998: 64 *EVEN*
    1000: 57 *EVEN*
    nhit = 51, nodd=0, neven=51, sum = 3231, min = 43, max = 84, ave=63.35
    +29411764706
    
  8. or download this
    magic = chr(17)+chr(11)+chr(119)+chr(60)+chr(47)+chr(44)+chr(78)+chr(1
    +03)+chr(125)+chr(48)
    for r in ["M", "D", "C", "L", "X", "V", "I"]:
      n = hash(r + magic) % 1001
      print r, n
    
  9. or download this
    M 1000
    D 500
    ...
    X 10
    V 5
    I 1
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://1086650]
Approved by marto
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-19 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found