Cod sursa(job #1012285)
Utilizator | Data | 18 octombrie 2013 17:23:39 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main(){
long a, b, suma;
ifstream f("adunare.in");
f>>a;
f>>b;
f.close();
suma = a+b;
ofstream g("adunare.out");
g<<suma;
g.close();
return 0;
}