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_39820870_12193.cpp:7:2: error: stray '#' in program
    7 | }#include<iostream>
      |  ^
0_0_39820870_12193.cpp:7:11: error: 'iostream' was not declared in this scope; did you mean 'std::iostream'?
    7 | }#include<iostream>
      |           ^~~~~~~~
      |           std::iostream
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ios:40,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ostream:40,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:41,
                 from 0_0_39820870_12193.cpp:1:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iosfwd:146:41: note: 'std::iostream' declared here
  146 |   typedef basic_iostream<char>          iostream;
      |                                         ^~~~~~~~
0_0_39820870_12193.cpp:7:11: error: 'iostream' was not declared in this scope; did you mean 'std::iostream'?
    7 | }#include<iostream>
      |           ^~~~~~~~
      |           std::iostream
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iosfwd:146:41: note: 'std::iostream' declared here
  146 |   typedef basic_iostream<char>          iostream;
      |                                         ^~~~~~~~
0_0_39820870_12193.cpp:7:11: error: 'iostream' was not declared in this scope; did you mean 'std::iostream'?
    7 | }#include<iostream>
      |           ^~~~~~~~
      |           std::iostream
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iosfwd:146:41: note: 'std::iostream' declared here
  146 |   typedef basic_iostream<char>          iostream;
      |                                         ^~~~~~~~
0_0_39820870_12193.cpp:7:11: error: 'iostream' was not declared in this scope; did you mean 'std::iostream'?
    7 | }#include<iostream>
      |           ^~~~~~~~
      |           std::iostream
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iosfwd:146:41: note: 'std::iostream' declared here
  146 |   typedef basic_iostream<char>          iostream;
      |                                         ^~~~~~~~
0_0_39820870_12193.cpp:7:11: error: 'iostream' was not declared in this scope; did you mean 'std::iostream'?
    7 | }#include<iostream>
      |           ^~~~~~~~
      |           std::iostream
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iosfwd:146:41: note: 'std::iostream' declared here
  146 |   typedef basic_iostream<char>          iostream;
      |                                         ^~~~~~~~
0_0_39820870_12193.cpp:7:11: error: 'iostream' was not declared in this scope; did you mean 'std::iostream'?
    7 | }#include<iostream>
      |           ^~~~~~~~
      |           std::iostream
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iosfwd:146:41: note: 'std::iostream' declared here
  146 |   typedef basic_iostream<char>          iostream;
      |                                         ^~~~~~~~
0_0_39820870_12193.cpp:7:11: error: 'iostream' was not declared in this scope; did you mean 'std::iostream'?
    7 | }#include<iostream>
      |           ^~~~~~~~
      |           std::iostream
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iosfwd:146:41: note: 'std::iostream' declared here
  146 |   typedef basic_iostream<char>          iostream;
      |                                         ^~~~~~~~
0_0_39820870_12193.cpp:7:11: error: 'iostream' was not declared in this scope; did you mean 'std::iostream'?
    7 | }#include<iostream>
      |           ^~~~~~~~
      |           std::iostream
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iosfwd:146:41: note: 'std::iostream' declared here
  146 |   typedef basic_iostream<char>          iostream;
      |                                         ^~~~~~~~
0_0_39820870_12193.cpp:7:11: error: 'iostream' was not declared in this scope; did you mean 'std::iostream'?
    7 | }#include<iostream>
      |           ^~~~~~~~
      |           std::iostream
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iosfwd:146:41: note: 'std::iostream' declared here
  146 |   typedef basic_iostream<char>          iostream;
      |                                         ^~~~~~~~
0_0_39820870_12193.cpp:7:3: error: 'include' does not name a type
    7 | }#include<iostream>
      |   ^~~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:61,
                 from 0_0_39820870_12193.cpp:9:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h: In function 'constexpr bool std::all_of(_InputIterator, _InputIterator, _Predicate)':
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:459:29: error: 'find_if_not' is not a member of 'std'; did you mean 'std::ranges::find_if_not'?
  459 |     { return __last == std::find_if_not(__first, __last, __pred); }
      |                             ^~~~~~~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/tuple:44,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/uses_allocator_args.h:38,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/memory_resource.h:41,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:58,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/locale_classes.h:40,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:41,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ios:44:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_util.h:550:37: note: 'std::ranges::find_if_not' declared here
  550 |   inline constexpr __find_if_not_fn find_if_not{};
      |                                     ^~~~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h: In function 'constexpr bool std::none_of(_InputIterator, _InputIterator, _Predicate)':
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:477:40: error: 'find_if' is not a member of 'std'; did you mean 'std::ranges::find_if'?
  477 |     { return __last == _GLIBCXX_STD_A::find_if(__first, __last, __pred); }
      |                                        ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_util.h:522:33: note: 'std::ranges::find_if' declared here
  522 |   inline constexpr __find_if_fn find_if{};
      |                                 ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h: In function 'constexpr bool std::is_sorted(_ForwardIterator, _ForwardIterator)':
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:3234:19: error: 'is_sorted_until' is not a member of 'std'
 3234 |     { return std::is_sorted_until(__first, __last) == __last; }
      |                   ^~~~~~~~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h: In function 'constexpr bool std::is_sorted(_ForwardIterator, _ForwardIterator, _Compare)':
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:3250:19: error: 'is_sorted_until' is not a member of 'std'
 3250 |     { return std::is_sorted_until(__first, __last, __comp) == __last; }
      |                   ^~~~~~~~~~~~~~~
0_0_39820870_12193.cpp: At global scope:
0_0_39820870_12193.cpp:17:5: error: redefinition of 'int main()'
   17 | int main(void)
      |     ^~~~
0_0_39820870_12193.cpp:3:5: note: 'int main()' previously defined here
    3 | int main(){
      |     ^~~~


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-22 17:21:44, Gzip enabled