QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#553114#9241. Sphinxthomaswmy#Compile Error//C++14125b2024-09-08 09:10:402024-09-08 09:10:41

Judging History

你现在查看的是最新测评结果

  • [2024-09-08 09:10:41]
  • 评测
  • [2024-09-08 09:10:40]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
vector<int> find_colours(int N,vector<int> X,vector<int> Y) {
return X;
}

详细

implementer.cpp: In function ‘int {anonymous}::sz(const C&)’:
implementer.cpp:26:52: error: ‘size’ is not a member of ‘std’; did you mean ‘size_t’?
   26 | template<class C> int sz(const C& c) { return std::size(c); }
      |                                                    ^~~~
      |                                                    size_t