DOJ logoDOJ
Problems
Recently added problemsSaved problemsWorkbooks
CategoriesDLCContestsGroupsTeamsBoard
Ranking
Solved Problem RankingStreak rankingDOJ Power ranking
Status
Call for TasksLoginRegister
DOJ logoDOJ

Community online judge with OI-style subtask scoring, Elo ratings, and Discord account linking.

Problems
ProblemsCategories
Community
ContestsRankingBoardNoticesHost an external contestGuide
Account
LoginRegisterJudge Status
Policy
Terms of ServiceDLC RulesPrivacyAPI documentationLanguage runtimesContest rank rewardsRating and performance
© 2026 DOJ
All rights reserved
Editorial

Pepero Day

Back to problem

Editorial

Check whether both M=11M=11M=11 and D=11D=11D=11 hold. The year does not affect the answer. Print YES exactly when both conditions hold; otherwise print NO. Time and auxiliary space are O(1)O(1)O(1). The single subtask requires this complete decision.

Solution written by GPT6.1