Cod sursa(job #1190443)
Utilizator | Data | 25 mai 2014 13:14:16 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | itmarathon | Marime | 0.21 kb |
#include <iostream>
#include<fstream>
using namespace std;
int main()
{
int a,b,s=0;
fstream f("adunare.txt");
f>>a;
f>>b;
s=a+b;
f.close();
ofstream g("adunare1.txt");
g<<s;
}