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_39595502_4860.cpp: In function 'void solve()':
0_0_39595502_4860.cpp:48:17: error: 'n' was not declared in this scope
   48 |         rep(i,1,n) g[i].clear();
      |                 ^
0_0_39595502_4860.cpp:9:40: note: in definition of macro 'rep'
    9 | #define rep(i,x,y) for(reg int i=x;i<=(y);++i)
      |                                        ^
0_0_39595502_4860.cpp:49:17: error: 'n' was not declared in this scope
   49 |         rep(i,1,n) gx[i].clear();
      |                 ^
0_0_39595502_4860.cpp:9:40: note: in definition of macro 'rep'
    9 | #define rep(i,x,y) for(reg int i=x;i<=(y);++i)
      |                                        ^


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:15:49, Gzip enabled