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_32443653_6079.cpp: In function 'void solve()':
0_0_32443653_6079.cpp:24:11: error: 'rd' was not declared in this scope
  int l=rd(),r=rd();
           ^
0_0_32443653_6079.cpp:25:27: error: 'cas' was not declared in this scope
  printf("Case %d: %d\n",++cas,work(r)-work(l-1));
                           ^
0_0_32443653_6079.cpp:25:36: error: 'r' was not declared in this scope
  printf("Case %d: %d\n",++cas,work(r)-work(l-1));
                                    ^
0_0_32443653_6079.cpp: In function 'int main()':
0_0_32443653_6079.cpp:29:13: error: 'rd' was not declared in this scope
  dep(_,1,rd())  solve();
             ^
0_0_32443653_6079.cpp:3:30: note: in definition of macro 'dep'
 #define dep(i,a,b) for(int i=b;i>=a;i--)
                              ^


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-26 06:07:43, Gzip enabled