QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#94216#5674. Sum of RemaindersZhaoZiLongCompile Error//C++98883b2023-04-05 15:28:182023-04-05 15:28:21

Details

answer.code: In function ‘void sovle()’:
answer.code:16:11: error: expected primary-expression before ‘?’ token
   16 |     return?
      |           ^
answer.code:17:3: error: expected primary-expression before ‘}’ token
   17 |   }
      |   ^
answer.code:16:12: error: expected ‘:’ before ‘}’ token
   16 |     return?
      |            ^
      |            :
   17 |   }
      |   ~         
answer.code:17:3: error: expected primary-expression before ‘}’ token
   17 |   }
      |   ^
answer.code:16:12: error: expected ‘;’ before ‘}’ token
   16 |     return?
      |            ^
      |            ;
   17 |   }
      |   ~