Cod sursa(job #448290)
Utilizator | Data | 3 mai 2010 13:31:51 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include<iostream>
#include<fstream>
using namespace std;
ofstream fout("adunare.out");
int main()
{
int a, b, s;
ifstream fin("adunare.in");
fin>>a;
fin>>b;
s=a+b;
fout<<s;
fin.close();
fout.close();
return 0;
}