nahidcse05 / elements-of-programming-interviews

Automatically exported from code.google.com/p/elements-of-programming-interviews
Other
0 stars 0 forks source link

solution 3.7 error #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. vector<int> F(A.size())
2.
3.

What is the expected output? What do you see instead?
A.size() is m, but F has n elements, they can be different

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by aali...@gmail.com on 26 Mar 2013 at 2:00

GoogleCodeExporter commented 9 years ago
Hey,

I think you are right, we should correct the size of A and B to be n instead of 
m. Thanks for your report!

Original comment by TsungHsi...@gmail.com on 26 Mar 2013 at 2:15

GoogleCodeExporter commented 9 years ago
Thank you very much.

Original comment by aali...@gmail.com on 26 Mar 2013 at 8:36

GoogleCodeExporter commented 9 years ago

Original comment by TsungHsi...@gmail.com on 26 Mar 2013 at 9:36