結果

問題 No.651 E869120 and Driving
ユーザー papinianuspapinianus
提出日時 2018-05-16 15:25:50
言語 PHP
(8.3.4)
結果
AC  
実行時間 44 ms / 1,000 ms
コード長 170 bytes
コンパイル時間 3,757 ms
コンパイル使用メモリ 32,140 KB
実行使用メモリ 32,464 KB
最終ジャッジ日時 2023-10-22 07:57:06
合計ジャッジ時間 4,077 ms
ジャッジサーバーID
(参考情報)
judge13 / judge10
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
32,464 KB
testcase_01 AC 44 ms
32,464 KB
testcase_02 AC 43 ms
32,464 KB
testcase_03 AC 43 ms
32,464 KB
testcase_04 AC 42 ms
32,464 KB
testcase_05 AC 42 ms
32,464 KB
testcase_06 AC 43 ms
32,464 KB
testcase_07 AC 42 ms
32,464 KB
testcase_08 AC 42 ms
32,464 KB
testcase_09 AC 43 ms
32,464 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
declare(strict_types=1);
$a = trim(fgets(STDIN));
echo (floor(($a / 10 * 6) / 60) + 10).':'.str_pad(strval(($a / 10 * 6) % 60), 2, '0', STR_PAD_LEFT);
echo PHP_EOL;
0