I was trying to solve this problem using AVL tree, but getting RE. Can't find out what I'm doing wrong. Can someone help me ??
Solution — https://ideone.com/l7a0jg
# | User | Rating |
---|---|---|
1 | jiangly | 3898 |
2 | tourist | 3840 |
3 | orzdevinwang | 3706 |
4 | ksun48 | 3691 |
5 | jqdai0815 | 3682 |
6 | ecnerwala | 3525 |
7 | gamegame | 3477 |
8 | Benq | 3468 |
9 | Ormlis | 3381 |
10 | maroonrk | 3379 |
# | User | Contrib. |
---|---|---|
1 | cry | 168 |
2 | -is-this-fft- | 165 |
3 | Dominater069 | 161 |
4 | Um_nik | 159 |
4 | atcoder_official | 159 |
6 | djm03178 | 157 |
7 | adamant | 153 |
8 | luogu_official | 150 |
9 | awoo | 149 |
10 | TheScrasse | 146 |
Help in SPOJ — ORDERSET
I was trying to solve this problem using AVL tree, but getting RE. Can't find out what I'm doing wrong. Can someone help me ??
Solution — https://ideone.com/l7a0jg
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en5 | rofi93 | 2018-09-22 11:08:55 | 122 | Tiny change: ' directly root->subtree_size without c' -> ' directly `root->subtree_size` without c' | ||
en4 | rofi93 | 2018-09-22 11:02:37 | 125 | Tiny change: 'com/l7a0jg' -> 'com/l7a0jg\n\n**UPDATE**\n' | ||
en3 | rofi93 | 2018-09-20 20:32:20 | 10 | |||
en2 | rofi93 | 2018-09-20 20:31:21 | 2 | (published) | ||
en1 | rofi93 | 2018-09-20 20:30:55 | 238 | Initial revision (saved to drafts) |
Name |
---|