Hi, I implemented the problem 100883E - xortion using tries and am not able to figure out my mistake. Would appreciate if someone could help me out. Thanks in advance. Here is my submission 63671101
| # | 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 |
Hi, I implemented the problem 100883E - xortion using tries and am not able to figure out my mistake. Would appreciate if someone could help me out. Thanks in advance. Here is my submission 63671101
| Name |
|---|



Auto comment: topic has been updated by __Apocalypse__ (previous revision, new revision, compare).
The submission isn't visible, put your code on ideone.
Please check out the code from here https://www.ideone.com/EamMC8.
I didn't look at your code, I just stresstested it. And it fails here:
It prints $$$2$$$ instead of $$$1$$$.
Did you read
In case of many possible values of P , take the minimum.in the problem statement?Yeah I had missed out on that, but even after making that correct I'm not getting AC. Here is the modified submission. https://www.ideone.com/VqZDgb
Separate testcases by a blank line.in the problem statement.You're not doing that correctly. Check with a test having $$$T = 2$$$
Thanks a lot man! It worked. Careless mistake on my part.