Cod sursa(job #1422775)
| Utilizator | Data | 19 aprilie 2015 19:51:38 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main() {
// f.open("adunare.in");
// g.open("adunare.out");
int a,b;
f>>a>>b;
g<<a+b;
f.close(); g.close();
return 0;
}
