/in/foo.cc: In function 'int main()':
/in/foo.cc:18:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(a < min2)min2 = a; i2 = i;
   ^~
/in/foo.cc:18:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(a < min2)min2 = a; i2 = i;
                         ^~
/in/foo.cc:20:32: warning: 'i2' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout << i1 - 1 << " " << i2 - 1;
                                ^
/in/foo.cc:20:20: warning: 'i1' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout << i1 - 1 << " " << i2 - 1;
                    ^~~