Cod sursa(job #1190456)
Utilizator | Data | 25 mai 2014 13:26:01 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | itmarathon | Marime | 0.25 kb |
#include <iostream>
#include<fstream>
using namespace std;
int a,b,c;
int main()
{
ifstream f("adunare.in.txt");
f>>a;
f>>b;
c=a+b;
ofstream g("adunare.out.txt");
g<<c;
f.close();
g.close();
return 0;
}