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_37801744_25931.cpp: In function 'void solve()':
0_0_37801744_25931.cpp:65:34: error: 'sort' was not declared in this scope
     sort(ps + 1, ps + 1 + n, cmp1);
                                  ^
0_0_37801744_25931.cpp:74:43: error: missing template arguments before '(' token
             w[index].person.push_back(pair(ps[i].start, ps[i].start + ps[i].end));
                                           ^
0_0_37801744_25931.cpp:79:43: error: missing template arguments before '(' token
             w[index].person.push_back(pair(ps[i].start, w[index].person.back().second + ps[i].end));
                                           ^
0_0_37801744_25931.cpp:81:58: error: cannot convert 'std::vector<int>::iterator {aka __gnu_cxx::__normal_iterator<int*, std::vector<int> >}' to 'const char*' for argument '1' to 'int remove(const char*)'
             std::remove(vector1.begin(), vector1.end(), 0);
                                                          ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-27 19:14:00, Gzip enabled