include <stdio.h> include <string.h> int main(void){ long a[10000] = {0}; long i = 0; long j,k; long num = 0; scanf("%ld", &num); getchar(); char str[100]; long c; long d; char spit = ' '; for(i = 0;i < num;i++) { fgets(str,sizeof(str), stdin); // getchar()...