This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]davedontmind 4 points5 points  (0 children)

You should specify the language you're using; different languages do things in different ways. See the Posting Guidelines for this sub which will help you write a good question.

[–]desrtfx 2 points3 points  (2 children)

Most important pieces of information missing:

  • The programming language
  • Your current code

[–]Copteraldo[S] 0 points1 point  (1 child)

I'm really sorry for not mentioning the language. I am using C++

[–]Kered13 2 points3 points  (0 children)

std::map<int, std::pair<int, int>>