Hint: find the maximum and minimum number of red edges needed to construct a spanning tree and check if there exists some prime numbers between them.

Statistics

67% Solution Ratio
saiful.dhEarliest, Apr '21
steinumFastest, 0.0s
steinumLightest, 5.5 kB
steinumShortest, 1898B
Toph uses cookies. By continuing you agree to our Cookie Policy.