Cod sursa(job #744475)
Utilizator | Data | 8 mai 2012 20:09:32 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<iostream.h>
#include<fstream.h>
int main ()
{
int a,b,S;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
S=a+b;
g<<S;
}