Cod sursa(job #1257541)
Utilizator | Data | 7 noiembrie 2014 21:22:46 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include <iostream>
#include <fstream>
#include <conio.h>
using namespace std;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b;
f>>a>>b;
g<<a+b;
f.close();
g.close();
getche();
return 0;
}