Skip to content

Instantly share code, notes, and snippets.

@TheoKlein
Created September 19, 2015 11:27
Show Gist options
  • Select an option

  • Save TheoKlein/4e8cfbda26a1ac9c5a7b to your computer and use it in GitHub Desktop.

Select an option

Save TheoKlein/4e8cfbda26a1ac9c5a7b to your computer and use it in GitHub Desktop.
ZeroJudge d050
#include <stdio.h>
int main(int argc, const char * argv[]) {
int t;
while (scanf ("%d",&t) != EOF){
printf ("%d\n",(t + 9) % 24);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment