QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#865375 | #7942. $K$ Subsequences | MaMengQi | Compile Error | / | / | C++17 | 570b | 2025-01-21 17:17:02 | 2025-01-21 17:17:03 |
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:47: error: conversion from ‘std::_Rb_tree_const_iterator<std::pair<long long int, long long int> >’ to non-scalar type ‘std::pair<long long int, long long int>’ requested 16 | pair<ll,ll> t=it; | ^~ answer.code:23:48: error: conversion from ‘std::_Rb_tree_const_iterator<std::pair<long long int, long long int> >::_Self’ to non-scalar type ‘std::pair<long long int, long long int>’ requested 23 | pair<ll,ll> t=(--it); | ~^~~~~