#include <iostream> #include <cstring> using namespace std; int main() { int N; cin >> N; char ch; int k = -1; char(*s)[300] = new char[101][300]; int len[101] = { 0 }; cin.get();//接收换行符 for (int i = 0; i < N; ++i) { int t = 0; while (ch = cin.get()) { if (ch == ' ')break; s[i][t++] = ch; } s[i][t] = '