Cod sursa(job #1459942)
Utilizator | Data | 11 iulie 2015 12:43:13 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
ifstream f("adunare.in");
int a;f>>a;int b; f>>b;
f.close();
ofstream g("adunare.out");
g<<a+b;
g.close();
}