watching.cpp: In function 'int main()':
watching.cpp:41:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
41 | for (ll i = 1;i <= n;i++) cin>>a[i]; sort(a + 1,a + n + 1);
| ^~~
watching.cpp:41:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
41 | for (ll i = 1;i <= n;i++) cin>>a[i]; sort(a + 1,a + n + 1);
| ^~~~
watching.cpp:42:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
42 | for (ll i = 1;i <= n;i++) v.push_back(a[i]); v.push_back(inf);
| ^~~
watching.cpp:42:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
42 | for (ll i = 1;i <= n;i++) v.push_back(a[i]); v.push_back(inf);
| ^
watching.cpp:37:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
37 | freopen(task".in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~