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