結果

問題 No.350 d=vt
ユーザー papinianuspapinianus
提出日時 2017-07-26 11:50:36
言語 PHP
(8.3.4)
結果
AC  
実行時間 50 ms / 2,000 ms
コード長 164 bytes
コンパイル時間 79 ms
コンパイル使用メモリ 32,272 KB
実行使用メモリ 31,468 KB
最終ジャッジ日時 2024-04-15 10:48:40
合計ジャッジ時間 1,327 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
31,236 KB
testcase_01 AC 50 ms
31,152 KB
testcase_02 AC 44 ms
31,444 KB
testcase_03 AC 41 ms
31,128 KB
testcase_04 AC 41 ms
31,448 KB
testcase_05 AC 42 ms
31,120 KB
testcase_06 AC 42 ms
31,012 KB
testcase_07 AC 42 ms
31,468 KB
testcase_08 AC 41 ms
31,332 KB
testcase_09 AC 41 ms
31,232 KB
testcase_10 AC 41 ms
30,984 KB
testcase_11 AC 41 ms
31,036 KB
testcase_12 AC 40 ms
31,276 KB
testcase_13 AC 40 ms
31,264 KB
testcase_14 AC 41 ms
31,364 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
list($v, $t) = explode(" ", trim(fgets(STDIN)));
$v *= 10000;
$d = $v * $t;
if(strlen($d) < 5) { echo 0; }
else { echo substr($v * $t, 0, -4); }
echo PHP_EOL;
0