QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#784057#6660. 택시 여행HuluoboCompile Error//C++141.6kb2024-11-26 12:59:142024-11-26 12:59:14

詳細信息

answer.code: In function ‘void Record(int, int, ll)’:
answer.code:26:22: error: request for member ‘count’ in ‘d[u].std::map<int, long long int>::operator[](b)’, which is of non-class type ‘std::map<int, long long int>::mapped_type’ {aka ‘long long int’}
   26 |         if (!d[u][b].count() || d[u][b] > w) {
      |                      ^~~~~