QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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>