Cod sursa(job #1041680)
Utilizator | Data | 25 noiembrie 2013 23:43:01 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include<stdio.h>
#include<conio.h>
#include<iostream>
#include<fstream>
using namespace std;
fstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
int a, b;
f >> a;
f >> b;
g << (a + b);
f.close();
g.close();
return 0;
}