Created
October 3, 2009 12:05
-
-
Save borman/200610 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #define in(name) freopen(#name ".in", "r", stdin) | |
| #ifdef DEBUG | |
| # define out(name) | |
| # define debug(f, args...) printf("[DEBUG] " f "\n", ##args) | |
| #else | |
| # define out(name) freopen(#name ".out", "w", stdout) | |
| # define debug(...) | |
| #endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment