Cod sursa(job #2244930)
Utilizator | Data | 24 septembrie 2018 11:34:13 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include "fstream.h"
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
long int a,b;
f>>a;
f>>b;
if (a+b < 2 000 000 000)
g<<a+b;
f.close();
g.close();
return 1;
}