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