Cod sursa(job #879305)
Utilizator | Data | 15 februarie 2013 11:04:33 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include<iostream>
#include<fstream>
using namespace std;
int a,b,s;
int main()
{
ifstream f1("adunare.in");
f1>>a;
f1>>b;
s=a+b;
ofstream f2("adunare.out");
f2<<s;
f2.close();
f1.close();
return 0;
}