結果
問題 | No.948 Bomb vs Dush |
ユーザー |
![]() |
提出日時 | 2019-12-11 01:06:52 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 32 ms / 2,000 ms |
コード長 | 135 bytes |
コンパイル時間 | 180 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-06-24 06:24:43 |
合計ジャッジ時間 | 2,430 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 38 |
ソースコード
r=float(input()) R=float(input()) import math x=math.asin(r/R) print(2*math.pi-2*x) print(((R+r)**2-(R-r)**2)*(math.pi-x)+r**2*math.pi)