Cod sursa(job #1258460)
| Utilizator | Data | 8 noiembrie 2014 21:59:27 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
int a;
int b;
f >> a;
f >> b;
g << a + b << endl;
return 0;
}