Cod sursa(job #1190471)
Utilizator | Data | 25 mai 2014 13:38:38 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | itmarathon | Marime | 0.33 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
int a,b,c;
fstream f("\\users\\student\\desktop\\itmaraton\\test\\adunate.in.txt");
fstream g("\\users\\student\\desktop\\itmaraton\\test\\adunate.out.txt");
f>>a;
f>>b;
c=a+b;
if(c<2000000)
g<<c<<endl;
g.close();
f.close();
return 0;
}