/ Vijos /

记录详情

Compile Error

/in/foo.cc:15:1: error: invalid use of template-name 'std::vector' without an argument list
   15 | vector
      | ^~~~~~
/in/foo.cc:15:1: note: class template argument deduction is only available with '-std=c++17' or '-std=gnu++17'
In file included from /usr/include/c++/12/vector:64,
                 from /usr/include/c++/12/queue:61,
                 from /usr/include/x86_64-linux-gnu/c++/12/bits/stdc++.h:86,
                 from /in/foo.cc:10:
/usr/include/c++/12/bits/stl_vector.h:423:11: note: 'template<class _Tp, class _Alloc> class std::vector' declared here
  423 |     class vector : protected _Vector_base<_Tp, _Alloc>
      |           ^~~~~~

信息

递交者
类型
递交
题目
P1369 难解的问题
语言
C++
递交时间
2025-06-07 09:13:58
评测时间
2025-06-07 09:13:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes