結果
| 問題 | 
                            No.1236 長針と短針
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2020-09-25 21:32:46 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 704 bytes | 
| コンパイル時間 | 155 ms | 
| コンパイル使用メモリ | 82,796 KB | 
| 実行使用メモリ | 65,408 KB | 
| 最終ジャッジ日時 | 2024-06-28 06:09:25 | 
| 合計ジャッジ時間 | 2,666 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 18 WA * 2 | 
ソースコード
import bisect,collections,copy,itertools,math,string
import sys
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
def main():
    
    lst = [0,65.45454545454545,130.9090909090909,146.36363636363637,261.8181818181818,327.27272727272725,392.72727272727275,458.1818181818182,523.6363636363636,589.0909090909091,654.5454545454545,720]
    a, b = LI()
    if a>=12:
        a -= 12
    mn  = a* 60+ b
    nxt = 0
    while mn>lst[nxt]:
        nxt += 1
    ans = (lst[nxt]-mn)*60
    ans = int(ans)
    print(ans)
main()