We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Thank you PiCTosi for your comment and suggestions. Aprrechiate it.
Why is it better to use an unsigned int in a loop? I thought it is more dangerous because it can never be negative thus the loop is infinite if there is an overflow.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Maps-STL
You are viewing a single comment's thread. Return to all comments →
Thank you PiCTosi for your comment and suggestions. Aprrechiate it.
Why is it better to use an unsigned int in a loop? I thought it is more dangerous because it can never be negative thus the loop is infinite if there is an overflow.