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_37047795_4091.cpp:7:1: error: 'inv' does not name a type
 inv get_SA()
 ^
0_0_37047795_4091.cpp:51:1: error: 'inv' does not name a type
 inv get_height()
 ^
0_0_37047795_4091.cpp: In function 'void InitRMQ()':
0_0_37047795_4091.cpp:79:20: error: 'height' was not declared in this scope
         mi[i][0] = height[i];
                    ^
0_0_37047795_4091.cpp: In function 'int main()':
0_0_37047795_4091.cpp:101:19: error: 'get_SA' was not declared in this scope
         get_SA(127);
                   ^
0_0_37047795_4091.cpp:102:37: error: 'height' was not declared in this scope
         for(int i = 1; i <= n; i++) height[i] = 0;
                                     ^
0_0_37047795_4091.cpp:103:20: error: 'get_height' was not declared in this scope
         get_height();
                    ^
0_0_37047795_4091.cpp:110:31: error: 'height' was not declared in this scope
                 int tmp = max(height[i], height[i + 1]);
                               ^
0_0_37047795_4091.cpp:120:29: error: 'height' was not declared in this scope
                 int x = max(height[i + 1], height[i - lenk + 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-26 01:04:14, Gzip enabled