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_37676710_24946.cpp: In function 'std::array<long long int, 3ull> query(int, int, int, int, int, int)':
0_0_37676710_24946.cpp:125:14: error: expected unqualified-id before '[' token
         auto [xa, xb, xc] = query(now << 1, l, mid, L, R, t);
              ^
0_0_37676710_24946.cpp:126:13: error: 'xa' was not declared in this scope
         a = xa < a ? xa : a;
             ^
0_0_37676710_24946.cpp:127:13: error: 'xb' was not declared in this scope
         b = xb > b ? xb : b;
             ^
0_0_37676710_24946.cpp:128:13: error: 'xc' was not declared in this scope
         c = xc > c ? xc : c;
             ^
0_0_37676710_24946.cpp:132:14: error: expected unqualified-id before '[' token
         auto [xa, xb, xc] = query(now << 1 | 1, mid + 1, r, L, R, t);
              ^
0_0_37676710_24946.cpp:133:13: error: 'xa' was not declared in this scope
         a = xa < a ? xa : a;
             ^
0_0_37676710_24946.cpp:134:13: error: 'xb' was not declared in this scope
         b = xb > b ? xb : b;
             ^
0_0_37676710_24946.cpp:135:13: error: 'xc' was not declared in this scope
         c = xc > c ? xc : c;
             ^
0_0_37676710_24946.cpp: In function 'll solve(int, int, int)':
0_0_37676710_24946.cpp:159:14: error: expected unqualified-id before '[' token
         auto [xa, xb, xc] = query(1, 1, n, dfn[top[a]], dfn[a], f);
              ^
0_0_37676710_24946.cpp:160:15: error: 'xc' was not declared in this scope
         ans = xc > ans ? xc : ans;
               ^
0_0_37676710_24946.cpp:161:24: error: 'xb' was not declared in this scope
         ans = max(ans, xb - pre);
                        ^
0_0_37676710_24946.cpp:162:15: error: 'xa' was not declared in this scope
         pre = xa < pre ? xa : pre;
               ^
0_0_37676710_24946.cpp:165:10: error: expected unqualified-id before '[' token
     auto [xa, xb, xc] = query(1, 1, n, dfn[a], dfn[b], f);
          ^
0_0_37676710_24946.cpp:166:20: error: 'xb' was not declared in this scope
     ans = max(ans, xb - pre);
                    ^
0_0_37676710_24946.cpp:167:11: error: 'xc' was not declared in this scope
     ans = xc > ans ? xc : ans;
           ^


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 23:31:04, Gzip enabled