Cod sursa(job #832128)
Utilizator | Data | 9 decembrie 2012 21:44:43 | |
---|---|---|---|
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 s,a,b;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;f>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}