結果

問題 No.379 五円硬貨
ユーザー takoshi186takoshi186
提出日時 2016-08-01 14:59:47
言語 PHP
(8.2.11)
結果
AC  
実行時間 16 ms / 1,000 ms
コード長 228 bytes
コンパイル時間 143 ms
コンパイル使用メモリ 18,472 KB
実行使用メモリ 18,836 KB
最終ジャッジ日時 2023-08-06 18:43:51
合計ジャッジ時間 1,245 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
18,804 KB
testcase_01 AC 16 ms
18,772 KB
testcase_02 AC 16 ms
18,700 KB
testcase_03 AC 16 ms
18,700 KB
testcase_04 AC 15 ms
18,684 KB
testcase_05 AC 16 ms
18,808 KB
testcase_06 AC 16 ms
18,740 KB
testcase_07 AC 16 ms
18,836 KB
testcase_08 AC 16 ms
18,832 KB
testcase_09 AC 16 ms
18,704 KB
testcase_10 AC 15 ms
18,744 KB
testcase_11 AC 16 ms
18,668 KB
testcase_12 AC 16 ms
18,752 KB
testcase_13 AC 16 ms
18,824 KB
testcase_14 AC 16 ms
18,684 KB
testcase_15 AC 16 ms
18,628 KB
testcase_16 AC 16 ms
18,744 KB
testcase_17 AC 15 ms
18,680 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