Cod sursa(job #778260)
Utilizator | Data | 14 august 2012 13:10:52 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main(){
int a,b,s;
ifstream in;
in.open ("adunare.in");
in >> a;
in >> b;
ofstream out;
out.open ("adunare.out");
s = 0;
s = a + b;
out << a+b;
in.close();
out.close();
return 0;
}