Cod sursa(job #1012024)
Utilizator | Data | 17 octombrie 2013 21:46:56 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.3 kb |
#include<iostream>
#include<fstream>
#include<math.h>
using namespace std;
unsigned int a, b;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
g<<a+b<<'\n';
f.close();
g.close();
system("pause");
return 0;
}