제출 #1257947

#제출 시각아이디문제언어결과실행 시간메모리
1257947Canuc80k3개의 봉우리 (IOI25_triples)C++20
컴파일 에러
0 ms0 KiB
std::vector<int> construct_range(int M, int K) { cout << M << '\n'; for (int i = 1; i <= M; i ++) cout << 1 << ' '; }

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

triples.cpp:1:6: error: 'vector' in namespace 'std' does not name a template type
    1 | std::vector<int> construct_range(int M, int K) {
      |      ^~~~~~
triples.cpp:1:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
  +++ |+#include <vector>
    1 | std::vector<int> construct_range(int M, int K) {