Show newer

テストケースどこから見れるの

ifで分岐しか思いつかなかった(遅くなる

んえ boosted

min(deg_long - deg_short, 360 - (deg_long - deg_short))
とかでええんちゃうか

cosは鈍角でもマイナス返すからabsイランって一瞬思ったけどそうじゃなさそう

@owatan@mstdn.owatan.jp abs()は適当言ったごめん

@owatan@mstdn.owatan.jp abs()外して

@owatan@mstdn.owatan.jp 時針も毎分動くのちゃんと考慮してる?

「どっちで解いてもいいけど、最終的に余弦定理になるよ」だ

ABC168-C、これ余弦定理の証明問題じゃんっつった

Show older

んえ's choices:

nesodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!