Cod sursa(job #325039)
Utilizator | Data | 18 iunie 2009 16:29:31 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 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,s;
cxx>>a>>b;
s=a+b;
zxx<<s<<endl;
cxx.close();
zxx.close();
}