Write a program that converts to seconds a given amount of years, days, hours, minutes and seconds.
The input consists of five natural numbers that represent the years, days, hours, minutes and seconds, respectively.
Write the total number of seconds represented by the input.
You may assume all the years have 365 days.
Author: Guillem Godoy
Generation: 2026-01-25T11:29:50.701Z
© Jutge.org, 2006–2026.
https://jutge.org