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