[UVA][bfs] 12101 - Prime Path
Problem G - Prime Path
Time limit: 1 second
The ministers of the cabinet were quite upset by the
message from the Chief of Security stating that they
would all have to change the four-digit room numbers
on their offices.
— It is a matter of security to change ...