QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#555435 | #5444. Tavern Chess | ucup-team2203# | Compile Error | / | / | C++20 | 3.1kb | 2024-09-09 23:08:42 | 2024-09-09 23:08:42 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:157:22: error: ‘setprecision’ was not declared in this scope 157 | cout<<fixed<<setprecision(12)<<(a.win)<<'\n'; | ^~~~~~~~~~~~ answer.code:4:1: note: ‘std::setprecision’ is defined in header ‘<iomanip>’; did you forget to ‘#include <iomanip>’? 3 | #include <vector> +++ |+#include <iomanip> 4 | using namespace std;