0_0_39617204_25338.cpp:1:2: error: invalid preprocessing directive #in; did you mean #if?
1 | #in
| ^~
| if
0_0_39617204_25338.cpp:4:1: error: 'string' does not name a type
4 | string d, s[maxn][185];
| ^~~~~~
0_0_39617204_25338.cpp: In function 'int main()':
0_0_39617204_25338.cpp:8:20: error: 'cin' was not declared in this scope
8 | while (getline(cin, d)){
| ^~~
0_0_39617204_25338.cpp:1:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
+++ |+#include <iostream>
1 | #in
0_0_39617204_25338.cpp:8:25: error: 'd' was not declared in this scope
8 | while (getline(cin, d)){
| ^
0_0_39617204_25338.cpp:8:12: error: 'getline' was not declared in this scope
8 | while (getline(cin, d)){
| ^~~~~~~
0_0_39617204_25338.cpp:14:82: error: 's' was not declared in this scope
14 | for (int j = i; j < d.length() && d[j] != ' '; ++j, ++i) s[idx][k] += d[j];
| ^
0_0_39617204_25338.cpp:21:54: error: 's' was not declared in this scope
21 | for (int j = 1; j <= w; ++j) if (int(s[i][j].length() > len[j]))
| ^
0_0_39617204_25338.cpp:23:40: error: 'puts' was not declared in this scope
23 | for (int i = 1; i <= idx; ++i, puts(""))
| ^~~~
0_0_39617204_25338.cpp:25:25: error: 'cout' was not declared in this scope
25 | cout << left << setw(j == wnum[i] ? s[i][j].length() : len[j] + 1) << s[i][j];
| ^~~~
0_0_39617204_25338.cpp:25:25: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
0_0_39617204_25338.cpp:25:33: error: 'left' was not declared in this scope
25 | cout << left << setw(j == wnum[i] ? s[i][j].length() : len[j] + 1) << s[i][j];
| ^~~~
0_0_39617204_25338.cpp:1:1: note: 'std::left' is defined in header '<ios>'; did you forget to '#include <ios>'?
+++ |+#include <ios>
1 | #in
0_0_39617204_25338.cpp:25:61: error: 's' was not declared in this scope
25 | cout << left << setw(j == wnum[i] ? s[i][j].length() : len[j] + 1) << s[i][j];
| ^
0_0_39617204_25338.cpp:25:41: error: 'setw' was not declared in this scope
25 | cout << left << setw(j == wnum[i] ? s[i][j].length() : len[j] + 1) << s[i][j];
| ^~~~
0_0_39617204_25338.cpp:1:1: note: 'std::setw' is defined in header '<iomanip>'; did you forget to '#include <iomanip>'?
+++ |+#include <iomanip>
1 | #in
|