Cod sursa(job #1724920)
Utilizator | Data | 4 iulie 2016 16:11:28 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
long int a,b;
ifstream f("adunare.in");
f>>a>>b;
f.close();
ofstream g("adunare.out");
if(a+b<2000000)
g<<a+b;
g.close();
return 0;
}