Algorithm Complexity problemThe task is to find the shortest way from me ('S') to the hut('D') without touching the flood ('*') ...
Sorting with my own function@Duoas thanks man and okay, guess what ur saying is if either the case of a.second>b.second or a.sec...
Sorting with my own functionI have a vector of pairs which i need to sort through both first and second element. I sort them us...
Char to Int, Sort using my own functionThanks dude, helped!
Char to Int, Sort using my own functionI tried changeing *digit* to int by int num=(s[0]-'0')*10+(s[1]-'0'); soo, why doesnt that work? bo...