Cod sursa(job #341999)
Utilizator | Data | 20 august 2009 12:46:20 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <iostream.h>
#include <fstream.h>
int a,b;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
f.close();
g<<a+b;
g.close();
return 0;
}