Cod sursa(job #2244931)
Utilizator | Data | 24 septembrie 2018 11:36:51 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include "fstream.h"
#include<iostream>
ifstream f("adunare.in");
ofstream g("adunare.out");
using namespace std;
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 0;
}