#include <iostream> using namespace std; int main() { int a = 5, b = 10; int res = a > b ? a++ : ++b; cout << res << "," << b << endl; return 0; }
11,11
10,10
5,11
11,10