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_32319048_9393.cpp: In function 'void hunt()':
0_0_32319048_9393.cpp:3:20: error: 'n' was not declared in this scope
     for(int i=1;i<=n;i++)
                    ^
0_0_32319048_9393.cpp:4:9: error: 'res' was not declared in this scope
         res[i].x=0,res[i].y=n+1,res[i].r=i;
         ^
0_0_32319048_9393.cpp:5:19: error: 'N' was not declared in this scope
     for(int i=1;i<N;i++)
                   ^
0_0_32319048_9393.cpp:6:9: error: 'pre' was not declared in this scope
         pre[i]=0;
         ^
0_0_32319048_9393.cpp:7:20: error: 'n' was not declared in this scope
     for(int i=1;i<=n;i++)
                    ^
0_0_32319048_9393.cpp:9:19: error: 'num' was not declared in this scope
         int now = num[i];
                   ^
0_0_32319048_9393.cpp:10:23: error: 'pri' was not declared in this scope
         for(int j=0;j<pri[now].size();j++)
                       ^
0_0_32319048_9393.cpp:13:13: error: 'res' was not declared in this scope
             res[i].x=max(res[i].x,pre[t]);
             ^
0_0_32319048_9393.cpp:13:35: error: 'pre' was not declared in this scope
             res[i].x=max(res[i].x,pre[t]);
                                   ^
0_0_32319048_9393.cpp:13:41: error: 'max' was not declared in this scope
             res[i].x=max(res[i].x,pre[t]);
                                         ^
0_0_32319048_9393.cpp:14:46: error: 'min' was not declared in this scope
             res[pre[t]].y=min(res[pre[t]].y,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-25 13:09:04, Gzip enabled