View problem - Friends (BOI17_friends)

Time limit Memory limit # of submissions # of accepted Ratio
1000 ms 512 MiB 124 15 12.1%

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