Help for this page

Select Code to Download


  1. or download this
    $ time ./rtoa-pgatram-allinone3 t1.txt t1.txt t1.txt t1.txt >f4.tmp
    not using fast_io
    ...
    user    0m1.832s
    sys     0m0.121s
    $ cmp f4.tmp fixed4.tmp
    
  2. or download this
    $ time ./rtoa-pgatram-allinone3 t1.txt t1.txt t1.txt t1.txt >f4.tmp
    using fast_io
    ...
    user    0m0.803s
    sys     0m0.091s
    $ cmp f4.tmp fixed4.tmp
    
  3. or download this
    $ time ./rtoa-pgatram-allinone t1.txt t1.txt t1.txt t1.txt >f4.tmp
    do_it_all time    :    1.034 secs
    ...
    real    0m1.049s
    user    0m0.988s
    sys     0m0.061s
    
  4. or download this
    // rtoa-pgatram-allinone3.cpp. Crude allinone version.
    //   based on rtoa-pgatram-allinone2.cpp https://perlmonks.org/?node_i
    +d=11152186
    ...
    
       return 0;
    }