結果

問題 No.296 n度寝
コンテスト
ユーザー nyankology
提出日時 2018-11-26 22:00:37
言語 Python3
(3.14.3 + numpy 2.4.4 + scipy 1.17.1)
コンパイル:
python3 -mpy_compile _filename_
実行:
python3 _filename_
結果
AC  
実行時間 93 ms / 1,000 ms
+ 588µs
コード長 190 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 291 ms
コンパイル使用メモリ 21,536 KB
実行使用メモリ 15,864 KB
最終ジャッジ日時 2026-07-25 13:21:59
合計ジャッジ時間 3,116 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

f = input()
s_f = f.split()
N = int(s_f[0])
H = int(s_f[1])
M = int(s_f[2])
T = int(s_f[3])

minute = T * ( N - 1)
a = M + minute
b = a // 60
c = ( H + b ) % 24
d = a % 60
print(c)
print(d)
0