Cod sursa(job #1154012)
Utilizator | Data | 25 martie 2014 21:48:43 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream>
int a, b, A[20000000];
int main()
{
std::ifstream f("adunare.in");
std::ofstream g("adunare.out");
f >> a >> b;
A[3] = a;
g << A[3] + b << "\n";
f.close();
g.close();
return 0;
}