Cod sursa(job #1724046)
Utilizator | Data | 2 iulie 2016 09:31:24 | |
---|---|---|---|
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 fo("adunare.out");
if(a+b<2000000)
fo<<a+b;
fo.close();
return 0;
}