結果
| 問題 | No.1027 U+1F4A0 |
| コンテスト | |
| ユーザー |
r_ishida
|
| 提出日時 | 2026-02-14 06:43:28 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 40 ms / 2,000 ms |
| コード長 | 462 bytes |
| 記録 | |
| コンパイル時間 | 364 ms |
| コンパイル使用メモリ | 82,404 KB |
| 実行使用メモリ | 53,908 KB |
| 最終ジャッジ日時 | 2026-02-14 06:43:31 |
| 合計ジャッジ時間 | 2,875 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 22 |
ソースコード
import math
import sys
def S(): return sys.stdin.readline().rstrip()
def I(): return int(sys.stdin.readline().rstrip())
def MI(): return map(int, sys.stdin.readline().rstrip().split())
def LI(): return list(map(int, sys.stdin.readline().rstrip().split()))
def LS(): return list(sys.stdin.readline().rstrip().split())
d1, d2 = MI()
if d1 < d2/2:
print(0)
elif d1 == d2/2:
print(4)
elif d1 < d2:
print(8)
elif d1 == d2:
print(4)
else:
print(0)
r_ishida