ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#204933 | #3639. 旋转 | drdilyor | 100 | 967ms | 1272kb | C++ | 391b | 2024-06-16 09:23:42 | 2024-06-16 12:00:49 |
answer
#include<bits/stdc++.h>
using namespace std;
#define int long long
const double pi=acos(-1.0);
void solve(){
int l1,l2,alp,bet;
cin>>l1>>l2>>alp>>bet;
double f=(l1+l2)*(l1+l2)*1.0*pi/180.0*alp*1.0;
double g=l2*l2*1.0*pi/180.0*bet*1.0;
cout<<fixed<<setprecision(10)<<f+g<<"\n";
}
signed main(){
int t;
cin>>t;
while(t--)solve();
return 0;
}
详细
小提示:点击横条可展开更详细的信息
Test #1:
score: 10
Accepted
time: 86ms
memory: 1272kb
input:
20000 985040437 963837006 74 0 562320397 456498961 21 0 616458849 43215539 12 0 967049313 962181597 ...
output:
4905442000934075392.0000000000 380444262285829952.0000000000 91141854122182720.0000000000 3572798144...
result:
ok 20000 numbers
Test #2:
score: 10
Accepted
time: 80ms
memory: 1268kb
input:
20000 998940834 948507270 39 0 933612816 738803143 75 0 989595960 922817781 62 0 868406687 821461860...
output:
2581509700193230336.0000000000 3661231896599718400.0000000000 3957607934938618368.0000000000 1395536...
result:
ok 20000 numbers
Test #3:
score: 10
Accepted
time: 116ms
memory: 1272kb
input:
20000 956647545 492986047 61 0 900090489 726140030 63 0 486268470 242611510 4 0 878680485 825966314 ...
output:
2237297261748138496.0000000000 2907917835734467072.0000000000 37089365378020320.0000000000 334726516...
result:
ok 20000 numbers
Test #4:
score: 10
Accepted
time: 105ms
memory: 1268kb
input:
20000 740766689 37464824 26 0 767574952 8444212 25 0 194224718 122213751 37 0 998454085 980213872 21...
output:
274832659880079808.0000000000 262761824698517952.0000000000 64663266719103128.0000000000 14349689499...
result:
ok 20000 numbers
Test #5:
score: 10
Accepted
time: 128ms
memory: 1268kb
input:
20000 494994399 22135089 65 0 881309560 585715690 5 0 640258014 442007480 70 0 694583557 279685622 5...
output:
303381664863732288.0000000000 187811659290381088.0000000000 1431011195972881920.0000000000 844900313...
result:
ok 20000 numbers
Test #6:
score: 10
Accepted
time: 129ms
memory: 1272kb
input:
20000 670439397 566613866 0 0 955838848 807238901 0 1 579792737 573052576 0 2 375536653 299976225 0 ...
output:
0.0000000000 11373170045428920.0000000000 11462947450963812.0000000000 4711642096327752.0000000000 4...
result:
ok 20000 numbers
Test #7:
score: 10
Accepted
time: 87ms
memory: 1272kb
input:
20000 970986894 111092642 0 0 924786555 855455593 0 1 901883890 855356759 0 2 977087521 916311776 0 ...
output:
0.0000000000 12772394019491244.0000000000 25538885809204500.0000000000 43962781096881440.0000000000 ...
result:
ok 20000 numbers
Test #8:
score: 10
Accepted
time: 81ms
memory: 1268kb
input:
20000 327828869 95762907 0 0 693362959 493606877 0 1 536594286 432628237 0 2 994989405 972838816 0 3...
output:
0.0000000000 4252455435501337.5000000000 6533367485016670.0000000000 49554192470678608.0000000000 35...
result:
ok 20000 numbers
Test #9:
score: 10
Accepted
time: 80ms
memory: 1272kb
input:
20000 908088980 640241684 0 0 673113586 541823569 0 1 809627257 714932419 0 2 873397892 734398560 0 ...
output:
0.0000000000 5123811603904725.0000000000 17841745695090360.0000000000 28239841547504872.0000000000 2...
result:
ok 20000 numbers
Test #10:
score: 10
Accepted
time: 75ms
memory: 1272kb
input:
20000 883308629 319645572 0 0 844065074 812547177 0 1 821814170 355467212 0 2 815826946 807957797 0 ...
output:
0.0000000000 11523238194183544.0000000000 4410689229848139.5000000000 34180308250315744.0000000000 4...
result:
ok 20000 numbers
Extra Test:
score: 0
Extra Test Passed