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:5:1: error: ‘cin’ was not declared in this scope
cin>>n>>L;
^~~
Main.cc:5:1: note: suggested alternative: ‘main’
cin>>n>>L;
^~~
main
Main.cc:11:18: error: ‘min’ was not declared in this scope
minn = max(minn,min(x,L+1-x));
^~~
Main.cc:11:18: note: suggested alternative: ‘minn’
minn = max(minn,min(x,L+1-x));
^~~
minn
Main.cc:11:9: error: ‘max’ was not declared in this scope
minn = max(minn,min(x,L+1-x));
^~~
Main.cc:11:9: note: suggested alternative: ‘maxn’
minn = max(minn,min(x,L+1-x));
^~~
maxn
Main.cc:14:1: error: ‘cout’ was not declared in this scope
cout<