Cod sursa(job #1762792)

Utilizator Team_FII_AHreapca Buruiana Ionita Team_FII_A Data 24 septembrie 2016 09:49:59
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.46 kb
#include <cstdio>

#ifdef INFOARENA
#define ProblemName "adunare"
#endif

#define MCONCAT(A, B) A B
#ifdef ProblemName
#define InFile MCONCAT(ProblemName, ".in")
#define OutFile MCONCAT(ProblemName, ".out")
#else
#define InFile MCONCAT("fis.in")
#define OutFile MCONCAT("fis.out")
#endif

int main() {
	freopen("adunare.in", "r", stdin);
	freopen("adunare.out", "w", stdout);
	int a, b;
	scanf("%d%d", &a, &b);
	printf("%d\n", a + b);
	return 0;
}