結果

問題 No.379 五円硬貨
ユーザー takoshi186takoshi186
提出日時 2016-08-01 14:59:47
言語 PHP
(8.3.4)
結果
AC  
実行時間 42 ms / 1,000 ms
コード長 228 bytes
コンパイル時間 69 ms
コンパイル使用メモリ 30,644 KB
実行使用メモリ 31,388 KB
最終ジャッジ日時 2024-04-24 13:30:05
合計ジャッジ時間 1,505 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
30,948 KB
testcase_01 AC 42 ms
30,992 KB
testcase_02 AC 37 ms
31,164 KB
testcase_03 AC 37 ms
31,176 KB
testcase_04 AC 36 ms
31,104 KB
testcase_05 AC 35 ms
31,164 KB
testcase_06 AC 38 ms
31,216 KB
testcase_07 AC 38 ms
31,152 KB
testcase_08 AC 39 ms
31,092 KB
testcase_09 AC 37 ms
31,152 KB
testcase_10 AC 36 ms
31,096 KB
testcase_11 AC 35 ms
31,192 KB
testcase_12 AC 37 ms
31,296 KB
testcase_13 AC 41 ms
31,000 KB
testcase_14 AC 37 ms
31,080 KB
testcase_15 AC 38 ms
30,976 KB
testcase_16 AC 37 ms
31,388 KB
testcase_17 AC 36 ms
31,144 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
    // $text = "100 500 10";
    // list( $N, $G, $V ) = explode( " ", $text);
    list( $N, $G, $V )  = explode( " ", trim(fgets(STDIN)));
    $yen5_count = floor($N / 5);
    printf( "%.12f", $yen5_count * $G / $V);
    
0