結果
問題 |
No.1236 長針と短針
|
ユーザー |
![]() |
提出日時 | 2020-09-25 21:56:12 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 272 bytes |
コンパイル時間 | 80 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-28 06:31:53 |
合計ジャッジ時間 | 1,558 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 17 WA * 3 |
ソースコード
A, B = map(int, input().split()) x = 12 * 60 * 60 / 11 t = (A * 60 + B) * 60 % (12 * 60 * 60) if t / x - int(t / x) < 0.001: print(0) exit() y = int(t / x) for i in range(int(x) + 1): z = int((t + i) / x) if y != z: print(i - 1) exit()