Cod sursa(job #1103919)
| Utilizator | Data | 10 februarie 2014 09:25:39 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.29 kb |
#include <iostream>
#include <fstream>
using namespace std;
long a,b;
void citire (void)
{
ifstream f("adunare.in");
f>>a;
f>>b;
}
void afis(void)
{
ofstream g("adunare.out");
g<<a+b;
}
int main()
{
citire();
afis();
return 0;
}
