#include <iostream> #include <cstdio> #include <cmath> #include <algorithm> using namespace std; int n,m,op; double me = 1,tt = 1,x; int main() { scanf("%d",&n); while(n--) { scanf("%d %lf",&op,&x); if(op == 1...