DOJ logoDOJ
Problems
Recently added problemsSaved problems
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
Revision historyCurrent post
Revision 1Problem-Edit requestMarkdown

C++17 Submission Fails with "Unsupported grader build flag"

sigtunaOct 12, 2026, 3:05 AM
KOEN
92

Note: This post was translated and drafted with the assistance of ChatGPT. I apologize for any awkward phrasing.

Hello,

I am trying to submit a solution for Problem #92, "Strong Laser," but my submission fails with the following error:

Unsupported grader build flag: -std=c++17

The only C++ language option available to me is C++17.

According to the problem statement, I included #include "plast.h" and implemented the required int count_blocks(int n) function without defining main().

The error appears to occur during the grader build process, rather than during the compilation or execution of my solution.

Could you please check whether there is an issue with the grader configuration, or let me know if there is anything I need to change on my side?

Thank you for your help.