Cod sursa(job #1554189)
Utilizator | Data | 21 decembrie 2015 00:15:06 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.28 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main(){
ifstream f("adunare.in");
ofstream g("adunare.out");
long int a,b;
int i,x=0;
for(i=0;i<1000000;++i) x++;
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
return 0;
}