(Though, any floating point result with 0 fractional part is converted to an integer, so now I'm not sure if technically 100.0 should be treated as 100 to begin with... hm.)
Floating-point support in Pip has always been a bit half-baked, I guess.
Announcement: The 25 challenges for AoCG2021 are ready (almost). Feedback appreciated, and let me know if you have ideas or opinions for the challenge ordering.
Inspired by this Puzzling SE question: All distances different on a chess board.
Introduction
Lets define a sequence \$a(n), n\geqslant 1\$ as how many pawns can you put on a \$n \times n\$ chessboard in such a way that all the distances between two pawns are different.
Pawns are placed always i...
why do i have to wait another 23 hours to put a bounty
first i have to wait for one bounty to be finished for like a week then i gotta wait another day after i click ok on the bounty like whats with all the waitin
Does "syntactically valid line of code" mean "the line of code must be a syntactically valid statement" or "the program with the line of code inserted must be syntactically valid"
@AlanBagel U takes the first input, and then ê returns true if it is a palindrome, but only if given a string I think? But it looks like it is checking the U at the beginning, not the string that gets passed to it. For example, Uêl also works. The important part is that you use U to get the input, and you pass a string to ê.
Disclaimer: I don't know Japt; this is the first time I've even glanced at the docs. Any part of this could be completely wrong.