0_0_17879142_18436.cpp: In function 'int main()': 0_0_17879142_18436.cpp:9:35: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<' cout << (d1==d2)?"YES":"NO"<< endl; ^