CodeChef: Practical coding for everyone (WA, don’t know which case, anyone knows)
hey @henrychen222
Thanks for asking your doubt.
you need to typecast the d.get() to int.
pr((int)d.get(0) == (int)d.get(1) ? "CONFUSED" : m.keySet().iterator().next());
Hey @henrychen222
There may be some internal error with arr. get() function that is why is advised to always typecast it.