0_0_24668352_31413.cpp: In function 'int main()': 0_0_24668352_31413.cpp:39:29: error: 'else' without a previous 'if' while(scanf("%d",&n)!=EOF){else ++T;memset(head,0,sizeof(head));tot=0;memset(t,0,sizeof(t)); ^