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_30474131_29149.cpp: In function 'void get_ans(int, int)':
0_0_30474131_29149.cpp:42:29: error: 'id' was not declared in this scope
  int L=1,R=tree.cnt[tree.RT[id]]-tree.cnt[tree.RT[x]],res=n+1;
                             ^
0_0_30474131_29149.cpp:46:19: error: 'res' was not declared in this scope
   if(v>=y)R=mid-1,res=v;
                   ^
0_0_30474131_29149.cpp:49:21: error: 'res' was not declared in this scope
  }printf("%d\n",lst=res);
                     ^
0_0_30474131_29149.cpp: In function 'void sol()':
0_0_30474131_29149.cpp:56:2: error: 'id' was not declared in this scope
  id=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-17 00:02:24, Gzip enabled