結果
問題 |
No.1236 長針と短針
|
ユーザー |
![]() |
提出日時 | 2020-09-25 21:24:28 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 358 bytes |
コンパイル時間 | 468 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-06-28 06:04:49 |
合計ジャッジ時間 | 1,815 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 WA * 7 |
ソースコード
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 if a<b: a+=360 d=a-b if d==360: print(0) exit() t=(d*60)/5.5 print(int(t)) main()