func_code_string: #include <bits/stdc++.h>   using namespace std;   int n;   long double l, v1, v2;   long double a[100000];   long double p[100001];   vector<pair<long double, int> > events;   int main() {     cout << fixed << setprecision(12);     cin >> n >> l >> v1 >> v2;     long double dist = l * v2 / (v1 + v2);     events.push_back(make_pair(0, 0));     events.push_back(make_pair(2 * l, 0));     for (int i = 0; i < n; ++i) {       cin >> a[i];       events.push_back(make_pair(a[i] - dist, 1));       events.push_back(make_pair(a[i] + 2 * l - dist, 1));       events.push_back(make_pair(a[i], -1));     }     sort(events.begin(), events.end());     memset(p, 0, sizeof p);     int choc = 0, i = 0;     while (events[i].second != 0) {       choc += events[i].second;       ++i;     }     ++i;     while (events[i].second != 0) {       p[choc] += events[i].first - events[i - 1].first;       choc += events[i].second;       ++i;     }     p[choc] += events[i].first - events[i - 1].first;     for (int i = 0; i <= n; ++i) cout << (p[i] / 2 / l) << endl;   }   