You are viewing a single comment's thread. Return to all comments →
Hi ! I'm searching for better solution… but… Really nice !
P.S : 1/ I suggest to test with bool returns values like this : (mp3.count(val) != 0u) and (n-- > 0)
2/ use nullptr instead of NULL.
3/ "using" instructions instead of typedef in C++11
Seems like cookies are disabled on this browser, please enable them to open this website
Count Triplets
You are viewing a single comment's thread. Return to all comments →
Hi ! I'm searching for better solution… but… Really nice !
P.S : 1/ I suggest to test with bool returns values like this : (mp3.count(val) != 0u) and (n-- > 0)
2/ use nullptr instead of NULL.
3/ "using" instructions instead of typedef in C++11