#include <bits/stdc++.h> using namespace std; typedef double db; typedef long long ll; typedef unsigned long long ull; typedef pair<int, int> pii; typedef pair<ll, ll> pll; constexpr int N = 2e4+5; constexpr int BIT=62; constexpr int MOD=998244353; constexpr db sml=1e-5; int main()...