Cod sursa(job #892149)
| Utilizator | Data | 25 februarie 2013 22:33:42 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.26 kb |
#include<fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b;
void citire()
{
f>>a;
f>>b;
}
void scriere()
{
g<<a+b;
}
int main()
{
citire();
scriere();
return 0;
}
