QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#474503#8338. Quad Kingdoms ChessZhangYiDeCompile Error//C++173.8kb2024-07-12 19:23:042024-07-12 19:23:04

Details

answer.code:121:12: error: unterminated comment
  121 |     cout <</* "   | " << (query(1, 1, n[0], n[0], 0) % P == query(1, 1, n[1], n[1], 1) ? "YES\n" : "NO\n");
      |            ^
answer.code: In function ‘int main()’:
answer.code:121:12: error: expected primary-expression at end of input
answer.code:121:12: error: expected ‘}’ at end of input
answer.code:115:29: note: to match this ‘{’
  115 |   for (int op, x, v; q--; ) {
      |                             ^
answer.code:121:12: error: expected ‘}’ at end of input
  121 |     cout <</* "   | " << (query(1, 1, n[0], n[0], 0) % P == query(1, 1, n[1], n[1], 1) ? "YES\n" : "NO\n");
      |            ^
answer.code:97:15: note: to match this ‘{’
   97 | signed main() {
      |               ^