Skip to main content
12 events
when toggle format what by license comment
Dec 19, 2021 at 19:43 comment added Lucas Emanuel Genova @TheFifthMarshal Done! The parenthesis were important...
Dec 19, 2021 at 19:41 history edited Lucas Emanuel Genova CC BY-SA 4.0
added 3 characters in body
Dec 19, 2021 at 19:34 history edited Lucas Emanuel Genova CC BY-SA 4.0
turns out those parenthesis were important
Dec 19, 2021 at 19:17 comment added Lucas Emanuel Genova @The Fifth Marshal It does, and that's bad... it exits early thinking * is the new line character... I'll try to solve that...
Dec 19, 2021 at 16:43 comment added The Fifth Marshal Seems to fail the ---!&*#$a testcase
Dec 15, 2021 at 17:07 history edited Lucas Emanuel Genova CC BY-SA 4.0
shaving bytes
Dec 15, 2021 at 13:22 comment added Lucas Emanuel Genova Thank you all! Really appreciate that! AnttiP, thank you for that! I'll take a look on bit wise operations... @tsh, wow thank you for that! Really insightful! How should I proceed? I saw some people editing their posts to shave some bytes, but it was never that many... And one final note, I couldn't get it to work on TIO, what does the -w flag do? Just ignores the warnings?
Dec 15, 2021 at 7:27 comment added tsh 90 bytes: s[99];main(c){while(c-10)s[(c=getchar())&~32]++;for(c=64;c-90;)s[++c]&&printf("%d",s[c]);}
Dec 15, 2021 at 7:19 comment added AnttiP Welcome to Code Golf! You can convert to uppercase with a bitwise and, saving 13 bytes in the while loop: while((c=getchar())-10)s[c&95]++;
Dec 15, 2021 at 4:57 comment added rydwolf Welcome to Code Golf! Nice first answer.
S Dec 15, 2021 at 4:55 review First answers
Dec 15, 2021 at 4:57
S Dec 15, 2021 at 4:55 history answered Lucas Emanuel Genova CC BY-SA 4.0