0_0_27491738_4201.cpp: In function 'int main()': 0_0_27491738_4201.cpp:57:7: error: 'cout' was not declared in this scope cout<<cnt<<endl; ^ 0_0_27491738_4201.cpp:57:18: error: 'endl' was not declared in this scope cout<<cnt<<endl; ^