Cod sursa(job #381683)
Utilizator | Data | 11 ianuarie 2010 12:50:08 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include<iostream>
#include<fstream>
using namespace std;
int a,b,s;
int main ()
{
ifstream f("adunare.in");
f >> a >> b;
s=a+b;
f.close();
ofstream g("adunare.out");
g<<s;
g.close();
return 0;
}