0_0_33770211_16765.cpp: In function 'void solve()': 0_0_33770211_16765.cpp:125:16: error: operands to ?: have different types 'const char*' and 'int' puts(l<=ri[r]?lastans=1,"Yes":lastans=0,"No"); ^