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_37866151_20334.cpp:36:1: error: 'PII' does not name a type
 PII b[N];
 ^
0_0_37866151_20334.cpp:37:1: error: 'PII' does not name a type
 PII t[N];
 ^
0_0_37866151_20334.cpp: In function 'void cal(int, int, int)':
0_0_37866151_20334.cpp:43:16: error: 'b' was not declared in this scope
             if(b[i].first%2)t[rr--] = b[i];
                ^
0_0_37866151_20334.cpp:43:29: error: 't' was not declared in this scope
             if(b[i].first%2)t[rr--] = b[i];
                             ^
0_0_37866151_20334.cpp:44:18: error: 't' was not declared in this scope
             else t[ll++] = b[i];
                  ^
0_0_37866151_20334.cpp:46:30: error: 'b' was not declared in this scope
         for(int i=l;i<=r;i++)b[i] = t[i];
                              ^
0_0_37866151_20334.cpp:46:37: error: 't' was not declared in this scope
         for(int i=l;i<=r;i++)b[i] = t[i];
                                     ^
0_0_37866151_20334.cpp:50:12: error: 'b' was not declared in this scope
         if(b[l].first%2){
            ^
0_0_37866151_20334.cpp: In function 'int main()':
0_0_37866151_20334.cpp:85:13: error: 'b' was not declared in this scope
             b[i] = {a[i],i};
             ^
0_0_37866151_20334.cpp:91:21: error: 'b' was not declared in this scope
             print(a[b[i].second]);
                     ^


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 21:32:52, Gzip enabled