結果
問題 | No.863 計算量 |
ユーザー |
|
提出日時 | 2022-10-19 13:06:45 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 278 bytes |
コンパイル時間 | 275 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-06-29 16:04:41 |
合計ジャッジ時間 | 1,360 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 WA * 1 |
ソースコード
def main(): A = int(input()) B = int(input()) linear_rate = 5000*B / (200000*A) square_rate = B * 5000**2 / (A * 200000**2) if abs(linear_rate - 1) < abs(square_rate - 1): print(1) else: print(2) if __name__ == "__main__": main()