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-backed certification.

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

루미의 진정한™️ 보라색 찾기

Back to problem

Editorial

  • 주어진 식을 그대로 구현하면 됩니다.
  • 정수 나눗셈으로 비교하려면 연산 순서에 주의해야 합니다. 보정하기 전의 HHH는 음수일 수 있습니다.
  • HHH, SSS를 정수 나눗셈으로 계산하면 틀릴 수 있습니다. 대부분의 언어는 정수 나눗셈에서 소수점 아래를 0 쪽으로 버립니다(round-towards-zero).
  • 판정할 때 HHH, SSS, VVV를 정수로 바꿔도 틀릴 수 있습니다.