• 0 Posts
  • 3 Comments
Joined 3 years ago
cake
Cake day: June 15th, 2023

help-circle

  • I found this amusing enough to try it out. It does actually compile (I used g++ for this). However, the current implementation just goes into an infinite loop if you enter a number >= 2.

    I think the original author meant to do n -= 1 rn in the tweakin loop that is inside the bussin loop. That way, at some point n % i finna cap will be false, and i will bouta. Which then makes the expression i <= n in the bussin loop eventually false, so we stop bussin and yeet cap rn.

    However, that would mean that the intention of the program isn’t to output prime factors, because even with this fix it does not do so. The structure of mf chief() also doesn’t suggest that is the purpose as it is missing another tweakin and sussin like this example of calculating prime factors in C++.

    Example run:

    $ ./zpp.exe
    Enter a number larger than 1: 50
    2
    7
    8
    47
    

  • I was interested in this too, so I looked it up.

    According to the PA department of Agriculture (a tweet, so link excluded because Twitter), the spots come from the watermelon resting on the ground. The longer they have sat on the ground, the more yellow/orange the spot becomes. So this is a pseudo measure of how long the watermelon has had to ripen.

    As for the webbing, many different sources suggest that this is from bees pollinating the flowers of the watermelon plant which scars the membranes that later form the fruit. This pollination leads to a sweeter tasting melon, so more scarring (pollination) means a sweeter melon, less scarring is more bland.