QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#238320 | #5693. 众数 | GuanYunchang | Compile Error | / | / | C++98 | 876b | 2023-11-04 16:23:56 | 2023-11-04 16:23:56 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:19:38: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ 19 | ve.push_back({i,a[i] - a[n]}); | ^ answer.code:19:37: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ 19 | ve.push_back({i,a[i] - a[n]}); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ answer.code:49:34: error: ‘begin’ was not declared in this scope 49 | ve.erase(begin() + dle[i] - t); | ^~~~~ answer.code:49:34: note: ‘std::begin’ is only available from C++11 onwards