my first c++ program runtime is super long like 5 - 10 minutes on a fast CPU it's a very basic c++ program : <p>i just dont understand whats taking so long
its the standard hello world program you write when you first start to learn a new language and its just so un-optimized</p>

<pre><code>#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;vector&gt;
#include &lt;sstream&gt;
int main()
{
  std::string hello_world = "HELLO WORLD!";
  std::string letters =  "ABCDEFGHIJKLMNOPQRSTUVWXYZ !";
  std::vector&lt;long&gt; positions;
  std::ostringstream oss;
  for(auto l : hello_world){
      int position = 0;
      position = letters.find(l);
      positions.push_back(position);
  }
  for(long t = 0; t &lt;= 100000000000; t++){
    if(t%256465445 == 0){
           for(auto p : positions){
              oss&lt;&lt;letters[p];
           }
    }
  }
  std::cout&lt;&lt;"Hello World!";
}
</code></pre>
