結果
問題 | No.651 E869120 and Driving |
ユーザー | mondo |
提出日時 | 2019-08-05 16:33:30 |
言語 | PHP (8.3.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 291 bytes |
コンパイル時間 | 91 ms |
コンパイル使用メモリ | 12,088 KB |
実行使用メモリ | 12,332 KB |
最終ジャッジ日時 | 2023-09-25 17:19:19 |
合計ジャッジ時間 | 1,004 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 7 ms
12,156 KB |
testcase_01 | AC | 7 ms
12,240 KB |
testcase_02 | AC | 7 ms
12,232 KB |
testcase_03 | AC | 8 ms
12,180 KB |
testcase_04 | AC | 7 ms
12,192 KB |
testcase_05 | AC | 7 ms
12,176 KB |
testcase_06 | AC | 7 ms
12,172 KB |
testcase_07 | AC | 7 ms
12,144 KB |
testcase_08 | AC | 7 ms
12,216 KB |
testcase_09 | WA | - |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $distance = (int)trim(fgets(STDIN)); $speed = 100; $time = $distance / $speed * 60; $minutes = $time % 60; if ($time > 60) { if ($time % 60 == 0){ $minutes = 0; } else { $minutes = $time % 60; } } echo (floor($time / 60) + 10).":".sprintf("%02s", $minutes);