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_17197382_10270.cpp:95:2: error: stray '#' in program
 }#include<stdio.h>
  ^
0_0_17197382_10270.cpp:157:2: error: stray '#' in program
 }#include<stdio.h>
  ^
0_0_17197382_10270.cpp:95:3: error: 'include' does not name a type
 }#include<stdio.h>
   ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:60:0,
                 from 0_0_17197382_10270.cpp:97:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:147:18: error: '__aligned_buffer' in namespace '__gnu_cxx' does not name a template type
       __gnu_cxx::__aligned_buffer<_Val> _M_storage;
                  ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h: In member function '_Val* std::_Rb_tree_node<_Val>::_M_valptr()':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:151:16: error: '_M_storage' was not declared in this scope
       { return _M_storage._M_ptr(); }
                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h: In member function 'const _Val* std::_Rb_tree_node<_Val>::_M_valptr() const':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tree.h:155:16: error: '_M_storage' was not declared in this scope
       { return _M_storage._M_ptr(); }
                ^
0_0_17197382_10270.cpp: At global scope:
0_0_17197382_10270.cpp:100:18: error: redefinition of 'double Map [35][35]'
 double Map[35][35];
                  ^
0_0_17197382_10270.cpp:8:15: note: 'double Map [35][35]' previously declared here
 double  d[N], Map[N][N];
               ^
0_0_17197382_10270.cpp:101:5: error: redefinition of 'int n'
 int n, m;
     ^
0_0_17197382_10270.cpp:7:5: note: 'int n' previously declared here
 int n, m;
     ^
0_0_17197382_10270.cpp:101:8: error: redefinition of 'int m'
 int n, m;
        ^
0_0_17197382_10270.cpp:7:8: note: 'int m' previously declared here
 int n, m;
        ^
0_0_17197382_10270.cpp: In function 'int main()':
0_0_17197382_10270.cpp:124:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_17197382_10270.cpp:56:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_17197382_10270.cpp: At global scope:
0_0_17197382_10270.cpp:157:3: error: 'include' does not name a type
 }#include<stdio.h>
   ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:787:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_17197382_10270.cpp:161:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.tcc:45:46: error: invalid use of incomplete type 'class std::locale'
     locale(const locale& __other, _Facet* __f)
                                              ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:43: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_17197382_10270.cpp:97:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/localefwd.h:55:9: error: forward declaration of 'class std::locale'
   class locale;
         ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:787:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_17197382_10270.cpp:161:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.tcc:63:36: error: invalid use of incomplete type 'class std::locale'
     combine(const locale& __other) const
                                    ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:43: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_17197382_10270.cpp:97:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/localefwd.h:55:9: error: forward declaration of 'class std::locale'
   class locale;
         ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:787:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_17197382_10270.cpp:161:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.tcc:82:60: error: invalid use of incomplete type 'class std::locale'
         const basic_string<_CharT, _Traits, _Alloc>& __s2) const
                                                            ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:43: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_17197382_10270.cpp:97:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/localefwd.h:55:9: error: forward declaration of 'class std::locale'
   class locale;
         ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:787:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_17197382_10270.cpp:161:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.tcc: In function 'bool std::has_facet(const std::locale&)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.tcc:107:21: error: 'facet' in 'class std::locale' does not name a type
       const locale::facet** __facets = __loc._M_impl->_M_facets;
                     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.tcc:108:26: error: invalid use of incomplete type 'const class std::locale'
       return (__i < __loc._M_impl->_M_facets_size
                          ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:43: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_17197382_10270.cpp:97:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/localefwd.h:55:9: error: forward declaration of 'const class std::locale'
   class locale;
         ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:787:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_17197382_10270.cpp:161:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.tcc:110:39: error: '__facets' was not declared in this scope
        && dynamic_cast<const _Facet*>(__facets[__i]));
                                       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.tcc: In function 'const _Facet& std::use_facet(const std::locale&)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.tcc:135:21: error: 'facet' in 'class std::locale' does not name a type
       const locale::facet** __facets = __loc._M_impl->_M_facets;
                 


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 08:16:28, Gzip enabled