Cod sursa(job #667295)
Utilizator | Data | 22 ianuarie 2012 20:30:01 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
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 a,b;
int main ()
{
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
}