LATOKEN PROBLEM — Little Alwan Puzzle Runtime Error

Revision en4, by Leggasick, 2021-06-14 01:28:12

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/119406032)

Tags latoken, #python 3

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English Leggasick 2021-06-14 01:28:12 8 Tiny change: 'sion/119405558)' -> 'sion/119406032)'
en3 English Leggasick 2021-06-14 01:16:27 775
en2 English Leggasick 2021-06-14 01:14:41 22
en1 English Leggasick 2021-06-14 01:13:28 998 Initial revision (published)