F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_4504670_19133.cpp: In function `int main()':
0_0_4504670_19133.cpp:41: error: conversion from `std::_Rb_tree_const_iterator<std::pair<int, short int> >' to non-scalar type `std::_Rb_tree_const_iterator<std::pair<int, int> >' requested
0_0_4504670_19133.cpp:41: error: no match for 'operator!=' in 'it != (&list)->std::set<_Key, _Compare, _Alloc>::end [with _Key = std::pair<int, short int>, _Compare = std::less<std::pair<int, short int> >, _Alloc = std::allocator<std::pair<int, short int> >]()'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tree.h:286: note: candidates are: bool std::_Rb_tree_const_iterator<_Tp>::operator!=(const std::_Rb_tree_const_iterator<_Tp>&) const [with _Tp = std::pair<int, int>]


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-16 22:38:03, Gzip enabled