Cod sursa(job #798304)
| Utilizator | Data | 16 octombrie 2012 10:45:41 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
using namespace std;
int main()
{
int a,b,s=0;
ifstream f("ab.in");
ofstream g("ab.out");
f>>a>>b;
s=a+b;
g<<s;
return 0;
}