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_18279718_24125.cpp: In function 'void update(int, int)':
0_0_18279718_24125.cpp:50:18: error: request for member 'size' in 'mdzz', which is of non-class type 'int [100010]'
     for(;x<=mdzz.size();x+=lowbit(x)) c[x]+=val;
                  ^
0_0_18279718_24125.cpp: In function 'void countstar()':
0_0_18279718_24125.cpp:62:22: error: request for member 'size' in 'q2', which is of non-class type 'node [50005]'
     for(int i=0;i<q2.size();i++)
                      ^
0_0_18279718_24125.cpp:67:22: error: request for member 'size' in 'q2', which is of non-class type 'node [50005]'
     for(int i=0;i<q2.size();i++)
                      ^
0_0_18279718_24125.cpp: In function 'void CDQ1(int, int)':
0_0_18279718_24125.cpp:78:8: error: request for member 'clear' in 'q2', which is of non-class type 'node [50005]'
     q2.clear();
        ^
0_0_18279718_24125.cpp:81:30: error: request for member 'push_back' in 'q2', which is of non-class type 'node [50005]'
         if(q1[i].kind==0) q2.push_back(q1[i]);
                              ^
0_0_18279718_24125.cpp:85:30: error: request for member 'push_back' in 'q2', which is of non-class type 'node [50005]'
         if(q1[i].kind!=0) q2.push_back(q1[i]);
                              ^
0_0_18279718_24125.cpp:87:13: error: request for member 'begin' in 'q2', which is of non-class type 'node [50005]'
     sort(q2.begin(),q2.end(),cmp1);
             ^
0_0_18279718_24125.cpp:87:24: error: request for member 'end' in 'q2', which is of non-class type 'node [50005]'
     sort(q2.begin(),q2.end(),cmp1);
                        ^
0_0_18279718_24125.cpp: In function 'void CDQ(int, int)':
0_0_18279718_24125.cpp:97:8: error: request for member 'clear' in 'q1', which is of non-class type 'node [50005]'
     q1.clear();
        ^
0_0_18279718_24125.cpp:100:29: error: request for member 'push_back' in 'q1', which is of non-class type 'node [50005]'
         if(q[i].kind==0) q1.push_back(q[i]);
                             ^
0_0_18279718_24125.cpp:104:29: error: request for member 'push_back' in 'q1', which is of non-class type 'node [50005]'
         if(q[i].kind!=0) q1.push_back(q[i]);
                             ^
0_0_18279718_24125.cpp:106:13: error: request for member 'begin' in 'q1', which is of non-class type 'node [50005]'
     sort(q1.begin(),q1.end(),cmp);
             ^
0_0_18279718_24125.cpp:106:24: error: request for member 'end' in 'q1', which is of non-class type 'node [50005]'
     sort(q1.begin(),q1.end(),cmp);
                        ^
0_0_18279718_24125.cpp:107:15: error: request for member 'size' in 'q1', which is of non-class type 'node [50005]'
     CDQ1(0,q1.size()-1);
               ^


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 22:16:08, Gzip enabled