Cod sursa(job #1430266)
Utilizator | Data | 8 mai 2015 01:20:43 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | teme_upb | Marime | 0.27 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main(){
int a,b;
ifstream infile;
infile.open("adunare.in");
ofstream outfile;
outfile.open("adunare.out");
infile>>a>>b;
outfile<<a+b;
outfile.close();
infile.close()
return 0;
}