結果

問題 No.1236 長針と短針
ユーザー googol_S0
提出日時 2020-09-25 22:31:26
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 119 bytes
コンパイル時間 256 ms
コンパイル使用メモリ 82,416 KB
実行使用メモリ 51,968 KB
最終ジャッジ日時 2024-06-28 06:58:08
合計ジャッジ時間 1,972 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B=map(int,input().split())
C=A*3600+B*60
P=10**20
for i in range(11):
  P=min(P,int(3600*120*i//11-C)%43200)
print(P)
0