Cod sursa(job #135198)
| Utilizator | Data | 13 februarie 2008 12:18:12 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.19 kb |
using namespace std;
#include<fstream.h>
void main()
{
int a,b,s=0;
ifstream f1("adunare.in");
ofstream f2("adunare.out");
f1>>a;f1>>b; f1.close();
s=a+b;
f2<<s;
f2.close();
}
