I have tried it using both adjacency matrix and dictionary but both are giving run time error on TC 3.Can anyone tell me what the problem in the code? (https://codeforces.me/contest/1534/submission/119406032)
LATOKEN PROBLEM — Little Alwan Puzzle Runtime Error
I have tried it using both adjacency matrix and dictionary but both are giving run time error on TC 3.Can anyone tell me what the problem in the code? (https://codeforces.me/contest/1534/submission/119406032)