24 hour clock by McBusLuck

for(scale=-a=read();a--;){if(A>.=23-read())"0"
print.,":"
if(A>.=60-read()-!!d=(60-read())%60)"0"
print.,":"
if(A>d)"0"
d}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page