№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 166 |
2 | maomao90 | 163 |
2 | Um_nik | 163 |
4 | atcoder_official | 161 |
5 | adamant | 160 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | nor | 153 |
9 | Dominater069 | 153 |
Название |
---|
Note that multiplying c<d by −1 gives −c<−d. So we have a−c<b−d by our previous result. Shouldn't it be c>d in the first place?
Fixed, thanks!
cool blog now i know math $
This is great, I think it will help many newbies like me to understand fundamentals and common senses.
I stumbled on a question and it would be great if I could get some help with it. I need to find the sum of (floor(1*sqrt(2)) + floor(2*sqrt(2)) + ... + floor(n*sqrt(2))). To me, this looks really similar to Gauss' property with m = n * sqrt(2), I could be wrong though. It gives me almost right answer with just minor offsets for some values of n. Since, m needs to be an integer, is there any way that we can modify this formula? or is there any other approach you would recommend?
Edit1: https://math.stackexchange.com/questions/1622147/simplifying-sum-of-floor-functions
Edit2: https://mathproblems123.wordpress.com/2020/07/25/sum-of-floors-of-multiples-of-the-golden-ratio/