0_0_33148327_2852.cpp: In function 'int main()': 0_0_33148327_2852.cpp:24:17: error: cannot convert 'bool' to 'const char*' for argument '1' to 'int printf(const char*, ...)' printf(f(l)>=w)?"yes\n":"no\n"); ^