This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
/* | |
for clang user | |
bits/stdc++.h can be found in here | |
https://gist.github.com/reza-ryte-club/97c39f35dab0c45a5d924dd9e50c445f | |
test compile version: | |
- gcc 11.2.0 | |
- clang 13.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Please use C++20 | |
*/ | |
#include <bits/stdc++.h> | |
using namespace std; | |
struct FAST_IO { | |
FAST_IO() { | |
ios_base::sync_with_stdio(false); | |
cin.tie(NULL); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
use any C++20 compiler to get executor | |
make sure /usr/bin/clang exist and run well | |
and POSIX support | |
this program only support single C/C++ Source! | |
*/ | |
#include <sys/wait.h> | |
#include <unistd.h> | |
#include <array> |