title: v[long long int] in C++
body: <p>Why can't I declare a value like long long int v[100000000]? There's no error while compiling but when I have to input my values it simply breaks...</p>
  
  <p>I have the following code: </p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  int main ()
  {
      int n, i, poz, ok;
      long long int a, v[10000000], aux;
      cout &lt;&lt; "v[0]= "; cin &gt;&gt; v[0];
      cout &lt;&lt; "n= "; cin &gt;&gt; n;
      //cout &lt;&lt; v[0] &lt;&lt; " ";
      for (i=1; i&lt;n; i++)
      {
          v[i]=((v[i-1]%31337)*(31334%31337))%31337;
          //cout &lt;&lt; v[i] &lt;&lt; " ";
      }
      //cout &lt;&lt; endl;
      a=v[n-1];   
      do
      {
          ok=0;
          for (i=0; i&lt;n-1; i++)
              if (v[i]&gt;v[i+1])
              {
                  aux=v[i];
                  v[i]=v[i+1];
                  v[i+1]=aux;
                  ok=1;
              }
      }while (ok==1);
  //  for (i=0; i&lt;n; i++)
      //{
      //  cout &lt;&lt; v[i] &lt;&lt; " ";
      //}
      //cout &lt;&lt; endl;
      for (i=0; i&lt;n; i++)
          if (v[i]==a)
              poz=i+1;
      cout &lt;&lt; poz;
      return 0;
  }
  </code></pre>
  
  <p>And I have to input the values: [11863, 1661427]. 
  Any ideas what should I do to input those values?</p>