fork(1) download
  1. #include <stdio.h>
  2. #include <stdint.h>
  3.  
  4. #define CLOCK_TIME(hr, min) (int32_t)( ( (hr) * 60 + (int32_t)(min##e0)) * 0x10000 / (24 * 60))
  5.  
  6.  
  7. int main(void) {
  8.  
  9. printf("%d\n", CLOCK_TIME(6, 08));
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0.01s 5348KB
stdin
Standard input is empty
stdout
16748