You are reading a single comment by @Greenbank and its replies. Click here to read the full conversation.
  • Near instantaneous (including looking for a 4-tuple that satisfies the requirements) but that's the benefit of not doing in something bonkers like ansible.

    $ cat 1.inp | time ./1.pl 4
    Answer: 968 1052 = 1018336
    Answer: 846 530 644 = 288756720
    Answer: 1193 339 339 149 = 20428012197
    0.00user 0.00system 0:00.00elapsed 100%CPU (0avgtext+0avgdata 9376maxresident)k
    0inputs+0outputs (0major+625minor)pagefaults 0swaps

About

Avatar for Greenbank @Greenbank started