Cod sursa(job #1996313)

Utilizator RosinanteAlex Caplea Rosinante Data 30 iunie 2017 23:08:11
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.35 kb
#include <iostream>
#include "fstream"

using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main() {
	int a,b;
	 ifstream f("adunare.in.txt");
	 ofstream g("adunare.out.txt");
    f>>a>>b;
    if((a+b)<2000000000)
    	g<<a+b;
    f.close();
    g.close();
	return 0;
}