Cod sursa(job #1242076)
Utilizator | Data | 13 octombrie 2014 22:32:39 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.27 kb |
#include <iostream>
#include <fstream>
using namespace std;
int amin() {
ifstream in("adunare.in");
int a, b;
in >> a;
in >> b;
in.close();
ofstream out("adunare.out");
int s = a + b;
out << s;
out.close;
return 0;
}