Cod sursa(job #1341148)
Utilizator | Data | 12 februarie 2015 15:18:39 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | algoritemius | Marime | 0.25 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main(){
long a,b,s;
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}