QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#464078 | #6964. Werewolves | ZhaoZiLong | Compile Error | / | / | C++23 | 7.7kb | 2024-07-05 19:12:41 | 2024-07-05 19:12:43 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void solve()’: answer.code:219:5: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 219 | ans.clear(); | ^~~ | abs answer.code: In function ‘void FileIO::setIn(std::string)’: answer.code:66:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 66 | void setIn(string s) { freopen(s.c_str(),"r",stdin); } | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ answer.code: In function ‘void FileIO::setOut(std::string)’: answer.code:67:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 67 | void setOut(string s) { freopen(s.c_str(),"w",stdout); } | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~