Submission

Status:

PPPP-P----

Subtask/Task Score:

50/100

Score: 50

User: exoworldgd

Problemset: Power Roll

Language: cpp

Time: 0.002 second

Submitted On: 2026-02-23 23:33:04

#pragma GCC optimize("O5,unroll-loops,inline,fast-math,omit-frame-pointer,tree-vectorize")
#pragma GCC target("avx2,bmi,bmi2,popcnt,lzcnt,tune=native,fma,abm,mmx,sse")
#include<bits/stdc++.h>
#define exoworldgd cin.tie(0)->sync_with_stdio(0),cout.tie(0)
#define int long long
using namespace std;
double a,b,c,d,e,f,g,h,i=3.28,j=1.15112,k=4.80852,l=13.0725;
const int m=69;
signed main(void){
    exoworldgd;
    cin>>a>>b>>c>>d>>e>>f>>g>>h,cout<<round(i*(log(abs(cbrt((tan(sqrt(pow(cos(e*3.14159/180.0)*f-sin(e*3.14159/180.0)*g,2)+pow(sin(e*3.14159/180.0)*f+g,2))/l*i)*a*b)/(c*((long)ceil(exp(k*h))%m)*cbrt(d)))))/log(j))*1e4)/1e4<<" NP";
}