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_16651370_23875.cpp:8:24: error: 'N' was not declared in this scope
 treasure_node treasure[N];  
                        ^
0_0_16651370_23875.cpp: In function 'int main(int, char**)':
0_0_16651370_23875.cpp:21:18: error: 'treasure' was not declared in this scope
    scanf("%d%d",&treasure[i].pi,&treasure[i].mi); 
                  ^
0_0_16651370_23875.cpp:23:8: error: 'treasure' was not declared in this scope
   sort(treasure,treasure+n,cmp);
        ^
0_0_16651370_23875.cpp:23:31: error: 'sort' was not declared in this scope
   sort(treasure,treasure+n,cmp);
                               ^


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-07-03 07:03:22, Gzip enabled