Main.cc:1:1: error: ‘include’ does not name a type; did you mean ‘__has_include’?
include
^~~~~~~
__has_include
Main.cc: In function ‘int main()’:
Main.cc:8:5: error: ‘cin’ was not declared in this scope
cin>>n>>m;
^~~
Main.cc:8:5: note: suggested alternative: ‘main’
cin>>n>>m;
^~~
main
Main.cc:24:5: error: ‘memset’ was not declared in this scope
memset(used,0,sizeof(used));
^~~~~~
Main.cc:30:9: error: ‘cout’ was not declared in this scope
cout<