Editorial for Fill the Bucket


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.

Author: UltimateWiener

sub1: trâu

sub2: he

you can do it!

Độ phức tạp: ~O(2^n \times q!)~, vì hằng số rất bé nên các bạn có thể dễ dàng AC.


Comments

Please read the guidelines before commenting.



  • -4
    flechilavt  commented on Jan. 27, 2024, 1:03 a.m.

    sol hữu ích, đọc là ac luôn.