11991 - Easy Problem from Rujia Liu? precomputed using an 1M vertices graph as an adjacency list