这个题……不会啊
0.001模拟可以发现一些规律
请教了一下物理dalao
设泽尔帝跑出去 \(L\) ,Aqua用时 \(T\) ,初距 \(X\)
\(\int_{0}^{T}V_A\sin\theta(t)\ dt\ =\ L\)
\(\int_{0}^{T}(V_A-V_Z\sin\theta(t))\ dt\ =\ X\)
#include#include using std::swap;const int MOD=1075757;inline int Norm(int a){ return (a%MOD+MOD)%MOD;}int sr;int sum(int a, int b){ sr=a+b; if(sr>=MOD) sr-=MOD; return sr;}int mul(int a, int b){ return (int)((1LL*a*b)%(1LL*MOD));}int T;int Inv[MOD];struct Pos{ int x, y; Pos(){} Pos(int _x, int _y){x=_x;y=_y;} void read(){ scanf("%d%d", &x, &y); x=Norm(x);y=Norm(y); } void show(){ printf("%d %d\n", x, y); }} A, Z, D, Ans;Pos operator + (Pos A, Pos B){ return Pos(sum(A.x, B.x), sum(A.y, B.y));}Pos operator - (Pos A, Pos B){ return Pos(sum(A.x, MOD-B.x), sum(A.y, MOD-B.y));}Pos operator * (Pos A, int k){ return Pos(mul(A.x, k), mul(A.y, k));}int Va, Vz;int K, Len;int main(){ Inv[0]=1;Inv[1]=1; for(int i=2;i