ho_t1.cpp: In function 'int main()':
ho_t1.cpp:46:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
46 | for(int i = 1; i <= N + 1; i++) cout << ans[i] << " ";
| ^~~
ho_t1.cpp:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
46 | for(int i = 1; i <= N + 1; i++) cout << ans[i] << " ";
|
ho_t1.cpp:46:58: error: expected '}' at end of input
46 | for(int i = 1; i <= N + 1; i++) cout << ans[i] << " ";
| ^
ho_t1.cpp:14:15: note: to match this '{'
14 | signed main() {
| ^
ho_t1.cpp:18:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | freopen(TASK ".inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
ho_t1.cpp:19:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | freopen(TASK ".out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~