Cod sursa(job #421273)
Utilizator | Data | 21 martie 2010 12:54:32 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include <iostream>
#include <fstream>
using namespace std;
long adun(long a, long b) {
return a+b;
}
int main() {
long a,b;
ifstream f("adunare.in");
f>>a>>b;
ofstream g("adunare.out");
g<<adun(a,b);
f.close();
g.close();
return 0;
}