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_25887066_17128.cpp: In function 'int main()':
0_0_25887066_17128.cpp:20:4: error: 'll' was not declared in this scope
    ll c1=0,c2=0;
    ^
0_0_25887066_17128.cpp:26:6: error: 'c2' was not declared in this scope
      c2+=(a[i]-mid)/2;
      ^
0_0_25887066_17128.cpp:28:18: error: 'm' was not declared in this scope
     else if(a[i]<m)
                  ^
0_0_25887066_17128.cpp:30:6: error: 'c1' was not declared in this scope
      c1+=mid-a[i];
      ^
0_0_25887066_17128.cpp:33:7: error: 'c1' was not declared in this scope
    if(c1<=c2)
       ^
0_0_25887066_17128.cpp:33:11: error: 'c2' was not declared in this scope
    if(c1<=c2)
           ^


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-10-06 19:21:08, Gzip enabled