Banner Home Page DIY Contests Problems Ranklist Status Statistics

View Compilation Error

2_32239_2624507_5384.cpp: In function 'int main()':
2_32239_2624507_5384.cpp:26:5: error: 'cin' was not declared in this scope
     cin>>n>>q;
     ^
2_32239_2624507_5384.cpp:40:13: error: 'cout' was not declared in this scope
             cout<<"Yes"<<endl;
             ^
2_32239_2624507_5384.cpp:40:26: error: 'endl' was not declared in this scope
             cout<<"Yes"<<endl;
                          ^
2_32239_2624507_5384.cpp:42:13: error: 'cout' was not declared in this scope
             cout<<"No"<<endl;
             ^
2_32239_2624507_5384.cpp:42:25: error: 'endl' was not declared in this scope
             cout<<"No"<<endl;
                         ^