fork download
  1. #include <stdio.h>
  2. #include <time.h>
  3.  
  4. int main(void) {
  5. time_t theTime = time(NULL);
  6. struct tm *aTime = localtime(&theTime);
  7. int year = aTime->tm_year + 1900;
  8. if(year == 2013) {
  9. printf("Exit %d\n", year);
  10. return 0;
  11. }
  12. printf("PRIVATE CONTENT %d\n", year);
  13.  
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 2424KB
stdin
Standard input is empty
stdout
Exit 2013