Skip to content

Instantly share code, notes, and snippets.

@mkalygin
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkalygin/3570499f354efd61e2dc to your computer and use it in GitHub Desktop.
Save mkalygin/3570499f354efd61e2dc to your computer and use it in GitHub Desktop.
ACMP C Program Template (http://acmp.ru/)
#include <stdio.h>
const bool FILE_IO = false;
int main() {
if (FILE_IO) {
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
}
// Your code here...
if (FILE_IO) {
fclose(stdin);
fclose(stdout);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment