Cod sursa(job #1534913)
Utilizator | Data | 24 noiembrie 2015 05:31:30 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <iostream>
#include <fstream>
#include <string>
#include <math.h>
using namespace std;
int main()
{
int a, b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f >> a >> b;
g << a + b;
}