Cod sursa(job #664680)
Utilizator | Data | 20 ianuarie 2012 17:35:38 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream>
#include<iostream>
using namespace std;
int main(){
long a,b;
ifstream f("Adunare.in");
ofstream g("Adunare.out");
f>>a>>b;g<<a+b;
f.close();
g.close();
return 0;
}