Cod sursa(job #211385)
Utilizator | Data | 1 octombrie 2008 21:56:12 | |
---|---|---|---|
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 a,b;
int main()
{f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
return 0;}