Cod sursa(job #1223491)
Utilizator | Data | 28 august 2014 11:53:33 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b;
int main(){
f>>a>>b;
a=a+b;
g<<a;
f.close();
g.close();
return 0;
}