Skip to content

Instantly share code, notes, and snippets.

@mkalygin

mkalygin/acmp_template.c

Last active Aug 29, 2015
Embed
What would you like to do?
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