QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#311164#7906. Almost Convexucup-team954Compile Error//C++203.0kb2024-01-22 00:18:502024-01-22 00:18:50

詳細信息

answer.code: In function ‘void andrew()’:
answer.code:87:5: error: ‘vector’ was not declared in this scope
   87 |     vector<PDD> val;
      |     ^~~~~~
answer.code:5:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
    4 | #include <cmath>
  +++ |+#include <vector>
    5 | 
answer.code:87:15: error: expected primary-expression before ‘>’ token
   87 |     vector<PDD> val;
      |               ^
answer.code:87:17: error: ‘val’ was not declared in this scope
   87 |     vector<PDD> val;
      |                 ^~~