Timeline for Convert version string to pack_format
Current License: CC BY-SA 4.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 21, 2021 at 11:07 | comment | added | Noodle9 | @tsh Bring on the UB, if it saves bytes we don't care! :D | |
| May 21, 2021 at 11:07 | history | edited | Noodle9 | CC BY-SA 4.0 | added 7 characters in body |
| May 21, 2021 at 6:42 | comment | added | tsh | With some more UB: y;f(p){p=(~-sscanf(p,"1.%d.%d",&p,&y)*y+p*p+3*p)/51+p/17;} | |
| May 20, 2021 at 15:09 | comment | added | Noodle9 | @rtpax Very nice - thanks! :D | |
| May 20, 2021 at 15:08 | history | edited | Noodle9 | CC BY-SA 4.0 | added 101 characters in body |
| May 20, 2021 at 15:02 | comment | added | rtpax | 60 bytes | |
| May 19, 2021 at 12:13 | comment | added | Noodle9 | @CommandMaster When I have some time, I'll check that out - thanks! :D | |
| May 19, 2021 at 10:29 | comment | added | Noodle9 | @tsh Well spotted - thanks! :D | |
| May 19, 2021 at 10:29 | history | edited | Noodle9 | CC BY-SA 4.0 | added 89 characters in body |
| May 19, 2021 at 10:20 | comment | added | tsh | @ceilingcat completely remove the type (use default int) still (at least) works on TIO | |
| May 19, 2021 at 10:16 | comment | added | Noodle9 | @ceilingcat Nice one - thanks! :D | |
| May 19, 2021 at 10:16 | history | edited | Noodle9 | CC BY-SA 4.0 | added 126 characters in body |
| May 19, 2021 at 3:25 | comment | added | Command Master | It's allowed to read from stdin in the default I/O methods, so I think you can just use normal scanf. | |
| May 18, 2021 at 23:44 | history | answered | Noodle9 | CC BY-SA 4.0 |