My brute force O(n^4) solution got accepted, just reporting this bug


#1

Comment body goes here.