2019-11-06 17:54:18 +02:00
|
|
|
#include <algorithm>
|
|
|
|
#include <array>
|
|
|
|
#include <atomic>
|
|
|
|
#include <cassert>
|
|
|
|
#include <cctype>
|
|
|
|
#include <chrono>
|
|
|
|
#include <climits>
|
|
|
|
#include <cmath>
|
|
|
|
#include <condition_variable>
|
|
|
|
#include <cstddef>
|
|
|
|
#include <cstdint>
|
|
|
|
#include <cstdio>
|
|
|
|
#include <cstdlib>
|
|
|
|
#include <cstring>
|
|
|
|
#include <exception>
|
|
|
|
#include <functional>
|
|
|
|
#include <future>
|
|
|
|
#include <iostream>
|
|
|
|
#include <limits>
|
|
|
|
#include <list>
|
|
|
|
#include <locale>
|
|
|
|
#include <map>
|
|
|
|
#include <memory>
|
|
|
|
#include <mutex>
|
|
|
|
#include <numeric>
|
|
|
|
#include <optional>
|
|
|
|
#include <queue>
|
|
|
|
#include <random>
|
|
|
|
#include <regex>
|
|
|
|
#include <set>
|
|
|
|
#include <sstream>
|
|
|
|
#include <stack>
|
|
|
|
#include <stdexcept>
|
|
|
|
#include <string>
|
|
|
|
#include <thread>
|
|
|
|
#include <unordered_map>
|
|
|
|
#include <unordered_set>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include <boost/format.hpp>
|
|
|
|
|
|
|
|
#include <dirent.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#include <fcntl.h>
|
|
|
|
#include <signal.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <sys/time.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <unistd.h>
|
2020-08-20 12:02:16 +03:00
|
|
|
|
2023-09-03 00:35:16 +03:00
|
|
|
#ifndef _WIN32
|
|
|
|
# include <grp.h>
|
|
|
|
# include <netdb.h>
|
|
|
|
# include <pwd.h>
|
|
|
|
# include <sys/resource.h>
|
|
|
|
# include <sys/select.h>
|
|
|
|
# include <sys/socket.h>
|
|
|
|
# include <sys/utsname.h>
|
|
|
|
# include <sys/wait.h>
|
|
|
|
# include <termios.h>
|
|
|
|
#endif
|
|
|
|
|
2020-08-20 12:02:16 +03:00
|
|
|
#include <nlohmann/json.hpp>
|