結果
| 問題 |
No.296 n度寝
|
| コンテスト | |
| ユーザー |
あかりき
|
| 提出日時 | 2021-05-24 06:33:55 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 116 ms / 1,000 ms |
| コード長 | 152 bytes |
| コンパイル時間 | 263 ms |
| コンパイル使用メモリ | 82,164 KB |
| 実行使用メモリ | 59,008 KB |
| 最終ジャッジ日時 | 2024-10-12 12:23:26 |
| 合計ジャッジ時間 | 1,718 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 |
ソースコード
n,h,m,t=map(int,input().split())
for i in range(n-1):
m+=t
if m>=60:
while m>=60:
h+=1
m-=60
if h>=24:
h-=24
print(h)
print(m)
あかりき