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_37898414_13764.cpp: In function 'P get_sum(int, int, int, int, int)':
0_0_37898414_13764.cpp:60:13: error: expected unqualified-id before '[' token
         auto[x, y] = get_sum(lsn, l, mid, L, R);
             ^
0_0_37898414_13764.cpp:61:17: error: 'x' was not declared in this scope
         ansx += x;
                 ^
0_0_37898414_13764.cpp:62:17: error: 'y' was not declared in this scope
         ansy += y;
                 ^
0_0_37898414_13764.cpp:65:13: error: expected unqualified-id before '[' token
         auto[x, y] = get_sum(rsn, mid+1, r, L, R);
             ^
0_0_37898414_13764.cpp:66:17: error: 'x' was not declared in this scope
         ansx += x;
                 ^
0_0_37898414_13764.cpp:67:17: error: 'y' was not declared in this scope
         ansy += 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-25 05:35:33, Gzip enabled