Oops, Anon's Anki deck just leaked.
>>106483570I refuse to believe that saars are memorizing functions as basic as that
>>106483570>>106483633>Trying to memorize with Bruteforce rather than organic reusageYeah, big ngmi
Did this nigga just remake the + operator (but worse) for no reason?
>>106483660Possibly biggest ngmi of all time
>>106483660>>106484271what seems to be the problem?
>>106483633Anki is a *massive* part of basic computer science education in India.
>>106484308How do you reverse 00053
>>106484600leading zeros are insignificant in an integer type, therefore the presented solution will work just as well in this case
>>106483570Ready for pooduction, sar, we need to get him to an American company asap!
>>106483570whats the problem
>>106484761you could take the length as an argument. Just a thought
>>106484532No it's not, the fuck? kek.What sort of divination trips are you pulling this out of lmao? I knew exactly one person who used Anki and he was developing his own flashcard program as a side project.
>>106485116Why are you gay? If somebody wants that gay shit, he can just reverse a string. Reversing an integer type means something.
>>106485200I'm just pointing out that memorizing the function doesn't matter if you don't understand the principle behind it.
>>106485228Your post didn't point that out THOUGH.
>>106485256why does "reversing" imply decimal? Shouldn't it take the radix as an argument? I've needed to reverse numbers in binary more often than in decimal. And yes the length mattered in those cases.
>>106485306Because the question shows a decimal reversal after the id est.>But, it could be any radix greater than 3General convention is that numbers are assumed to be in base 10 unless specified otherwise explicitly, with a radix subscript or informed by context.
>>106485306>length matteredWere you reversing fixed width binary integers? In which case the reversal should automatically be informed by the word size, I can't think of a single case where it makes sense to reverse 0100 as 10 and 00100 as 100, if they're of the same integral type.
>>106485363>In which case the reversal should automatically be informed by the word sizeYou'd think so, but incidentally no. It came up when I was implementing fft.
>>106485402Ferinuff