Cod sursa(job #802356)
Utilizator | Data | 26 octombrie 2012 15:35:02 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream>
#include<fstream>
using namespace std;
ofstream f("adunare.out");
ifstream g("adunare.in");
int main()
{
int a,b;
g>>a>>b;
g.close();
f<<a+b;
f.close();
}