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_37022523_8790.cpp:7:6: error: 'll' was not declared in this scope
 map <ll, vector<pair<ll,ll> > >mp;
      ^
0_0_37022523_8790.cpp:7:22: error: 'll' was not declared in this scope
 map <ll, vector<pair<ll,ll> > >mp;
                      ^
0_0_37022523_8790.cpp:7:25: error: 'll' was not declared in this scope
 map <ll, vector<pair<ll,ll> > >mp;
                         ^
0_0_37022523_8790.cpp:7:27: error: template argument 1 is invalid
 map <ll, vector<pair<ll,ll> > >mp;
                           ^
0_0_37022523_8790.cpp:7:27: error: template argument 2 is invalid
0_0_37022523_8790.cpp:7:29: error: template argument 1 is invalid
 map <ll, vector<pair<ll,ll> > >mp;
                             ^
0_0_37022523_8790.cpp:7:29: error: template argument 2 is invalid
0_0_37022523_8790.cpp:7:31: error: template argument 1 is invalid
 map <ll, vector<pair<ll,ll> > >mp;
                               ^
0_0_37022523_8790.cpp:7:31: error: template argument 2 is invalid
0_0_37022523_8790.cpp:7:31: error: template argument 3 is invalid
0_0_37022523_8790.cpp:7:31: error: template argument 4 is invalid
0_0_37022523_8790.cpp:7:34: error: invalid type in declaration before ';' token
 map <ll, vector<pair<ll,ll> > >mp;
                                  ^
0_0_37022523_8790.cpp: In function 'int main()':
0_0_37022523_8790.cpp:15:12: error: request for member 'clear' in 'mp', which is of non-class type 'int'
         mp.clear(); ma.clear();
            ^
0_0_37022523_8790.cpp:48:22: error: invalid types 'int[long long int]' for array subscript
                 mp[mo].push_back({-s[i],i}); // s[i]要从大到小排,故先取反,这scz也是惊到我了
                      ^
0_0_37022523_8790.cpp:50:27: error: request for member 'begin' in 'mp', which is of non-class type 'int'
             for(auto u=mp.begin();u!=mp.end();u++)
                           ^
0_0_37022523_8790.cpp:50:41: error: request for member 'end' in 'mp', which is of non-class type 'int'
             for(auto u=mp.begin();u!=mp.end();u++)
                                         ^
0_0_37022523_8790.cpp:61:25: error: invalid types 'int[long long int]' for array subscript
                 if(mp[mo].size()==0) printf("-1\n");
                         ^
0_0_37022523_8790.cpp:65:44: error: invalid types 'int[long long int]' for array subscript
                     int p=lower_bound(mp[mo].begin(),mp[mo].end(),t)-mp[mo].begin();
                                            ^
0_0_37022523_8790.cpp:65:59: error: invalid types 'int[long long int]' for array subscript
                     int p=lower_bound(mp[mo].begin(),mp[mo].end(),t)-mp[mo].begin();
                                                           ^
0_0_37022523_8790.cpp:65:75: error: invalid types 'int[long long int]' for array subscript
                     int p=lower_bound(mp[mo].begin(),mp[mo].end(),t)-mp[mo].begin();
                                                                           ^
0_0_37022523_8790.cpp:67:32: error: invalid types 'int[long long int]' for array subscript
                     if(p==mp[mo].size()) printf("-1\n"); //没找到
                                ^
0_0_37022523_8790.cpp:70:38: error: invalid types 'int[long long int]' for array subscript
                         int ans=mp[mo][p].second;
                                      ^
0_0_37022523_8790.cpp:71:38: error: invalid types 'int[long long int]' for array subscript
                         ans+=(x+mp[mo][p].first)/d*n;
                                      ^


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 03:34:08, Gzip enabled