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.com/contest/1534/submission/119405558)
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.com/contest/1534/submission/119405558)