众所周知,
#ifndef ONLINE_JUDGE freopen("a.in", "r", stdin); freopen("a.out", "w", stdout); #endif
这一段代码能够检测是否需要使用 freopenfreopenfreopen ,那么,有没有类似这样的 #ifndef ,能够在提交CF的题目的时候自动注释卡常优化代码呢?
#define getchar getchar_unlocked #define putchar putchar_unlocked