Skip to content

Instantly share code, notes, and snippets.

#include <cstdio>
#include <iostream>
#include <cmath>
#include <algorithm>
#include <map>
using namespace std;
int t,a,b,r;
#include <cstdio>
#include <iostream>
#include <cmath>
#include <algorithm>
using namespace std;
int n;
int S[300005],T[4];
double M[300005];