# editorial

**URL:** https://discuss.codechef.com/c/editorial/5.md?page=1

[Latest](https://discuss.codechef.com/latest.md) · [Categories](https://discuss.codechef.com/categories.md) · [Tags](https://discuss.codechef.com/tags.md)

**Page:** 2

---

## [My code is correct,still it is showing error](https://discuss.codechef.com/t/my-code-is-correct-still-it-is-showing-error/126041)

<div class="topic-metadata">

**Author:** [@rcpit26199909](https://discuss.codechef.com/u/rcpit26199909)\
**Replies:** 0\
**Last updated:** [October 17, 2026, 10:13am UTC](https://discuss.codechef.com/t/my-code-is-correct-still-it-is-showing-error/126041 "2026-10-17T10:13:58Z")

</div>

---

## [MERGEHD - Editorial](https://discuss.codechef.com/t/mergehd-editorial/126031)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 1\
**Last updated:** [October 15, 2026, 10:56am UTC](https://discuss.codechef.com/t/mergehd-editorial/126031 "2026-10-15T10:56:38Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: raysh07 Tester: iceknight1093 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: NTT PROBLE…

---

## [DIFFGCD - Editorial](https://discuss.codechef.com/t/diffgcd-editorial/126029)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 2\
**Last updated:** [October 14, 2026, 9:05pm UTC](https://discuss.codechef.com/t/diffgcd-editorial/126029 "2026-10-14T21:05:38Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: raysh07 Tester: iceknight1093 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: Square root…

---

## [REVMX - Editorial](https://discuss.codechef.com/t/revmx-editorial/126032)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 14, 2026, 5:15pm UTC](https://discuss.codechef.com/t/revmx-editorial/126032 "2026-10-14T17:15:46Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: raysh07 Tester: iceknight1093 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: Prefix sums…

---

## [MERGEEZ - Editorial](https://discuss.codechef.com/t/mergeez-editorial/126030)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 14, 2026, 4:30pm UTC](https://discuss.codechef.com/t/mergeez-editorial/126030 "2026-10-14T16:30:49Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: raysh07 Tester: iceknight1093 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: Dynamic pro…

---

## [WATERMOVE2 - Editorial](https://discuss.codechef.com/t/watermove2-editorial/126034)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 14, 2026, 4:30pm UTC](https://discuss.codechef.com/t/watermove2-editorial/126034 "2026-10-14T16:30:47Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: raysh07 Tester: iceknight1093 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: None PROBL…

---

## [BLUEBLACK - Editorial](https://discuss.codechef.com/t/blueblack-editorial/126037)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 14, 2026, 4:30pm UTC](https://discuss.codechef.com/t/blueblack-editorial/126037 "2026-10-14T16:30:47Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: raysh07 Tester: iceknight1093 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: None PROBL…

---

## [CHANGEONE7 - Editorial](https://discuss.codechef.com/t/changeone7-editorial/126036)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 14, 2026, 4:30pm UTC](https://discuss.codechef.com/t/changeone7-editorial/126036 "2026-10-14T16:30:47Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: raysh07 Tester: iceknight1093 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: None PROBL…

---

## [WATERMOVE - Editorial](https://discuss.codechef.com/t/watermove-editorial/126033)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 14, 2026, 4:30pm UTC](https://discuss.codechef.com/t/watermove-editorial/126033 "2026-10-14T16:30:47Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: raysh07 Tester: iceknight1093 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: None PROBL…

---

## [BattleShip V EDITORIAL](https://discuss.codechef.com/t/battleship-v-editorial/8984)

<div class="topic-metadata">

**Author:** [@namankumar](https://discuss.codechef.com/u/namankumar)\
**Replies:** 1\
**Last updated:** [October 9, 2026, 7:33am UTC](https://discuss.codechef.com/t/battleship-v-editorial/8984 "2026-10-09T07:33:42Z")

</div>

---

## [SLMNTRV - Editorial](https://discuss.codechef.com/t/slmntrv-editorial/126002)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 7, 2026, 4:58pm UTC](https://discuss.codechef.com/t/slmntrv-editorial/126002 "2026-10-07T16:58:05Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: hyder1102 Tester: raysh07 Editorialist: iceknight1093 DIFFICULTY: Simple PREREQUISITES: None PROBLE…

---

## [ANOTSTR - Editorial](https://discuss.codechef.com/t/anotstr-editorial/125999)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 7, 2026, 4:58pm UTC](https://discuss.codechef.com/t/anotstr-editorial/125999 "2026-10-07T16:58:05Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: nikhil\_010309 Tester: raysh07 Editorialist: iceknight1093 DIFFICULTY: Simple PREREQUISITES: None PR…

---

## [DOM3 - Editorial](https://discuss.codechef.com/t/dom3-editorial/126000)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 7, 2026, 4:58pm UTC](https://discuss.codechef.com/t/dom3-editorial/126000 "2026-10-07T16:58:05Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: hyder1102 Tester: raysh07 Editorialist: iceknight1093 DIFFICULTY: Easy PREREQUISITES: Trees PROBLEM…

---

## [POSSROLL - Editorial](https://discuss.codechef.com/t/possroll-editorial/126001)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 7, 2026, 4:58pm UTC](https://discuss.codechef.com/t/possroll-editorial/126001 "2026-10-07T16:58:05Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: nikhil\_010309 Tester: raysh07 Editorialist: iceknight1093 DIFFICULTY: Cakewalk PREREQUISITES: None P…

---

## [WRSTP - Editorial](https://discuss.codechef.com/t/wrstp-editorial/126004)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 7, 2026, 4:57pm UTC](https://discuss.codechef.com/t/wrstp-editorial/126004 "2026-10-07T16:57:05Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: nikhil\_010309 Tester: raysh07 Editorialist: iceknight1093 DIFFICULTY: Cakewalk PREREQUISITES: None P…

---

## [TYPWRL - Editorial](https://discuss.codechef.com/t/typwrl-editorial/126003)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 7, 2026, 4:57pm UTC](https://discuss.codechef.com/t/typwrl-editorial/126003 "2026-10-07T16:57:05Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: Tester: raysh07 Editorialist: iceknight1093 DIFFICULTY: Cakewalk PREREQUISITES: None PROBLEM: You a…

---

## [MEXSUBSORT - Editorial](https://discuss.codechef.com/t/mexsubsort-editorial/126005)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 7, 2026, 4:30pm UTC](https://discuss.codechef.com/t/mexsubsort-editorial/126005 "2026-10-07T16:30:56Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: hyder1102 Tester: raysh07 Editorialist: iceknight1093 DIFFICULTY: Easy PREREQUISITES: None PROBLEM: …

---

## [RESOSIL - Editorial](https://discuss.codechef.com/t/resosil-editorial/126007)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 7, 2026, 4:30pm UTC](https://discuss.codechef.com/t/resosil-editorial/126007 "2026-10-07T16:30:56Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: nikhil\_010309 Tester: raysh07 Editorialist: iceknight1093 DIFFICULTY: Easy-Medium PREREQUISITES: Gre…

---

## [PERMJUMB - Editorial](https://discuss.codechef.com/t/permjumb-editorial/126008)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 7, 2026, 4:30pm UTC](https://discuss.codechef.com/t/permjumb-editorial/126008 "2026-10-07T16:30:56Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: hyder1102 Tester: raysh07 Editorialist: iceknight1093 DIFFICULTY: Medium PREREQUISITES: Permutations …

---

## [MAX01EVSWP - Editorial](https://discuss.codechef.com/t/max01evswp-editorial/100228)

<div class="topic-metadata">

**Author:** [@lavish\_adm](https://discuss.codechef.com/u/lavish_adm)\
**Replies:** 7\
**Last updated:** [October 5, 2026, 4:48am UTC](https://discuss.codechef.com/t/max01evswp-editorial/100228 "2026-10-05T04:48:38Z")

</div>

PROBLEM LINK: Contest Division 1 Contest Division 2 Contest Division 3 Contest Division 4 Setter: Srikkanth R Tester: Abhinav Sharma, Aryan Editorialist: Lavish Gupta DIFFICULTY: Easy PREREQUISITES: None PROBLE…

---

## [MEXGAME1 - Editorial](https://discuss.codechef.com/t/mexgame1-editorial/125977)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [September 30, 2026, 4:30pm UTC](https://discuss.codechef.com/t/mexgame1-editorial/125977 "2026-09-30T16:30:27Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: raysh07 Tester: iceknight1093 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: None PROBL…

---

## [MEXGAME2 - Editorial](https://discuss.codechef.com/t/mexgame2-editorial/125978)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [September 30, 2026, 4:30pm UTC](https://discuss.codechef.com/t/mexgame2-editorial/125978 "2026-09-30T16:30:26Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: raysh07 Tester: iceknight1093 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: Prefix sums …

---

## [SANDWICH7 - Editorial](https://discuss.codechef.com/t/sandwich7-editorial/125979)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [September 30, 2026, 4:30pm UTC](https://discuss.codechef.com/t/sandwich7-editorial/125979 "2026-09-30T16:30:26Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: raysh07 Tester: iceknight1093 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: None PROBL…

---

## [SHUFFLEEZ - Editorial](https://discuss.codechef.com/t/shuffleez-editorial/125981)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [September 30, 2026, 4:30pm UTC](https://discuss.codechef.com/t/shuffleez-editorial/125981 "2026-09-30T16:30:25Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: raysh07 Tester: iceknight1093 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: Elementary …

---

## [SEATING7 - Editorial](https://discuss.codechef.com/t/seating7-editorial/125980)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [September 30, 2026, 4:30pm UTC](https://discuss.codechef.com/t/seating7-editorial/125980 "2026-09-30T16:30:25Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: raysh07 Tester: iceknight1093 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: None PROBL…

---

## [CHOCCUT - Editorial](https://discuss.codechef.com/t/choccut-editorial/125983)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [September 30, 2026, 4:30pm UTC](https://discuss.codechef.com/t/choccut-editorial/125983 "2026-09-30T16:30:25Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: raysh07 Tester: iceknight1093 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: None PROBL…

---

## [SHUFFLEHD - Editorial](https://discuss.codechef.com/t/shufflehd-editorial/125982)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [September 30, 2026, 4:30pm UTC](https://discuss.codechef.com/t/shufflehd-editorial/125982 "2026-09-30T16:30:25Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: raysh07 Tester: iceknight1093 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: Elementary …

---

## [STAIRCASE7 - Editorial](https://discuss.codechef.com/t/staircase7-editorial/125985)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [September 30, 2026, 4:30pm UTC](https://discuss.codechef.com/t/staircase7-editorial/125985 "2026-09-30T16:30:25Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: raysh07 Tester: iceknight1093 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: None PROBL…

---

## [FUMI - Editorial](https://discuss.codechef.com/t/fumi-editorial/125955)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [September 23, 2026, 6:02pm UTC](https://discuss.codechef.com/t/fumi-editorial/125955 "2026-09-23T18:02:04Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: iceknight1093 Tester: raysh07 Editorialist: iceknight1093 DIFFICULTY: Easy PREREQUISITES: None PROB…

---

## [ECHOECHO - Editorial](https://discuss.codechef.com/t/echoecho-editorial/125954)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [September 23, 2026, 4:45pm UTC](https://discuss.codechef.com/t/echoecho-editorial/125954 "2026-09-23T16:45:10Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: iceknight1093 Tester: raysh07 Editorialist: iceknight1093 DIFFICULTY: Simple PREREQUISITES: None PR…

[Previous page](https://discuss.codechef.com/c/editorial/5.md)

[Next page](https://discuss.codechef.com/c/editorial/5.md?page=2)
