#include <stdio.h> struct clock { int hour; int min; int sec; }; int main() { int n = 0; scanf("%d", &n); int i = 0; int sec[100] = { 0 }; for (i = 0; i < n; i++) { scanf("%d", &sec[i]); } struct clock t = { 0, 0, 0 }; struct clock p = { 0, 0, 0 }...