Cod sursa(job #325147)
Utilizator | Data | 19 iunie 2009 08:14:21 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | Marime | 0.23 kb |
#include<iostream.h>
#include<fstream.h>
void main ()
{
ifstream cxx("adunare.in",ios::in|ios::noreplace);
ofstream zxx("adunare.out",ios::out|ios::noreplace);
int a,b;
cxx>>a>>b;
zxx<<(a+b);
cxx.close();
zxx.close();
}