結果
| 問題 |
No.296 n度寝
|
| ユーザー |
toshi_allneko
|
| 提出日時 | 2020-04-05 17:39:58 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 267 bytes |
| コンパイル時間 | 214 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-07-03 08:16:37 |
| 合計ジャッジ時間 | 2,481 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 WA * 5 |
ソースコード
# -*- coding: utf-8 -*-
import sys
N, H, M, T = tuple(map(int, input().split()))
N -= 1
if N == 0:
print(H)
print(M)
sys.exit()
for i in range(N):
M += T
if M >= 60:
M -= 60
H += 1
if H >=24:
H -= 24
print(H)
print(M)
toshi_allneko