Cod sursa(job #672176)
Utilizator | Data | 1 februarie 2012 18:20:56 | |
---|---|---|---|
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()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,s=0;
f>>a>>b;
s=a+b;
g<<s;
return 0;
}