QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#415364 | #6759. 字符串 | tzl_Dedicatus545 | Compile Error | / | / | C++20 | 3.4kb | 2024-05-20 20:00:47 | 2024-05-20 20:00:49 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:87:50: error: ‘setprecision’ was not declared in this scope 87 | {ios::sync_with_stdio(0);cin.tie(0);cerr<<fixed<<setprecision(3)<<(&Mbe-&Med)/1048576.0<<"MiB"<<endl; | ^~~~~~~~~~~~ answer.code:8:1: note: ‘std::setprecision’ is defined in header ‘<iomanip>’; did you forget to ‘#include <iomanip>’? 7 | #include <vector> +++ |+#include <iomanip> 8 | #define ll long long answer.code:109:25: error: ‘assert’ was not declared in this scope 109 | assert(ans.cnt((i-1)/2)==0); | ^~~~~~ answer.code:8:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’? 7 | #include <vector> +++ |+#include <cassert> 8 | #define ll long long