QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#36310 | #1958. Grid Triangle | MaMengQi | Compile Error | / | / | C++11 | 342b | 2022-06-27 11:43:02 | 2022-06-27 11:43:03 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:11:9: error: ‘sort’ was not declared in this scope; did you mean ‘short’? 11 | sort(rg,rg+3); | ^~~~ | short answer.code:10:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 10 | scanf("%d%d%d",&rg[0],&rg[1],&rg[2]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~