結果

問題 No.525 二度寝の季節
ユーザー papinianuspapinianus
提出日時 2017-07-19 14:43:41
言語 PHP
(8.3.4)
結果
AC  
実行時間 37 ms / 1,000 ms
コード長 149 bytes
コンパイル時間 1,544 ms
コンパイル使用メモリ 32,140 KB
実行使用メモリ 31,600 KB
最終ジャッジ日時 2024-04-17 04:01:44
合計ジャッジ時間 2,595 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
31,212 KB
testcase_01 AC 34 ms
31,308 KB
testcase_02 AC 36 ms
31,092 KB
testcase_03 AC 35 ms
31,096 KB
testcase_04 AC 33 ms
31,476 KB
testcase_05 AC 33 ms
31,448 KB
testcase_06 AC 33 ms
31,324 KB
testcase_07 AC 32 ms
30,984 KB
testcase_08 AC 32 ms
31,212 KB
testcase_09 AC 33 ms
31,276 KB
testcase_10 AC 33 ms
30,920 KB
testcase_11 AC 32 ms
31,192 KB
testcase_12 AC 33 ms
31,124 KB
testcase_13 AC 32 ms
31,556 KB
testcase_14 AC 32 ms
31,216 KB
testcase_15 AC 33 ms
31,056 KB
testcase_16 AC 35 ms
31,240 KB
testcase_17 AC 35 ms
31,080 KB
testcase_18 AC 34 ms
31,100 KB
testcase_19 AC 34 ms
31,040 KB
testcase_20 AC 35 ms
31,488 KB
testcase_21 AC 34 ms
31,080 KB
testcase_22 AC 34 ms
31,264 KB
testcase_23 AC 37 ms
31,244 KB
testcase_24 AC 35 ms
31,468 KB
testcase_25 AC 33 ms
31,600 KB
testcase_26 AC 33 ms
31,280 KB
testcase_27 AC 33 ms
31,312 KB
testcase_28 AC 32 ms
31,144 KB
testcase_29 AC 32 ms
31,448 KB
testcase_30 AC 32 ms
31,476 KB
testcase_31 AC 32 ms
31,140 KB
testcase_32 AC 32 ms
31,012 KB
testcase_33 AC 32 ms
31,484 KB
testcase_34 AC 32 ms
31,076 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
list($h, $m) = explode(":", trim(fgets(STDIN)));
$m += 5;
if($m >= 60) {
    $h++;
    $m -= 60;
}
$h %= 24;
echo sprintf('%02d:%02d', $h, $m);
0