Cod sursa(job #23641)
Utilizator | Data | 1 martie 2007 09:23:46 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.14 kb |
#include<fstream.h>
int a,b,s;
int main()
{ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
f. close();
s=a+b;
g<<s; }