#include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; ll Xs[110]; map > > intervals; int main(){ ll N, D, T; cin >> N >> D >> T; for(int i=0;i> Xs[i]; sort(Xs, Xs + N); for(int i=0;i > >::iterator itr; for(itr = intervals.begin(); itr != intervals.end(); itr++){ vector< pair > vs = itr->second; ll sum = 0; ll p = -1ll << 60; for(int i=0;i