Cod sursa(job #702613)
| Utilizator | Data | 2 martie 2012 00:21:42 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.16 kb |
#include <iostream>
using namespace std;
int main(){int a,b;fstream f,g;f.open("adunare.in",ios::in);g.open("adunare.out",ios::out);f>>a>>b;g<<a+b;g.close();}