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