Copy By reference
I am trying to reduce the calls to access map elements so used varaibles by reference but got runtime error. Can anyone help. Runs correctly on local machine.
https://codeforces.me/contest/1974/submission/262484871
AtCoder Beginner Contest 483 discussion
ICPC NA North Central and South Division