結果

問題 No.1236 長針と短針
ユーザー ygd.
提出日時 2020-09-25 21:37:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 161 bytes
コンパイル時間 160 ms
コンパイル使用メモリ 82,524 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-06-28 06:13:00
合計ジャッジ時間 1,869 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B = map(int,input().split())
A %= 12
a = A*30+B*0.5
b = B*6
#print(a,b)
if a - b >= 0:
  d = a-b
else:
  d = 360+a-b
#print(d)
ans = d*60*2//11
print(int(ans))
0