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_18234543_32389.cpp: In function 'void Search(int)':
0_0_18234543_32389.cpp:24:30: error: 'GetRank' was not declared in this scope
     res += GetRank(K / v[now]);  
                              ^
0_0_18234543_32389.cpp:25:18: error: 'Insert' was not declared in this scope
     Insert(v[now]);  
                  ^
0_0_18234543_32389.cpp:30:18: error: 'Delete' was not declared in this scope
     Delete(v[now]);  
                  ^
0_0_18234543_32389.cpp: In function 'int main()':
0_0_18234543_32389.cpp:35:26: error: 'scanf' was not declared in this scope
     while(~scanf("%d", &T))  
                          ^
0_0_18234543_32389.cpp:62:13: error: 'cnt' was not declared in this scope
             cnt = 1, rt = 0;  
             ^
0_0_18234543_32389.cpp:62:22: error: 'rt' was not declared in this scope
             cnt = 1, rt = 0;  
                      ^
0_0_18234543_32389.cpp:65:33: error: 'printf' was not declared in this scope
             printf("%lld\n", res);  
                                 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-28 06:17:12, Gzip enabled