Cod sursa(job #1109212)
Utilizator | Data | 16 februarie 2014 20:30:28 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <iostream>
#include<fstream>
using namespace std;
int main()
{
int a,b;
ifstream f("adunare.in.txt");
ofstream g("adunare.out.txt");
f>>a;
f>>b;
if (a+b<=2000000000)
g<<a+b;
return 0;
}