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