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_37688531_27688.cpp: In function 'void f1()':
0_0_37688531_27688.cpp:15:2: error: 'p' was not declared in this scope
  p=0;
  ^
0_0_37688531_27688.cpp:16:2: error: 'a' was not declared in this scope
  a[0]=1;
  ^
0_0_37688531_27688.cpp: In function 'long long int fm(long long int)':
0_0_37688531_27688.cpp:33:8: error: 'p' was not declared in this scope
  right=p;
        ^
0_0_37688531_27688.cpp:38:6: error: 'a' was not declared in this scope
   if(a[mid]>=n){
      ^
0_0_37688531_27688.cpp:44:4: error: 'a' was not declared in this scope
  x=a[mid];
    ^


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.000000(s) query 1, Server time : 2025-02-19 01:53:32, Gzip enabled