#include <stdio.h> typedef struct time{ int hour; int min; int sec; }time; int s[20]={0}; time ti1[20]; int main() { int n; scanf("%d",&n); time ti; s[0]=0; for(int i=1;i<=n;i++) { int t; scanf("%d",&t); ...