February 6th, 2020, 07:09 PM
So, I have this struct called store:
struct Store
{
int position = -1; //graph position of that store node. Since all stores that are given as input have required fish_types
//it...
June 30th, 2018, 03:44 PM
Great! Good job. Also, I didn't see your previous reply. You were right by the way in all cases.
I think, what you are addressing here, is something I figured out to. The number of free...
June 16th, 2018, 06:29 PM
And a few more:
10 7
0 2
1 8
1 4
2 8
2 6
3 5
6 9
June 16th, 2018, 06:03 PM
Thanks, I wasn't aware that using could be used like that. And thank you for polishing up the code. I agree, it looks a lot more legible.
June 16th, 2018, 05:55 PM
100 70
0 11
2 4
2 95
3 48
4 85
4 95
5 67
5 83
5 42
June 15th, 2018, 05:03 PM
Thanks for summarizing the problem. I did not tackle the problem in the fashion you described. Though I wonder if your interpretation would be easier to solve.
I apologize. I now realize that I...
June 15th, 2018, 04:03 PM
Thank you for replying! How is this the case with unordered_set? Could you elaborate? Can reordering be avoided, and if not, does that mean unordered_set is not the appropriate data structure to be...
June 15th, 2018, 03:55 PM
Hi! Thank you so much for replying to me post. I am sorry it took me so long to get back with you. I couldn't find the time 2 days ago to reply and apparently the site was down yesterday.
I...
June 12th, 2018, 07:58 PM
Hello. So I'm working on a Hackerrank exercise: "Journey to the Moon". In which you are given a list of pairs of astronauts that are bounded and one has to traverse through the provided list and link...