Cannot insert in map(line 55)


Hi it is working fine on my ide . You might want to try it onto your ide.

i am running it on ide but it is showing error on that line. if i use curlybraces instead of makepair its running

Both are equivalent… i think that might be an issue of compiler or something … i cant find out the error.