Cod sursa(job #1432158)
Utilizator | Data | 9 mai 2015 11:51:13 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
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;
infile.close();
outfile.close();
return 0;
}