結果

問題 No.1236 長針と短針
ユーザー uni_python
提出日時 2020-09-25 21:23:24
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 336 bytes
コンパイル時間 318 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 54,424 KB
最終ジャッジ日時 2024-06-28 06:04:38
合計ジャッジ時間 2,001 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=sys.stdin.readline
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    A,B=MI()
    a=30*A+0.5*B
    b=6*B
    d=abs(a-b)
    
    if d==360:
        print(0)
        exit()
    t=(d*60)/5.5
    print(int(t))


main()
0