Cod sursa(job #384379)
Utilizator | Data | 19 ianuarie 2010 23:01:47 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
long int a,b,s;
int main(){ f>>a>>b; s=a+b; g<<s; f.close();g.close(); return 0;}