I passed 1307D - Cow and Fields with code which is obviously wrong! Because I solve the promble in this way: - if k<7000 using the $$$O(n^2)$$$ algorithm. - else use a obviously fake algorithm which should be hacked.
Submission is here : 71566996
Who can hack me?