diff --git a/main.c b/main.c index 220872b..e131494 100644 --- a/main.c +++ b/main.c @@ -18,7 +18,7 @@ } #ifdef Debug -#define DPRINT(s, ...) \ +#define DPRINT(s, __VA_ARGS__) \ { \ printf(s, ...); \ } @@ -46,6 +46,9 @@ const char SS[] = "381237373432790016"; int main(int argc, char *argv[]) { int thread; +#ifdef WIN32 + SetConsoleOutputCP(CP_UTF8); +#endif if (argc < 2) thread = 4;