QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#154994#7119. Longest TripMinaRagy06Compile Error//C++202.6kb2023-09-01 05:19:432024-04-28 06:52:46

Details

answer.code: In function ‘std::vector<int> longest_trip(int, int)’:
answer.code:63:59: error: expected ‘)’ before ‘{’ token
   63 |         } else if (are_connected({v[1][0]}, {v[0].back()}) {
      |                   ~                                       ^~
      |                                                           )
answer.code:86:5: error: expected primary-expression before ‘}’ token
   86 |     }
      |     ^
answer.code:87:1: warning: control reaches end of non-void function [-Wreturn-type]
   87 | }
      | ^