0_0_15558869_9801.cpp: In function 'int main()': 0_0_15558869_9801.cpp:48:11: error: 'cin' was not declared in this scope while(cin>>N>>M){ ^