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_29098505_13903.cpp: In function 'void del(int)':
0_0_29098505_13903.cpp:32:9: error: 'cur' was not declared in this scope
         cur-=num[k-a[pos]];
         ^
0_0_29098505_13903.cpp:32:22: error: 'pos' was not declared in this scope
         cur-=num[k-a[pos]];
                      ^
0_0_29098505_13903.cpp: In function 'int main()':
0_0_29098505_13903.cpp:78:26: error: 'struct node' has no member named 'ans'
    printf("%d\n", G[i*4].ans-G[i*4+1].ans-G[i*4+2].ans+G[i*4+3].ans);
                          ^
0_0_29098505_13903.cpp:78:39: error: 'struct node' has no member named 'ans'
    printf("%d\n", G[i*4].ans-G[i*4+1].ans-G[i*4+2].ans+G[i*4+3].ans);
                                       ^
0_0_29098505_13903.cpp:78:52: error: 'struct node' has no member named 'ans'
    printf("%d\n", G[i*4].ans-G[i*4+1].ans-G[i*4+2].ans+G[i*4+3].ans);
                                                    ^
0_0_29098505_13903.cpp:78:65: error: 'struct node' has no member named 'ans'
    printf("%d\n", G[i*4].ans-G[i*4+1].ans-G[i*4+2].ans+G[i*4+3].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-07-01 14:10:06, Gzip enabled