report VI VI EN
Register | Login
  • HOME
  • PROBLEMSET
  • ROADMAP
  • COMPETITION
  • TOPIC
  • RANKING
  • GUIDE
  • MASHUP
  • ABOUT
  • CONTACT
  • Problem
  • Submit
  • Results
Time format - MarisaOJ: Marisa Online Judge

Time format

Time limit: 1000 ms
Memory limit: 256 MB
Convert $d$ seconds to the format of hours, minutes, and seconds. ### Input - A single line containing an integer $d$. ### Output - Print three integers $h, m, s$ representing the hours, minutes, and seconds of $d$. ### Constraints - $1 \le d \le 10^{18}$. ### Sample test ``` 3929 ``` Output: ``` 1 5 29 ```
Input / Output and Condition
Hello Marisa!
A + B
A / B
Complex multiplication
Mushroom Classification
Integer equation
Age
Combine rectangles
String
Triangle
Rounded division
Circle
Calculator
The smallest and biggest
Rectangle
Segment
Distance
Ascending
Square number
Square numbers counting
Uppercase and lowercase
Letter Counting
Time format
Electricity bill
Eating mushroom
Topic
Basic
Rating 800
Solution (1) Solution