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_39415337_22056.cpp:13:10: error: 'par' was not declared in this scope; did you mean '__pstl::execution::v1::par'?
   13 | bool cmp(par a, par b)
      |          ^~~
      |          __pstl::execution::v1::par
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/pstl/glue_algorithm_defs.h:15,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:73,
                 from .\stdc++.h:51:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/pstl/execution_defs.h:111:45: note: '__pstl::execution::v1::par' declared here
  111 | _GLIBCXX17_INLINE constexpr parallel_policy par{};
      |                                             ^~~
0_0_39415337_22056.cpp:13:17: error: 'par' was not declared in this scope; did you mean '__pstl::execution::v1::par'?
   13 | bool cmp(par a, par b)
      |                 ^~~
      |                 __pstl::execution::v1::par
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/pstl/execution_defs.h:111:45: note: '__pstl::execution::v1::par' declared here
  111 | _GLIBCXX17_INLINE constexpr parallel_policy par{};
      |                                             ^~~
0_0_39415337_22056.cpp:13:22: error: expression list treated as compound expression in initializer [-fpermissive]
   13 | bool cmp(par a, par b)
      |                      ^
0_0_39415337_22056.cpp:18:11: error: 'par' was not declared in this scope; did you mean '__pstl::execution::v1::par'?
   18 | bool cmp2(par a, par b)
      |           ^~~
      |           __pstl::execution::v1::par
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/pstl/execution_defs.h:111:45: note: '__pstl::execution::v1::par' declared here
  111 | _GLIBCXX17_INLINE constexpr parallel_policy par{};
      |                                             ^~~
0_0_39415337_22056.cpp:18:18: error: 'par' was not declared in this scope; did you mean '__pstl::execution::v1::par'?
   18 | bool cmp2(par a, par b)
      |                  ^~~
      |                  __pstl::execution::v1::par
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/pstl/execution_defs.h:111:45: note: '__pstl::execution::v1::par' declared here
  111 | _GLIBCXX17_INLINE constexpr parallel_policy par{};
      |                                             ^~~
0_0_39415337_22056.cpp:18:23: error: expression list treated as compound expression in initializer [-fpermissive]
   18 | bool cmp2(par a, par b)
      |                       ^


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-12-05 03:17:12, Gzip enabled