zagonetka.cpp: In function 'int main()':
zagonetka.cpp:24:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=0; i<n; i++) cout << ansmin[i] << " "; cout << endl;
^~~
zagonetka.cpp:24:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (int i=0; i<n; i++) cout << ansmin[i] << " "; cout << endl;
^~~~
zagonetka.cpp:25:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=0; i<n; i++) cout << ansmax[i] << " "; cout << endl << flush;
^~~
zagonetka.cpp:25:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (int i=0; i<n; i++) cout << ansmax[i] << " "; cout << endl << flush;
^~~~
zagonetka.cpp:48:20: error: 'prvii' was not declared in this scope
if (i==drugi and prvii<drugi) continue;
^~~~~
zagonetka.cpp:48:20: note: suggested alternative: 'prvi'
if (i==drugi and prvii<drugi) continue;
^~~~~
prvi