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_36834470_23789.cpp: In function 'void solve()':
0_0_36834470_23789.cpp:67:9: error: 'num' was not declared in this scope
         num[x]++;
         ^
0_0_36834470_23789.cpp:76:23: error: 'num' was not declared in this scope
         a[i].a=a[i].b=num[i];
                       ^
0_0_36834470_23789.cpp:80:30: error: 'num' was not declared in this scope
     for(int i=0;i<2*len;i++) num[i]=(long long)(a[i].b/2.0/k+0.5);
                              ^
0_0_36834470_23789.cpp:83:26: error: 'num' was not declared in this scope
     for(int i=0;i<n;i++) num[b[i]*2]--;
                          ^
0_0_36834470_23789.cpp:84:30: error: 'num' was not declared in this scope
     for(int i=0;i<2*len;i++) num[i]/=2;
                              ^
0_0_36834470_23789.cpp:85:12: error: 'num' was not declared in this scope
     sum[0]=num[0];
            ^


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 12:44:52, Gzip enabled