psk.cpp: In function 'int main()':
psk.cpp:68:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
68 | for(int i = 0; i < n; ++i)cout << status[i] << ' ';cout << endl;
| ^~~
psk.cpp:68:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
68 | for(int i = 0; i < n; ++i)cout << status[i] << ' ';cout << endl;
| ^~~~
psk.cpp: In function 'void fileio(std::string)':
psk.cpp:32:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
32 | freopen((s+string(".in")).c_str(),"r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
psk.cpp:33:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
33 | freopen((s+string(".out")).c_str(),"w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~