3
[Help] Range = sqrt(sum)
source link: https://codeforces.com/blog/entry/109443?f0a28=1
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
By YoussefObama, 5 hours ago,
How did people solve this problem based on the fact that
max(a_1, a_2, ..., a_n) — min(a_1, a_2, ..., a_n) = x where a_1 + a_2 + ... + a_n = x^2
how is this correct?
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK