結果
| 問題 | No.296 n度寝 |
| コンテスト | |
| ユーザー |
QED0302
|
| 提出日時 | 2018-09-14 20:06:14 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 136 ms / 1,000 ms |
| コード長 | 298 bytes |
| 記録 | |
| コンパイル時間 | 531 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-03-27 14:46:45 |
| 合計ジャッジ時間 | 2,892 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 |
ソースコード
def main(): n,h,m,t = map(int,input().split()) time_total = 0 time_total += h*60 time_total += m #時間の初期化 time_total += (n-1)*t result_hour = (time_total // 60) % 24 result_minute = time_total % 60 print(result_hour) print(result_minute) if __name__ == '__main__': main()
QED0302