Given two integers N and I, construct a sequence of length N with inequality I where inequality is defined as
$$$I = \sum\limits{i=1}^N \bigg( \sum\limits{j=i}^N rangemax(i,j) \bigg)$$$
# | User | Rating |
---|---|---|
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 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
2 | maomao90 | 163 |
4 | atcoder_official | 161 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | nor | 153 |
9 | Dominater069 | 153 |
Constructive Algorithms question that i have no idea how to solve
Given two integers N and I, construct a sequence of length N with inequality I where inequality is defined as
$$$I = \sum\limits{i=1}^N \bigg( \sum\limits{j=i}^N rangemax(i,j) \bigg)$$$
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en11 | yeeeet | 2020-12-29 02:56:37 | 0 | (published) | ||
en10 | yeeeet | 2020-12-29 02:56:25 | 14 | Tiny change: 'integers N<=100000 and I<=1e18, construc' -> 'integers N and I, construc' (saved to drafts) | ||
en9 | yeeeet | 2020-12-27 17:16:15 | 0 | (published) | ||
en8 | yeeeet | 2020-12-27 17:15:51 | 27 | Tiny change: 'quence of length N ' -> 'quence of non-negative integers with length N ' (saved to drafts) | ||
en7 | yeeeet | 2020-12-27 15:15:04 | 42 | Tiny change: 'blemsetter by settin' -> 'blemsetter([user:dvdg6566]) by settin' | ||
en6 | yeeeet | 2020-12-27 15:11:47 | 500 | Tiny change: 'ution for I>=(2*(n-1)*(n-2)) but for s' -> 'ution for $I>=(2*(n-1)*(n-2))$ but for s' (published) | ||
en5 | yeeeet | 2020-12-27 15:05:39 | 3 | |||
en4 | yeeeet | 2020-12-27 15:04:16 | 108 | |||
en3 | yeeeet | 2020-12-27 15:01:37 | 53 | |||
en2 | yeeeet | 2020-12-27 15:00:09 | 84 | Tiny change: '\nhttps://mirror.codeforces.com/3c4b9a/bob.png\n' -> '\nhttps://freeimage.host/i/Kjx1g2' | ||
en1 | yeeeet | 2020-12-27 14:51:02 | 240 | Initial revision (saved to drafts) |
Name |
---|