Cod sursa(job #258037)
Utilizator | Data | 14 februarie 2009 15:36:42 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 kb |
#include<iostream.h>
#include<fstream.h>
void main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,s;
f>>a;
f>>b;
s=a+b;
g<<s;
}