Kensai's blog

By Kensai, history, 9 months ago, In English

Enigma 2026 Editorial

Thank you to everyone who participated in this year's contest! It was a pleasure hosting such a talented pool of competitive programmers. We hope you found the challenges engaging and that you enjoyed the variety of logic and implementation required.

A special thanks to synthborne for providing guidance and reviewing the problems for this contest.


A. Enigma

Author: Kinetic, Cactii

Hint 1
Hint 2
Solution
Implementation

B. OR Reconstruction (Easier Version)

Author: roronoa_2z, keshav_.agg

Hint 1
Hint 2
Hint 3
Solution
Implementation

C. Shifting Domain of Zenin

Author: shah_mehul, Kensai

Hint 1
Hint 2
Hint 3
Hint 4
Solution
Implementation

D. OR Reconstruction (Harder Version)

Author: roronoa_2z, keshav_.agg

Hint 1
Hint 2
Hint 3
Solution
Implementation

E. Inxeption

Author: shah_mehul

Hint 1
Hint 2
Hint 3
Solution
Implementation

F. Permutation Identification

Author: Blackwater

Hint 1
Hint 2
Solution
Implementation

G. Perfect Harmony

Author: Kensai

Hint 1
Hint 2
Hint 3
Solution
Implementation

Feel free to leave feedback and questions in the comments below!

  • Vote: I like it
  • +8
  • Vote: I do not like it

»
9 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Kensai (previous revision, new revision, compare).

»
9 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Kensai (previous revision, new revision, compare).

»
9 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Kensai (previous revision, new revision, compare).

»
9 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

In ques "E. Inxeption", how is f(x) monotonous?

»
9 months ago, hide # |
← Rev. 3  
Vote: I like it 0 Vote: I do not like it

Kensai Your solution to G is not correct. There is a way to get an ordering even if the subset xor is not 1. Consider the following testcase

4 1
H
H
H
H

Judges solution prints 8. This has all subsets with an odd number of elements(4 + 4). However there is an order of dates with the full set as well.

Initial state is HHHH, the following is an order

HHHH -> date(1,2) -> SSHH
SSHH -> date(1,3) -> HSHH
HSHH -> date(2,4) -> HHHH
HHHH -> date(3,4) -> HHSS
HHSS -> date(1,4) -> HHSH
HHSH -> date(2,3) -> HHHH