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_38216853_29736.cpp: In function 'void Init()':
0_0_38216853_29736.cpp:54:10: error: expected ';' before 'i'
  FOR((ll)i, 4, MXN - 1)
          ^
0_0_38216853_29736.cpp:15:32: note: in definition of macro 'FOR'
 #define FOR(i, l, r) for (auto i = l; i <= (r); ++i)
                                ^
0_0_38216853_29736.cpp:54:10: error: 'i' was not declared in this scope
  FOR((ll)i, 4, MXN - 1)
          ^
0_0_38216853_29736.cpp:15:32: note: in definition of macro 'FOR'
 #define FOR(i, l, r) for (auto i = l; i <= (r); ++i)
                                ^
0_0_38216853_29736.cpp:54:7: error: use of 'll' before deduction of 'auto'
  FOR((ll)i, 4, MXN - 1)
       ^
0_0_38216853_29736.cpp:15:39: note: in definition of macro 'FOR'
 #define FOR(i, l, r) for (auto i = l; i <= (r); ++i)
                                       ^
0_0_38216853_29736.cpp:54:10: error: expected ')' before 'i'
  FOR((ll)i, 4, MXN - 1)
          ^
0_0_38216853_29736.cpp:15:39: note: in definition of macro 'FOR'
 #define FOR(i, l, r) for (auto i = l; i <= (r); ++i)
                                       ^
0_0_38216853_29736.cpp:54:10: error: 'i' was not declared in this scope
  FOR((ll)i, 4, MXN - 1)
          ^
0_0_38216853_29736.cpp:15:51: note: in definition of macro 'FOR'
 #define FOR(i, l, r) for (auto i = l; i <= (r); ++i)
                                                   ^
0_0_38216853_29736.cpp:57:2: error: 'else' without a previous 'if'
  else
  ^


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-23 03:21:57, Gzip enabled