-
Completed at: 2023-07-10T20:40:46.921Z
-
Completed languages: javascript
-
Tags: Fundamentals
-
Rank: 8 kyu
Clock shows h hours, m minutes and s seconds after midnight.
Your task is to write a function which returns the time since midnight in milliseconds.
h = 0
m = 1
s = 1
result = 61000
Input constraints:
0 <= h <= 230 <= m <= 590 <= s <= 59
RISC-V: The function signature is:
```c
int past(int h, int m, int s);
```