QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#463750 | #8313. Nim Cheater | mekoszc | Compile Error | / | / | C++14 | 1.0kb | 2024-07-05 13:39:51 | 2024-07-05 13:39:51 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘void dfs(int)’: answer.code:23:37: error: ‘class std::vector<int>’ has no member named ‘shirink_to_fit’; did you mean ‘shrink_to_fit’? 23 | dp[x].clear(),dp[x].shirink_to_fit(); | ^~~~~~~~~~~~~~ | shrink_to_fit answer.code: In function ‘int main()’: answer.code:39:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 39 | scanf("%d",&m); | ~~~~~^~~~~~~~~ answer.code:43:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 43 | scanf("%s",str); | ~~~~~^~~~~~~~~~ answer.code:51:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 51 | scanf("%d%d",a+k,b+k); | ~~~~~^~~~~~~~~~~~~~~~