# Latest

**URL:** https://discuss.codechef.com/latest.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

---

## [Possible Error in Editorial](https://discuss.codechef.com/t/possible-error-in-editorial/126148)

<div class="topic-metadata">

**Author:** [@calm\_life\_86](https://discuss.codechef.com/u/calm_life_86)\
**Replies:** 0\
**Last updated:** [November 8, 2026, 11:23am UTC](https://discuss.codechef.com/t/possible-error-in-editorial/126148 "2026-11-08T11:23:14Z")

</div>

Continuing the discussion from ZIO13002 - Editorial: For Subtask A, the answer is 36, but it can only be gotten through the sequence: 14, 8, 7, 6, 10, 10 which is length 6 x 6 = 36. You show another solution resulting i…

---

## [TELEPHN - Editorial](https://discuss.codechef.com/t/telephn-editorial/126136)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 3\
**Last updated:** [November 5, 2026, 2:13pm UTC](https://discuss.codechef.com/t/telephn-editorial/126136 "2026-11-05T14:13:05Z")

</div>

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

---

## [ALRMALRT - Editorial](https://discuss.codechef.com/t/alrmalrt-editorial/126131)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [November 4, 2026, 4:30pm UTC](https://discuss.codechef.com/t/alrmalrt-editorial/126131 "2026-11-04T16:30:21Z")

</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…

---

## [COPYCAT - Editorial](https://discuss.codechef.com/t/copycat-editorial/126132)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [November 4, 2026, 4:30pm UTC](https://discuss.codechef.com/t/copycat-editorial/126132 "2026-11-04T16:30:20Z")

</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…

---

## [EVENODDS - Editorial](https://discuss.codechef.com/t/evenodds-editorial/126133)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [November 4, 2026, 4:30pm UTC](https://discuss.codechef.com/t/evenodds-editorial/126133 "2026-11-04T16:30:20Z")

</div>

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

---

## [FIVECOIN - Editorial](https://discuss.codechef.com/t/fivecoin-editorial/126134)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [November 4, 2026, 4:30pm UTC](https://discuss.codechef.com/t/fivecoin-editorial/126134 "2026-11-04T16:30:19Z")

</div>

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

---

## [CNSTREE2 - Editorial](https://discuss.codechef.com/t/cnstree2-editorial/126139)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [November 4, 2026, 4:30pm UTC](https://discuss.codechef.com/t/cnstree2-editorial/126139 "2026-11-04T16:30:17Z")

</div>

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

---

## [MINRECT - Editorial](https://discuss.codechef.com/t/minrect-editorial/126135)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [November 4, 2026, 4:30pm UTC](https://discuss.codechef.com/t/minrect-editorial/126135 "2026-11-04T16:30:17Z")

</div>

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

---

## [OFFBYONE - Editorial](https://discuss.codechef.com/t/offbyone-editorial/126137)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [November 4, 2026, 4:30pm UTC](https://discuss.codechef.com/t/offbyone-editorial/126137 "2026-11-04T16:30:17Z")

</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: Dynamic pr…

---

## [CNSTREE - Editorial](https://discuss.codechef.com/t/cnstree-editorial/126138)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [November 4, 2026, 4:30pm UTC](https://discuss.codechef.com/t/cnstree-editorial/126138 "2026-11-04T16:30:17Z")

</div>

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

---

## [Invitation to CodeChef Starters 263 (Rated upto 5 stars) - 4th November](https://discuss.codechef.com/t/invitation-to-codechef-starters-263-rated-upto-5-stars-4th-november/126130)

<div class="topic-metadata">

**Author:** [@jshree\_1029](https://discuss.codechef.com/u/jshree_1029)\
**Replies:** 0\
**Last updated:** [November 4, 2026, 4:17am UTC](https://discuss.codechef.com/t/invitation-to-codechef-starters-263-rated-upto-5-stars-4th-november/126130 "2026-11-04T04:17:28Z")

</div>

We invite you to participate in CodeChef’s Starters 263, this Wednesday, 4th November, rated for 5 stars (i.e. for users with rating \< 2200). Time: 8:00 PM — 10:00 PM IST Joining us on the problem setting panel are: …

---

## [The One with All the Candy Practice Problem in 1800 to 2000 difficulty problems](https://discuss.codechef.com/t/the-one-with-all-the-candy-practice-problem-in-1800-to-2000-difficulty-problems/126126)

<div class="topic-metadata">

**Author:** [@satyam\_mandal](https://discuss.codechef.com/u/satyam_mandal)\
**Replies:** 0\
**Last updated:** [November 2, 2026, 8:26pm UTC](https://discuss.codechef.com/t/the-one-with-all-the-candy-practice-problem-in-1800-to-2000-difficulty-problems/126126 "2026-11-02T20:26:27Z")

</div>

this problem had one test case , and according to me ans should be 87 not 95 can someone explain how 95 will be ans , it will help me identify where I am lacking Given Test Case 1 97 0 2 4 2 7 6 8 5 11 0 20 9 19 …

---

## [HP18 - EDITORIAL](https://discuss.codechef.com/t/hp18-editorial/21629)

<div class="topic-metadata">

**Author:** [@taran\_1407](https://discuss.codechef.com/u/taran_1407)\
**Replies:** 17\
**Last updated:** [November 1, 2026, 8:09am UTC](https://discuss.codechef.com/t/hp18-editorial/21629 "2026-11-01T08:09:55Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Setter: Hruday Pabbisetty Tester: Xiuhan Wang Editorialist: Taranpreet Singh DIFFICULTY: Simple PREREQUISITES: Game-Theory and Basic Math would do. P…

---

## [\#include \<bits/stdc++.h\> using namespace std; long long MaxSumSubarray(const vector\<long long\>& V)](https://discuss.codechef.com/t/include-bits-stdc-h-using-namespace-std-long-long-maxsumsubarray-const-vector-long-long-v/126115)

<div class="topic-metadata">

**Author:** [@labor\_tear\_06](https://discuss.codechef.com/u/labor_tear_06)\
**Replies:** 0\
**Last updated:** [October 31, 2026, 9:52am UTC](https://discuss.codechef.com/t/include-bits-stdc-h-using-namespace-std-long-long-maxsumsubarray-const-vector-long-long-v/126115 "2026-10-31T09:52:15Z")

</div>

find error give correct code

---

## [EQLZR - Editorial](https://discuss.codechef.com/t/eqlzr-editorial/126095)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 28, 2026, 5:30pm UTC](https://discuss.codechef.com/t/eqlzr-editorial/126095 "2026-10-28T17:30:20Z")

</div>

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

---

## [ALARMM - Editorial](https://discuss.codechef.com/t/alarmm-editorial/126093)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 28, 2026, 5:30pm UTC](https://discuss.codechef.com/t/alarmm-editorial/126093 "2026-10-28T17:30:19Z")

</div>

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

---

## [COLLAPSEE - Editorial](https://discuss.codechef.com/t/collapsee-editorial/126094)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 28, 2026, 5:30pm UTC](https://discuss.codechef.com/t/collapsee-editorial/126094 "2026-10-28T17:30:19Z")

</div>

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

---

## [RHYDOOR - Editorial](https://discuss.codechef.com/t/rhydoor-editorial/126096)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 28, 2026, 5:30pm UTC](https://discuss.codechef.com/t/rhydoor-editorial/126096 "2026-10-28T17:30:19Z")

</div>

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

---

## [XORQUADS - Editorial](https://discuss.codechef.com/t/xorquads-editorial/126097)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 28, 2026, 5:30pm UTC](https://discuss.codechef.com/t/xorquads-editorial/126097 "2026-10-28T17:30:18Z")

</div>

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

---

## [ODDPWD - Editorial](https://discuss.codechef.com/t/oddpwd-editorial/126100)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 28, 2026, 5:30pm UTC](https://discuss.codechef.com/t/oddpwd-editorial/126100 "2026-10-28T17:30:18Z")

</div>

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

---

## [MONOORBEZ - Editorial](https://discuss.codechef.com/t/monoorbez-editorial/126103)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 28, 2026, 5:30pm UTC](https://discuss.codechef.com/t/monoorbez-editorial/126103 "2026-10-28T17:30:16Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: nikhil\_010309 Tester: raysh07 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: DP, combina…

---

## [MONOORB - Editorial](https://discuss.codechef.com/t/monoorb-editorial/126105)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 28, 2026, 5:30pm UTC](https://discuss.codechef.com/t/monoorb-editorial/126105 "2026-10-28T17:30:16Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: nikhil\_010309 Tester: raysh07 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: DP, combina…

---

## [PHSHFT - Editorial](https://discuss.codechef.com/t/phshft-editorial/126104)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 28, 2026, 5:30pm UTC](https://discuss.codechef.com/t/phshft-editorial/126104 "2026-10-28T17:30:16Z")

</div>

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

---

## [XORSCHED - Editorial](https://discuss.codechef.com/t/xorsched-editorial/126102)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 28, 2026, 5:30pm UTC](https://discuss.codechef.com/t/xorsched-editorial/126102 "2026-10-28T17:30:16Z")

</div>

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

---

## [BRKFLP - Editorial](https://discuss.codechef.com/t/brkflp-editorial/126101)

<div class="topic-metadata">

**Author:** [@iceknight1093](https://discuss.codechef.com/u/iceknight1093)\
**Replies:** 0\
**Last updated:** [October 28, 2026, 5:30pm UTC](https://discuss.codechef.com/t/brkflp-editorial/126101 "2026-10-28T17:30:16Z")

</div>

PROBLEM LINK: Practice Contest: Division 1 Contest: Division 2 Contest: Division 3 Contest: Division 4 Author: hyder1102 Tester: raysh07 Editorialist: iceknight1093 DIFFICULTY: TBD PREREQUISITES: DSU, trees PRO…

---

## [Invitation to CodeChef Starters 262 (Rated for All) - 28th October](https://discuss.codechef.com/t/invitation-to-codechef-starters-262-rated-for-all-28th-october/126099)

<div class="topic-metadata">

**Author:** [@jshree\_1029](https://discuss.codechef.com/u/jshree_1029)\
**Replies:** 0\
**Last updated:** [October 28, 2026, 11:00am UTC](https://discuss.codechef.com/t/invitation-to-codechef-starters-262-rated-for-all-28th-october/126099 "2026-10-28T11:00:53Z")

</div>

We invite you to participate in CodeChef’s Starters 262, this Wednesday, 28th October, rated for All (for all users). Time: 8:00 PM — 10:00 PM IST Joining us on the problem setting panel are: Contest Admin, Statemen…

---

## [Time limit](https://discuss.codechef.com/t/time-limit/126092)

<div class="topic-metadata">

**Author:** [@cc\_cu123](https://discuss.codechef.com/u/cc_cu123)\
**Replies:** 0\
**Last updated:** [October 28, 2026, 6:06am UTC](https://discuss.codechef.com/t/time-limit/126092 "2026-10-28T06:06:16Z")

</div>

my codechef time limit got exceeded.

---

## [Tip: avoid integer overflow in C++ sums](https://discuss.codechef.com/t/tip-avoid-integer-overflow-in-c-sums/126089)

<div class="topic-metadata">

**Author:** [@relax\_tune\_20](https://discuss.codechef.com/u/relax_tune_20)\
**Replies:** 0\
**Last updated:** [October 27, 2026, 1:27pm UTC](https://discuss.codechef.com/t/tip-avoid-integer-overflow-in-c-sums/126089 "2026-10-27T13:27:26Z")

</div>

A common beginner mistake is multiplying or summing large values in a 32-bit int. If the result can pass about 2 billion, use long long instead. Also use 1LL when multiplying, for example 1LL \* a \* b, so the multiplicati…

---

## [Fix hidden test case for Reverse Mirror Encoding](https://discuss.codechef.com/t/fix-hidden-test-case-for-reverse-mirror-encoding/126086)

<div class="topic-metadata">

**Author:** [@zirutok](https://discuss.codechef.com/u/zirutok)\
**Replies:** 1\
**Last updated:** [October 27, 2026, 5:48am UTC](https://discuss.codechef.com/t/fix-hidden-test-case-for-reverse-mirror-encoding/126086 "2026-10-27T05:48:35Z")

</div>

The problem Reverse Mirror Encoding has a hidden test cases violating the stated spec

---

## [Fix hidden test case for Bank Account Validator](https://discuss.codechef.com/t/fix-hidden-test-case-for-bank-account-validator/126085)

<div class="topic-metadata">

**Author:** [@zirutok](https://discuss.codechef.com/u/zirutok)\
**Replies:** 0\
**Last updated:** [October 26, 2026, 8:34pm UTC](https://discuss.codechef.com/t/fix-hidden-test-case-for-bank-account-validator/126085 "2026-10-26T20:34:16Z")

</div>

The problem Bank Account Validator has a hidden test case with A \> 1e18. Remove or change constraints

[Previous page](https://discuss.codechef.com/latest.md)

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