Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

### nicio9's blog

By nicio9, history, 2 months ago,

The following submissions were both made by C.RONALDO.7., and both hacked by powershop9640: 224981068 224979936

Both submissions were pretty obviously set up to be hacked, if you look at them...

Is it breaking any rules? If not, could someone explain why the two users may be doing this? Just curious.

• -22

 » 2 months ago, # |   +1 It doesn't matter, hacking after this contest will not give you any extra points:)
 » 2 months ago, # | ← Rev. 2 →   +12 Bro ، Hacking in this round does not give you extra points, so I was just trying to learn how to hack with my friend
•  » » 2 months ago, # ^ |   0 that's right, good bro.
•  » » » 2 months ago, # ^ |   0 thanQ
•  » » 2 months ago, # ^ |   0 Oh, I understand. Sorry that I accused you of cheating, I was just curious. Pretty new to cf here.
•  » » 2 months ago, # ^ |   0 I agree with you
 » 2 months ago, # |   0 حراق انا صح ؟
 » 2 months ago, # | ← Rev. 11 →   0 Any idea for the problem A pair of integers (x, y) is perfect if both of the following conditions are met:min(|x-y|, |x + y| )<= min([x], [y]) max(|x — y|, |x+y|)>= max(|x|,[y])Given an array arr of length n find the number of perfect pairs (arr[i], arr[i]) whele 0 <= i < j < n Here min(a, b) is the minimum of a and b, max(a, b) is the maximum of a and b, and | x| is the absolute value of x.Example: am = [2, 5, -3] In this example, n = 3 The possible pairs are (2,-3) and (5,-3).1<=n<=2*1e5 -1e9<=arr[i]<=1e9