/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:249:5: error: 'vector' was not declared in this scope
  249 |     vector<string> results;
      |     ^~~~~~
/in/foo.cc:4:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
    3 | #include <cstring>
  +++ |+#include <vector>
    4 | using namespace std;
/in/foo.cc:249:18: error: expected primary-expression before '>' token
  249 |     vector<string> results;
      |                  ^
/in/foo.cc:249:20: error: 'results' was not declared in this scope
  249 |     vector<string> results;
      |                    ^~~~~~~

信息

递交者
类型
递交
题目
P1856 文本编辑器
语言
C++
递交时间
2025-05-12 10:29:14
评测时间
2025-05-12 10:29:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes