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_36893429_3885.cpp: In function 'int main()':
0_0_36893429_3885.cpp:28:5: error: 'vis' was not declared in this scope
     vis[ss[i]]=i;
     ^
0_0_36893429_3885.cpp:39:34: error: 'class std::map<long long int, long long int>' has no member named 'begain'
   for(map<ll,ll>::iterator it=mm.begain();it!=mm.end();it++){
                                  ^
0_0_36893429_3885.cpp:69:67: error: 'x' was not declared in this scope
        int nn=lower_bound(dis[mm[num]].begin(),dis[mm[num]].end(),x)-dis[mm[num]].begin();
                                                                   ^
0_0_36893429_3885.cpp:70:29: error: 'LL' was not declared in this scope
                             LL ans=(x-dis[mm[num]][now])/s*n+mp[dis[mm[num]][now]];
                             ^
0_0_36893429_3885.cpp:71:35: error: 'ans' was not declared in this scope
                             cout<<ans<<endl;
                                   ^
0_0_36893429_3885.cpp:76:4: error: 'else' without a previous 'if'
    else cout<<-1<<endl;
    ^


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-16 13:40:11, Gzip enabled