Cod sursa(job #1431296)
Utilizator | Data | 9 mai 2015 10:10:30 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.31 kb |
#include <fstream>
#include <iostream>
using namespace std;
int main(void)
{
signed long a,b;
fstream fin("adunare.in", ios::in);
fin >> a;
fin >> b;
fin.close();
fstream fout("adunare.out", ios::out);
fout << (a + b);
fout.close();
return(0);
}