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.
very useful, thanks.
Also I found Xcode can't deal woth "bad_alloc" issue,
the program stops at "vector v(A, 0);" when A is too big.Instead, I use "cin.fail() to judge the input"
anyone got the same quesion?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Exceptional Server
You are viewing a single comment's thread. Return to all comments →
very useful, thanks. Also I found Xcode can't deal woth "bad_alloc" issue, the program stops at "vector v(A, 0);" when A is too big.Instead, I use "cin.fail() to judge the input" anyone got the same quesion?