Mã chấm: 596803


Main.cc: In function ‘int main()’:
Main.cc:23:30: error: no match for ‘operator>’ (operand types are ‘std::basic_ostream’ and ‘int’)
   23 |         if (n==2) cout< a[2] ? a[1] : a[2];
      |                   ~~~~~~~~~~ ^ ~~~~
      |                       |           |
      |                       |           int
      |                       std::basic_ostream
Main.cc:23:30: note: candidate: ‘operator>(int, int)’ (built-in)
   23 |         if (n==2) cout<