結果
問題 | No.1027 U+1F4A0 |
ユーザー |
|
提出日時 | 2020-04-17 21:48:40 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 403 bytes |
コンパイル時間 | 270 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-03 12:00:52 |
合計ジャッジ時間 | 1,462 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 22 |
ソースコード
def main_function():from sys import stdinfrom sys import stdoutfrom math import sqrtinput = stdin.readlineprint = stdout.writed1, d2 = list(map(int, input().split()))if d1 == d2 or sqrt(d1) == sqrt(d2 / 2):print('4')elif sqrt(d2 / 2) < sqrt(d1) < sqrt(d2):print('8')else:print('0')if __name__ == '__main__':main_function()