fork download
  1. # include <iostream>
  2.  
  3.  
  4.  
  5. using std::cout;
  6. using std::cin;
  7. using std::endl;
  8.  
  9.  
  10. int main(){
  11.  
  12. unsigned long long int sek, SEKONDS, min, hour, day;
  13.  
  14. cin >> sek;
  15. day = sek / (86400);
  16.  
  17. hour = (sek % (86400)) / 3600;
  18. min = (sek % (3600))/60;
  19. SEKONDS = sek % 60;
  20.  
  21. return 0;
  22. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
Standard output is empty