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