#include <errno.h>
#include <cstdlib>
#include <cstring>
#include <cstdio>
/* end standard C++ headers. */
#ifdef __cplusplus