QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#155485#7119. Longest TripMinaRagy06Compile Error//C++203.7kb2023-09-01 17:56:402024-04-28 07:34:06

Details

answer.code: In function ‘std::vector<int> longest_trip(int, int)’:
answer.code:82:48: error: expected ‘;’ before ‘)’ token
   82 |                 for (int j = 0; j < v[1].size()) {
      |                                                ^
      |                                                ;
answer.code:83:60: error: expected ‘)’ before ‘{’ token
   83 |                     if (are_connected({v[0][i]}, {v[1][j]}) {
      |                        ~                                   ^~
      |                                                            )
answer.code:104:17: error: expected primary-expression before ‘}’ token
  104 |                 }
      |                 ^