#16885: 解題想法


easylin0126@gmail.com (林榮翼)


只要該a[i]是英文,而a[i-1]為其他非英文字元,則多一個單字

if(isalpha(a[i])!=0&&isalpha(a[i-1])==0)
count++;