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;
^
|