QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#806334 | #9870. Items | ucup-team4125 | Compile Error | / | / | C++20 | 8.8kb | 2024-12-09 07:52:11 | 2024-12-09 07:52:11 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:28:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] 28 | main() | ^~~~ answer.code: In function ‘void solve(int)’: answer.code:135:52: error: could not convert ‘{a, 1}’ from ‘<brace-enclosed initializer list>’ to ‘std::pair<std::vector<long long int>, int>’ 135 | pair<vector<long long>,int>vres={{0},0},va={a,1}; | ^ | | | <brace-enclosed initializer list>