View problem - Friends (BOI17_friends)

Time limit Memory limit # of submissions # of accepted Ratio
1000 ms 512 MiB 54 6 11.11%

Your browser does not support embedded PDF files. Please download the PDF file instead.

Edit problem statement on github