結果

問題 No.32 貯金箱の憂鬱
ユーザー ねずねず
提出日時 2018-01-24 10:07:21
言語 PHP
(8.3.4)
結果
AC  
実行時間 10 ms / 5,000 ms
コード長 162 bytes
コンパイル時間 553 ms
コンパイル使用メモリ 12,060 KB
実行使用メモリ 12,328 KB
最終ジャッジ日時 2023-09-30 13:02:54
合計ジャッジ時間 1,378 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 8 ms
12,204 KB
testcase_01 AC 7 ms
12,260 KB
testcase_02 AC 7 ms
12,296 KB
testcase_03 AC 8 ms
12,300 KB
testcase_04 AC 7 ms
12,220 KB
testcase_05 AC 7 ms
12,272 KB
testcase_06 AC 8 ms
12,300 KB
testcase_07 AC 10 ms
12,328 KB
testcase_08 AC 8 ms
12,184 KB
testcase_09 AC 8 ms
12,188 KB
testcase_10 AC 8 ms
12,200 KB
testcase_11 AC 7 ms
12,300 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$l = trim(fgets(STDIN));
$m = trim(fgets(STDIN));
$n = trim(fgets(STDIN));
$m += intval($n / 25);
$l += intval($m / 4);
print $n % 25 + $m % 4 + $l % 10;
?>
0