Cod sursa(job #248892)
| Utilizator | Data | 27 ianuarie 2009 00:35:57 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.23 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{int a,b,s;
fstream f("C:\\adunare.in.txt",ios::in);
f>>a>>b;
s=a+b;
fstream g("C:\\adunare.out.txt",ios::out);
g<<s;
f.close();g.close();
return 0;
}
