Cod sursa(job #891128)
Utilizator | Data | 25 februarie 2013 13:51:51 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
ifstream f("adunarea.in");
ofstream g("adunarea.out");
int a,b;
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
}