제출 #1170210

#제출 시각아이디문제언어결과실행 시간메모리
1170210antonn가장 긴 여행 (IOI23_longesttrip)C++20
컴파일 에러
0 ms0 KiB
vector<int> longest_trip(int n, int d) { if (d == 3) { vector<int> path; for (int i = 0; i < n; ++i) path.push_back(i); return path; } }

컴파일 시 표준 에러 (stderr) 메시지

longesttrip.cpp:1:1: error: 'vector' does not name a type
    1 | vector<int> longest_trip(int n, int d) {
      | ^~~~~~