結果

問題 No.1236 長針と短針
ユーザー wolgnikwolgnik
提出日時 2020-09-25 21:25:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 143 bytes
コンパイル時間 2,027 ms
コンパイル使用メモリ 86,608 KB
実行使用メモリ 71,508 KB
最終ジャッジ日時 2023-09-10 14:52:18
合計ジャッジ時間 3,266 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,248 KB
testcase_01 AC 69 ms
71,340 KB
testcase_02 AC 69 ms
71,008 KB
testcase_03 AC 69 ms
71,384 KB
testcase_04 AC 69 ms
71,312 KB
testcase_05 AC 69 ms
71,156 KB
testcase_06 AC 72 ms
71,252 KB
testcase_07 AC 69 ms
71,332 KB
testcase_08 AC 70 ms
71,384 KB
testcase_09 AC 70 ms
71,428 KB
testcase_10 AC 68 ms
71,160 KB
testcase_11 AC 70 ms
70,992 KB
testcase_12 AC 72 ms
70,948 KB
testcase_13 AC 70 ms
71,428 KB
testcase_14 AC 72 ms
71,308 KB
testcase_15 AC 73 ms
71,504 KB
testcase_16 AC 72 ms
71,012 KB
testcase_17 AC 73 ms
71,112 KB
testcase_18 AC 73 ms
70,992 KB
testcase_19 AC 74 ms
71,304 KB
testcase_20 AC 73 ms
71,372 KB
testcase_21 AC 73 ms
71,164 KB
testcase_22 AC 73 ms
71,508 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline
A, B = map(int, input().split())
x = A % 12 * 30 + B * 0.5
y = B * 6
print(int((x - y) % 360 / 5.5 * 60))
0