Cod sursa(job #2008928)
Utilizator | Data | 8 august 2017 00:06:17 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream f("numere.in");
ofstream g("adunare.out");
long a,b;
f>>a;
f>>b;
if(a+b<2000000)
g<<a+b;
return 0;
}