0_0_39371912_15465.cpp: In function 'int main()':
0_0_39371912_15465.cpp:34:38: error: expected '}' at end of input
34 | } else if (s[i] == ' ') {
| ~^
0_0_39371912_15465.cpp:34:38: error: expected '}' at end of input
0_0_39371912_15465.cpp:21:38: note: to match this '{'
21 | for (int i = 1; i <= n; ++i) {
| ^
0_0_39371912_15465.cpp:34:38: error: expected '}' at end of input
34 | } else if (s[i] == ' ') {
| ^
0_0_39371912_15465.cpp:8:29: note: to match this '{'
8 | while (getline(cin, s)) {
| ^
0_0_39371912_15465.cpp:34:38: error: expected '}' at end of input
34 | } else if (s[i] == ' ') {
| ^
0_0_39371912_15465.cpp:6:12: note: to match this '{'
6 | int main() {
| ^
|