QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#806592#9864. Coinucup-team4985Compile Error//C++231.4kb2024-12-09 12:28:372024-12-09 12:28:39

Details

answer.code:37:19: error: stray ‘#’ in program
   37 |         return n  # Special case, though k >=2 per problem constraints
      |                   ^
answer.code:39:11: error: invalid preprocessing directive #Find
   39 |         # Find the highest power of 2 <=n
      |           ^~~~
answer.code:48:11: error: invalid preprocessing directive #ceil
   48 |         # ceil(last / (k-1))
      |           ^~~~
answer.code:1:1: error: expected unqualified-id before ‘if’
    1 | if 1:
      | ^~