QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#238361 | #5693. 众数 | MaMengQi | Compile Error | / | / | C++98 | 906b | 2023-11-04 16:31:13 | 2023-11-04 16:31:13 |
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:13:9: error: ‘ans’ was not declared in this scope 13 | ans = 0; | ^~~ answer.code:20:38: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ 20 | ve.push_back({i,a[i] - a[n]}); | ^ answer.code:20:37: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ 20 | ve.push_back({i,a[i] - a[n]}); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~