Cod sursa(job #587606)
Utilizator | Data | 5 mai 2011 12:30:38 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.35 kb |
#include<fstream>
#include<vector>
using namespace std;
int n;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
long long a,b;
f>>a>>b;
int i;
vector<int>v;
v.reserve(10000000);
/*vector<int>::iterator it;
for(it=v.begin();it<v.end();++it)
f>>*it;
for(it=v.begin();it<v.end();++it)
g<<*it<<" ";*/
g<<a+b;
}