Salmon Recipewaveinscriber.com 38 pointsvitalnodo8 months ago3 commentsSaveHideCopy link On HNComments−netfortius8moInteresting. For me running it in multiple online compilers gets consistently the following output:1 1= 1 2 2= 4 3 3= 9 4 4= 16 5 5= 25 6 6= 36 7 7= 49 8 8= 64 9 9= 81 10 10= 100−teruakohatu8moI ran it here using my phone:https://www.jdoodle.com/c-online-compilerI copied and pasted the code from GitHub (click copy, rather than highlighting and copying).It ran but also outputted the number sequence a few times.It is possible when you did copy n paste the special characters were lost.−teruakohatu8moThis was a good read. I liked the author taking us through the problem and how they solved it step by step.
Comments
Interesting. For me running it in multiple online compilers gets consistently the following output:
1 1= 1 2 2= 4 3 3= 9 4 4= 16 5 5= 25 6 6= 36 7 7= 49 8 8= 64 9 9= 81 10 10= 100
I ran it here using my phone:
https://www.jdoodle.com/c-online-compiler
I copied and pasted the code from GitHub (click copy, rather than highlighting and copying).
It ran but also outputted the number sequence a few times.
It is possible when you did copy n paste the special characters were lost.
This was a good read. I liked the author taking us through the problem and how they solved it step by step.