Skip to content

Instantly share code, notes, and snippets.

@yhaskell
Last active November 23, 2017 13:50
Show Gist options
  • Save yhaskell/cd6e9de72a652120da8060fd02ed3e52 to your computer and use it in GitHub Desktop.
Save yhaskell/cd6e9de72a652120da8060fd02ed3e52 to your computer and use it in GitHub Desktop.
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main() {
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
int a, b;
scanf("%d %d", &a, &b);
printf("%d + %d = %d\n", a, b, a + b);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment