QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#771140 | #9246. Dominating Point | GuanYunchang | Compile Error | / | / | C++11 | 1.0kb | 2024-11-22 10:05:58 | 2024-11-22 10:06:05 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:24:1: error: ‘vector’ does not name a type 24 | vector<int>ans; | ^~~~~~ answer.code: In function ‘int main()’: answer.code:43:31: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 43 | for(int j=0;j<ans.size();j++){ | ^~~ | abs answer.code:50:25: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 50 | ans.push_back(x); | ^~~ | abs answer.code:52:20: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 52 | if(ans.size()==3){ | ^~~ | abs answer.code:26:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 26 | scanf("%d",&n); | ~~~~~^~~~~~~~~