結果
| 問題 |
No.1236 長針と短針
|
| コンテスト | |
| ユーザー |
StarMatyan
|
| 提出日時 | 2020-11-15 14:56:08 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 30 ms / 2,000 ms |
| コード長 | 374 bytes |
| コンパイル時間 | 227 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-07-23 01:13:52 |
| 合計ジャッジ時間 | 1,764 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
instr = input()
instr_str = instr.split(" ")
short_t = int(instr_str[0])
long_t = int(instr_str[1])
total = int(short_t*3600 + long_t*60)
count = 0
result= 0
while count < 22:
if total == int(43200*count/11):
result = 0
elif total > int(43200*count/11) and total < int(43200*(count+1)/11):
result = (int(43200*(count+1)/11) -total)
count = count+1
print(result)
StarMatyan