33
wowotek
6y

#include <time.h>
char*w = "AAAA########+++///9999AA Good %s!\n\0Morning\0Day\0Afternoon\0Evening\0Night";
int main(){time_t t=time(0);return printf(w+25, w+w[localtime(&t)->tm_hour]);}

//bisqwit's code

Comments
  • 8
    You probably need to rest or sleep
  • 4
    @devTea yeah really, but this code works !
  • 8
    kill -9 bisqwit
  • 3
    @PrivateGER why? 😂
  • 4
    That is just...*vomits*
  • 5
    @PrivateGER Weirdly this kind of discipline is considered an art ! there is a community that dedicated to make a useful program but written in really obfuscated code like this.
  • 3
    @Brosyl I agree with you, bisqwit mention the contest in his video. he is a really great and skillful programmer. i am a fan of him for some degree.
  • 1
    Code golfing 😊
    It's really quite fun!

    It also teaches you some really neat optimizations like the lookup used above.
Add Comment