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_34589919_25202.cpp: In function 'int main()':
0_0_34589919_25202.cpp:19:4: error: 'LL' was not declared in this scope
    LL val;
    ^
0_0_34589919_25202.cpp:20:16: error: 'val' was not declared in this scope
    scanf("%d",&val);
                ^
0_0_34589919_25202.cpp:23:5: error: 'num' was not declared in this scope
     num++;
     ^
0_0_34589919_25202.cpp:24:5: error: 'plb' was not declared in this scope
     plb x=q.top();q.pop();
     ^
0_0_34589919_25202.cpp:25:8: error: 'x' was not declared in this scope
     if(x.second==0) num--;
        ^
0_0_34589919_25202.cpp:27:14: error: 'x' was not declared in this scope
     ans+=val-x.first;//配对成功再加上值
              ^


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-05 20:21:02, Gzip enabled