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_39806994_9058.cpp:96:50: error: return type 'struct std::array<long long int, 3>' is incomplete
   96 | array<ll,3> query(int p,int l,int r,int nl,int nr){
      |                                                  ^
0_0_39806994_9058.cpp: In function 'void query(int, int, int, int, int)':
0_0_39806994_9058.cpp:103:14: error: deduced type 'void' for '<structured bindings>' is incomplete
  103 |         auto [s1,s2,s3]=query(ls,l,mid,nl,nr);
      |              ^~~~~~~~~~
0_0_39806994_9058.cpp:107:13: error: deduced type 'void' for '<structured bindings>' is incomplete
  107 |        auto [s1,s2,s3]=query(rs,mid+1,r,nl,nr);
      |             ^~~~~~~~~~
0_0_39806994_9058.cpp: In function 'int main()':
0_0_39806994_9058.cpp:130:18: error: deduced type 'void' for '<structured bindings>' is incomplete
  130 |             auto [s1,s2,s3]=query(1,1,n,x,y);
      |                  ^~~~~~~~~~


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-29 02:43:07, Gzip enabled