0_0_26745566_24104.cpp: In function 'int main()': 0_0_26745566_24104.cpp:51:15: error: operands to ?: have different types 'int' and 'const char*' printf(d[k]?"%d\n",d[k]:"Illegal"); ^