Codeforces and Polygon may be unavailable from December 6, 19:00 (UTC) to December 6, 21:00 (UTC) due to technical maintenance. ×

About today's Div3 F

Revision en2, by fernandezpalomojosue, 2023-11-17 23:55:59

On example,2nd test case, in the third query already exist a path with distances 3 between 2 leaves , 5-4-2-3, but the answer wasn't "-1 -1 -1".Am I receiving WA veredict for that? Submision:233191318.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English fernandezpalomojosue 2023-11-17 23:55:59 5 Tiny change: '-1 -1 -1".I'm receiving' -> '-1 -1 -1".Am I receiving'
en1 English fernandezpalomojosue 2023-11-17 23:52:02 233 Initial revision (published)