Cod sursa(job #1638820)
Utilizator | Data | 8 martie 2016 09:27:37 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream>
#include <fstream>
using namespace std;
int a,b;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
f >> a;
f.get();
f >> b;
g << a+b;
}