QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#420925#8643. Board Gameegypt_ioi2024_05#Compile Error//C++203.3kb2024-05-25 03:53:222024-05-25 03:53:23

Details

answer.code: In function ‘void solve()’:
answer.code:155:54: error: expected ‘}’ before ‘]’ token
  155 |                 cout << min({dist1[i][0], dist1[i][1]]}) << '\n';
      |                             ~                        ^
answer.code:155:54: error: expected ‘)’ before ‘]’ token
  155 |                 cout << min({dist1[i][0], dist1[i][1]]}) << '\n';
      |                            ~                         ^
      |                                                      )
answer.code:155:56: error: expected primary-expression before ‘)’ token
  155 |                 cout << min({dist1[i][0], dist1[i][1]]}) << '\n';
      |                                                        ^
answer.code: At global scope:
answer.code:157:1: error: expected declaration before ‘}’ token
  157 | }
      | ^