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_26252390_20548.cpp: In function 'void getHeight(int)':
0_0_26252390_20548.cpp:61:22: error: 'max' was not declared in this scope
         p = max(0,p-1);
                      ^
0_0_26252390_20548.cpp: In function 'int main()':
0_0_26252390_20548.cpp:73:17: error: 'scanf' was not declared in this scope
     scanf("%s",r);
                 ^
0_0_26252390_20548.cpp:74:21: error: 'strlen' was not declared in this scope
     int n = strlen(r);
                     ^
0_0_26252390_20548.cpp:92:37: error: 'min' was not declared in this scope
         int minn = min(sa[i],sa[i-1]);
                                     ^
0_0_26252390_20548.cpp:93:37: error: 'max' was not declared in this scope
         int maxn = max(sa[i],sa[i-1]);
                                     ^
0_0_26252390_20548.cpp:108:27: error: 'printf' was not declared in this scope
         printf("%c",r[x+i]);
                           ^
0_0_26252390_20548.cpp:110:16: error: 'printf' was not declared in this scope
     printf("\n");
                ^


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