Submission #1257947

#TimeUsernameProblemLanguageResultExecution timeMemory
1257947Canuc80kTriple Peaks (IOI25_triples)C++20
Compilation error
0 ms0 KiB
std::vector<int> construct_range(int M, int K) { cout << M << '\n'; for (int i = 1; i <= M; i ++) cout << 1 << ' '; }

Compilation message (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) {