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_23769657_26974.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include£¼iostream>
         ^
0_0_23769657_26974.cpp:20:1: error: stray '\243' in program
 if(max<p£­>second)
 ^
0_0_23769657_26974.cpp:20:1: error: stray '\255' in program
0_0_23769657_26974.cpp:22:1: error: stray '\243' in program
 max=p£­>second;
 ^
0_0_23769657_26974.cpp:22:1: error: stray '\255' in program
0_0_23769657_26974.cpp:25:1: error: stray '\243' in program
 cout£¼£¼s£­£¾first£¼£¼endl;
 ^
0_0_23769657_26974.cpp:25:1: error: stray '\274' in program
0_0_23769657_26974.cpp:25:1: error: stray '\243' in program
0_0_23769657_26974.cpp:25:1: error: stray '\274' in program
0_0_23769657_26974.cpp:25:1: error: stray '\243' in program
0_0_23769657_26974.cpp:25:1: error: stray '\255' in program
0_0_23769657_26974.cpp:25:1: error: stray '\243' in program
0_0_23769657_26974.cpp:25:1: error: stray '\276' in program
0_0_23769657_26974.cpp:25:1: error: stray '\243' in program
0_0_23769657_26974.cpp:25:1: error: stray '\274' in program
0_0_23769657_26974.cpp:25:1: error: stray '\243' in program
0_0_23769657_26974.cpp:25:1: error: stray '\274' in program
0_0_23769657_26974.cpp: In function 'int main()':
0_0_23769657_26974.cpp:7:7: error: 'cin' was not declared in this scope
 while(cin>>n)
       ^
0_0_23769657_26974.cpp:17:29: error: conflicting declaration 'std::map<std::basic_string<char>, int>::iterator s'
 map<string,int>::iterator p,s;
                             ^
0_0_23769657_26974.cpp:10:8: note: previous declaration as 'std::string s'
 string s;
        ^
0_0_23769657_26974.cpp:20:7: error: no match for 'operator<' (operand types are 'int' and 'std::map<std::basic_string<char>, int>::iterator {aka std::_Rb_tree_iterator<std::pair<const std::basic_string<char>, int> >}')
 if(max<p£­>second)
       ^
0_0_23769657_26974.cpp:20:7: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:61,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60,
                 from 0_0_23769657_26974.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:220:5: note: template<class _T1, class _T2> constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
     operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:220:5: note:   template argument deduction/substitution failed:
0_0_23769657_26974.cpp:20:8: note:   mismatched types 'const std::pair<_T1, _T2>' and 'int'
 if(max<p£­>second)
        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:61,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60,
                 from 0_0_23769657_26974.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:298:5: note: template<class _Iterator> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
     operator<(const reverse_iterator<_Iterator>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:298:5: note:   template argument deduction/substitution failed:
0_0_23769657_26974.cpp:20:8: note:   mismatched types 'const std::reverse_iterator<_Iterator>' and 'int'
 if(max<p£­>second)
        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:61,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60,
                 from 0_0_23769657_26974.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:348:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
     operator<(const reverse_iterator<_IteratorL>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:348:5: note:   template argument deduction/substitution failed:
0_0_23769657_26974.cpp:20:8: note:   mismatched types 'const std::reverse_iterator<_Iterator>' and 'int'
 if(max<p£­>second)
        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:61,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60,
                 from 0_0_23769657_26974.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1072:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
     operator<(const move_iterator<_IteratorL>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1072:5: note:   template argument deduction/substitution failed:
0_0_23769657_26974.cpp:20:8: note:   mismatched types 'const std::move_iterator<_Iterator>' and 'int'
 if(max<p£­>second)
        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:61,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60,
                 from 0_0_23769657_26974.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1078:5: note: template<class _Iterator> bool std::operator<(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
     operator<(const move_iterator<_Iterator>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1078:5: note:   template argument deduction/substitution failed:
0_0_23769657_26974.cpp:20:8: note:   mismatched types 'const std::move_iterator<_Iterator>' and 'int'
 if(max<p£­>second)
        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60:0,
                 from 0_0_23769657_26974.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:980:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator<(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
     operator<(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:980:5: note:   template argument deduction/substitution failed:
0_0_23769657_26974.cpp:20:8: note:   mismatched types 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>' and 'int'
 if(max<p£­>second)
        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/stdexcept:39,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/array:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_23769657_26974.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2588:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
     operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2588:5: note:   template argument deduction/substitution failed:
0_0_23769657_26974.cpp:20:8: note:   mismatched types 'const std::basic_string<_CharT, _Traits, _Alloc>' and 'int'
 if(max<p£­>second)
        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/stdexcept:39,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/array:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
                 from 0_0_23769657_26974.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2600:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
     operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2600:5: note:   template argument deduction/substitution failed:
0_0_23769657_26974.cpp:20:8: note:   mismatched types 'const std::basic_string<_CharT, _Traits, _Alloc>' and 'int'
 if(max<p£­>second)
        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/stdexcept:39,
                 from D:


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-17 03:54:07, Gzip enabled