CP stuff : books,contest programs,etc.
Erricto:-
https://github.com/Errichto/youtube/wiki/FAQ
https://cses.fi/problemset/
Precompile bits/stdc++.h
https://www.youtube.com/watch?v=ynHKYjBpzBw&list=WL&index=57
Windows: C:\cygwin64\lib\gcc\x86_64-w64-mingw32\10\include\c++\x86_64-w64-mingw32\bits
Linux:
g++ -std=c++17 stdc++.h
C:\Users\samir\AppData\Roaming\Sublime Text 3\Packages\User
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
freopen("error.txt", "w", stderr);
#endif
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cout<<"?"<<mid+1<<"\n"; <br>
cout.flush(); <br>
cin >>z; <br>
(optional-hardcode)
{
"cmd": ["g++.exe",
"-std=c++17", "${file}",
"-o",
"${file_base_name}.exe",
"&&" ,
"${file_base_name}.exeOutput.txt"],
"shell":true,
"working_dir":"$file_path",
"selector":"source.cpp"
}
(general cpp.build-system)
{
"cmd": ["g++.exe",
"-std=c++17", "${file}",
"-o",
"${file_base_name}.exe",
"&&" ,
"${file_base_name}.exe"],
"shell":true,
"working_dir":"$file_path",
"selector":"source.cpp"
}
PATH: C:\cygwin64\bin