QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#592763 | #7332. Dissertation | MaMengQi | Compile Error | / | / | C++98 | 891b | 2024-09-27 03:07:17 | 2024-09-27 03:07:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:16:25: error: ‘>>’ should be ‘> >’ within a nested template argument list 16 | vector<vector<ll>>nxt(n+1,vector<ll>(30,n)); | ^~ | > > answer.code:18:9: error: ‘function’ was not declared in this scope 18 | function<ll(ll,ll)>solve=[&](ll i,ll j)->ll{ | ^~~~~~~~ answer.code:18:9: note: ‘std::function’ is only available from C++11 onwards answer.code:2:12: error: expected primary-expression before ‘long’ 2 | #define ll long long | ^~~~ answer.code:18:18: note: in expansion of macro ‘ll’ 18 | function<ll(ll,ll)>solve=[&](ll i,ll j)->ll{ | ^~ answer.code:24:15: error: ‘solve’ was not declared in this scope 24 | cout<<solve(0,0)<<nl; | ^~~~~