Cod sursa(job #1274208)
Utilizator | Data | 23 noiembrie 2014 16:14:40 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | c | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<iostream>
#include<fstream>
int main()
{int a,b,s;
f.stream("adunare.in",ios::in)
g.stream("adunare.out",ios::out)
f>>a>>b;
s=a+b;
g<<s;
f.close()
g.close()
}