A
Size: a a a
A
ER
A
ER
A
A
A
A
int secondOneTime = oneTime[0] * 3600 + oneTime[1] * 60 + oneTime[2];
int secondTwoTime = twoTime[0] * 3600 + twoTime[1] * 60 + twoTime[2];
A
ER
ER
ER
ER
ER
A
int[] oneTime = {scanner.nextInt() * 3600, scanner.nextInt() * 60, scanner.nextInt()};
int[] twoTime = {scanner.nextInt() * 3600, scanner.nextInt() * 60, scanner.nextInt()};
int secondOneTime = oneTime[0] + oneTime[1] + oneTime[2];
int secondTwoTime = twoTime[0] + twoTime[1] + twoTime[2];
System.out.println(secondTwoTime-secondOneTime);ER
int[] oneTime = {scanner.nextInt() * 3600, scanner.nextInt() * 60, scanner.nextInt()};
int[] twoTime = {scanner.nextInt() * 3600, scanner.nextInt() * 60, scanner.nextInt()};
int secondOneTime = oneTime[0] + oneTime[1] + oneTime[2];
int secondTwoTime = twoTime[0] + twoTime[1] + twoTime[2];
System.out.println(secondTwoTime-secondOneTime);ER
A
ER
ER