TopcoderArchiveVisit Topcoder
Archive
Algorithm problem

Seconds

Problem statement, definition, constraints, and public examples.

Problem Statement

Create a class Seconds that includes the method getMinutes(int). The return
value should be an ArrayList object holding two Integers; the first is the
whole number of minutes, and the second is the remaining seconds.

Definition

Class:
Seconds
Method:
getMinutes
Parameters:
int
Returns:
int[]
Method signature:
int[] getMinutes(int param0)
(be sure your method is public)

Constraints

    Examples

      No public sample cases were explicitly marked for this problem in the original data.

      Back to all problems