Cod sursa(job #496797)
Utilizator | Data | 30 octombrie 2010 18:02:22 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<iostream.h>
#include<fstream.h>
ifstream f ("adunare.in");
ofstream g ("adunare.out");
int main()
{
int a,b;
f>>a>>b;
f.close();
g<<a+b;
g.close();
}