code_bull's blog

By code_bull, history, 6 years ago, In English
  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
6 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Hard to knwo.

»
6 years ago, hide # |
Rev. 3  
Vote: I like it 0 Vote: I do not like it

You are trying to create a vector of size 1000000000000 that seems too large:

vector<long long int>a(n);

BTW, there is no need for vector at all: https://github.com/actium/cf/blob/master/0300/10/318a.cpp