結果

問題 No.296 n度寝
ユーザー soupesuteakasoupesuteaka
提出日時 2016-03-02 17:30:59
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 29 ms / 1,000 ms
コード長 232 bytes
コンパイル時間 95 ms
コンパイル使用メモリ 10,568 KB
実行使用メモリ 9,148 KB
最終ジャッジ日時 2023-09-21 08:21:28
合計ジャッジ時間 1,385 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
9,148 KB
testcase_01 AC 26 ms
8,996 KB
testcase_02 AC 26 ms
9,004 KB
testcase_03 AC 26 ms
8,940 KB
testcase_04 AC 26 ms
9,104 KB
testcase_05 AC 26 ms
9,072 KB
testcase_06 AC 26 ms
9,072 KB
testcase_07 AC 26 ms
9,044 KB
testcase_08 AC 25 ms
9,100 KB
testcase_09 AC 26 ms
9,048 KB
testcase_10 AC 26 ms
9,008 KB
testcase_11 AC 26 ms
9,072 KB
testcase_12 AC 27 ms
9,064 KB
testcase_13 AC 26 ms
9,128 KB
testcase_14 AC 26 ms
9,068 KB
testcase_15 AC 27 ms
9,012 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding: UTF-8

import sys
import re
import itertools
from collections import deque

### defs ###


### main ###
N, H, M, T = map(int, sys.stdin.readline().split())

t = H*60+M + T*(N-1)
h = (t//60) % 24
m = t % 60
print(h)
print(m)
0