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 | Benq | 3676 |
| 2 | Kevin114514 | 3659 |
| 3 | jiangly | 3640 |
| 4 | turmax | 3450 |
| 5 | tourist | 3382 |
| 6 | strapple | 3360 |
| 7 | Um_nik | 3354 |
| 8 | squareOf105 | 3348 |
| 9 | maroonrk | 3312 |
| 10 | idontwannadothis…e | 3191 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 156 |
| 2 | nik_exists | 151 |
| 3 | maspy | 149 |
| 4 | AmShZ | 145 |
| 5 | Um_nik | 143 |
| 6 | Errichto | 139 |
| 7 | BledDest | 136 |
| 8 | adamant | 135 |
| 9 | maroonrk | 132 |
| 10 | cry | 130 |
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 |
|---|


