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