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_31795456_8276.cpp: In function 'bool Find(int)':
0_0_31795456_8276.cpp:27:12: error: 'p' was not declared in this scope
         if(p <= line[x][i] && line[x][i]<= p+mid && !used[i]){
            ^
0_0_31795456_8276.cpp: In function 'int main(int, const char**)':
0_0_31795456_8276.cpp:73:28: error: 'mavxv' was not declared in this scope
                 maxv = max(mavxv, line[i][j]);
                            ^
0_0_31795456_8276.cpp:74:28: error: 'mainv' was not declared in this scope
                 minv = min(mainv, line[i][j]);
                            ^
0_0_31795456_8276.cpp:80:9: error: expected ';' before 'int'
         int ans = 0;
         ^
0_0_31795456_8276.cpp:87:21: error: 'f' was not declared in this scope
                     f = true;
                     ^
0_0_31795456_8276.cpp:91:23: error: 'ans' was not declared in this scope
             if (flag) ans = mid, r = mid-1;
                       ^
0_0_31795456_8276.cpp:94:17: error: 'ans' was not declared in this scope
         cout << ans << endl;
                 ^


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-25 20:20:33, Gzip enabled