Posts by Kevin M. Mansour
Today, I have posted my first challenge in Code Golf. I have made the Job in 202 byte. Someone in comments, have changed variables name. e.g: From rot to o, and this renaming have saved 2 bytes. ...
Javascript (V8), 202 97 bytes o=>r=>o.replace(/[a-zA-Z]/g,o=>String.fromCharCode((o<="Z"?90:122)>=(o=o.charCodeAt()+r)?o:o-26)) Try it online! Since the text of input must be ma...
HTML + CSS, 29 + 677 (706) bytes HTML: <div id="S"><div></div></div> CSS: #S{box-sizing:border-box;position:relative;display:block;height:192px;width:163px;}#S div{pos...
Kotlin, 34 bytes fun main(){print("Hello, World!")} Try it online!
Erlang (escript), 43 bytes - cracked by Shaggy main([])-> io:fwrite("Cops and Robbers"). Printing Cops and Robbers as the challenge says. Try it online!
Lean, 64 bytes def hello_world:io unit:=put_str"Hello, World!"#eval hello_world Try it online!