Pagini recente » Cod sursa (job #1055247) | Cod sursa (job #1444686)
#include <bits/stdc++.h>
using namespace std;
const string problemName = "adunare";
#ifndef HOME
const string inputFileName = problemName + ".in";
const string outputFileName = problemName + ".out";
#else
const string inputFileName = "input.txt";
const string outputFileName = "output.txt";
#endif
int main()
{
freopen(inputFileName.c_str(), "r", stdin);
freopen(outputFileName.c_str(), "w", stdout);
int a, b;
scanf("%d%d", &a, &b);
printf("%d\n", a + b);
return 0;
}