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_36984245_3741.cpp: In function 'int main()':
0_0_36984245_3741.cpp:73:22: error: no matching function for call to 'std::set<long long int>::count()'
      if(se[xx].count() ==0)
                      ^
0_0_36984245_3741.cpp:73:22: note: candidate is:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:61:0,
                 from 0_0_36984245_3741.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_set.h:683:7: note: std::set<_Key, _Compare, _Alloc>::size_type std::set<_Key, _Compare, _Alloc>::count(const key_type&) const [with _Key = long long int; _Compare = std::less<long long int>; _Alloc = std::allocator<long long int>; std::set<_Key, _Compare, _Alloc>::size_type = long long unsigned int; std::set<_Key, _Compare, _Alloc>::key_type = long long int]
       count(const key_type& __x) const
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_set.h:683:7: note:   candidate expects 1 argument, 0 provided
0_0_36984245_3741.cpp:89:22: error: no matching function for call to 'std::set<long long int>::count()'
      if(se[xx].count() ==0)
                      ^
0_0_36984245_3741.cpp:89:22: note: candidate is:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/set:61:0,
                 from 0_0_36984245_3741.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_set.h:683:7: note: std::set<_Key, _Compare, _Alloc>::size_type std::set<_Key, _Compare, _Alloc>::count(const key_type&) const [with _Key = long long int; _Compare = std::less<long long int>; _Alloc = std::allocator<long long int>; std::set<_Key, _Compare, _Alloc>::size_type = long long unsigned int; std::set<_Key, _Compare, _Alloc>::key_type = long long int]
       count(const key_type& __x) const
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_set.h:683:7: note:   candidate expects 1 argument, 0 provided


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-09-27 23:49:09, Gzip enabled