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