Cod sursa(job #381661)
| Utilizator | Data | 11 ianuarie 2010 12:43:07 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| 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;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
fin>>a;
fin>>b;
s=a+b;
fout<<s;
fin.close();
fout.close();
return 0;
}
