C++ versus Python solving one problem from the field of number theory

Posted by dba477 on Jul 17, 2021 12:01 PM EDT
https://dbaxps.blogspot.com/; By Boris Derzhavets
Mail this story
Print this story

The version of C++ code here differs from the first one been posted at Lxer.com . Vector "v1" been pushed back by 2D vector "vec" is supposed to be re-declared before every next push back by "vec" versus option of been cleaned up in previous version of compilation.

I just believe that attempt to follow previous schema doesn't work properly as did it before due to pushing back the same variable "j" by vector "v1" in the loop preparing "v1" to be pushed by "vec".

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Developer, Fedora, Python

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.