0_0_27123487_10390.cpp: In function 'int main()': 0_0_27123487_10390.cpp:10:19: error: cannot convert 'bool' to 'const char*' for argument '1' to 'int scanf(const char*, ...)' scanf(a[i]%2!=0); ^