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_25870535_24795.cpp: In function 'int main()':
0_0_25870535_24795.cpp:8:20: error: expected ';' before 'for'
 #define For(i,a,b) for(int i=a,_=b;i<=_;++i) 
                    ^
0_0_25870535_24795.cpp:83:10: note: in expansion of macro 'For'
          For(i,1,m){
          ^
0_0_25870535_24795.cpp:83:14: error: 'i' was not declared in this scope
          For(i,1,m){
              ^
0_0_25870535_24795.cpp:8:36: note: in definition of macro 'For'
 #define For(i,a,b) for(int i=a,_=b;i<=_;++i) 
                                    ^
0_0_25870535_24795.cpp:8:39: error: '_' was not declared in this scope
 #define For(i,a,b) for(int i=a,_=b;i<=_;++i) 
                                       ^
0_0_25870535_24795.cpp:83:10: note: in expansion of macro 'For'
          For(i,1,m){
          ^


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-17 07:33:44, Gzip enabled