Cod sursa(job #1444686)
| Utilizator | Data | 30 mai 2015 08:49:53 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Lista lui wefgef | Marime | 0.51 kb |
#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;
}
