QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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); | ~~~~~^~~~~~~~~