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_33982393_27065.cpp: In function 'long long int solve(long long int)':
0_0_33982393_27065.cpp:27:14: error: 'nt' was not declared in this scope
    rep(i, 0, nt - 1){
              ^
0_0_33982393_27065.cpp:5:35: note: in definition of macro 'rep'
 #define rep(i, a, b) for(__typeof(b) i = a; i <= (b); i++)
                                   ^
0_0_33982393_27065.cpp:5:40: error: invalid type in declaration before '=' token
 #define rep(i, a, b) for(__typeof(b) i = a; i <= (b); i++)
                                        ^
0_0_33982393_27065.cpp:27:4: note: in expansion of macro 'rep'
    rep(i, 0, nt - 1){
    ^


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-30 13:24:21, Gzip enabled