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_38967502_24478.cpp: In function 'long long int check(long long int, long long int, long long int)':
0_0_38967502_24478.cpp:16:37: error: 'all' was not declared in this scope
   16 |                 int num=upper_bound(all(v[j].begin(),v[j].end(),l)-lower_bound(all(v[j].begin(),v[j].end(),r);
      |                                     ^~~
0_0_38967502_24478.cpp:16:37: note: suggested alternatives:
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/filesystem:46,
                 from .\stdc++.h:200:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/fs_fwd.h:154:7: note:   'std::filesystem::perms::all'
  154 |       all               =  0777,
      |       ^~~
In file included from .\stdc++.h:89:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ranges:1308:27: note:   'std::ranges::views::all'
 1308 |     inline constexpr _All all;
      |                           ^~~
0_0_38967502_24478.cpp: In function 'void solve()':
0_0_38967502_24478.cpp:24:9: error: 'cn' was not declared in this scope; did you mean 'n'?
   24 |         cn>>n>>m;
      |         ^~
      |         n


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-23 01:08:46, Gzip enabled