Cod sursa(job #363445)
Utilizator | Data | 13 noiembrie 2009 12:03:03 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
int main(void)
{long A,B,C;
f>>A>>B; f.close();
C=A+B;
g<<C<<'\n'; g.close(); return 0;
}