結果
| 問題 | No.56 消費税 |
| コンテスト | |
| ユーザー |
Ruizi_Luigi
|
| 提出日時 | 2015-08-05 16:36:40 |
| 言語 | PHP (8.5.1) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 125 bytes |
| 記録 | |
| コンパイル時間 | 4,404 ms |
| コンパイル使用メモリ | 37,800 KB |
| 実行使用メモリ | 38,400 KB |
| 最終ジャッジ日時 | 2026-01-13 04:43:45 |
| 合計ジャッジ時間 | 7,245 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 4 |
| other | WA * 23 |
コンパイルメッセージ
PHP Deprecated: Non-canonical cast (integer) is deprecated, use the (int) cast instead in Main.php on line 3 Deprecated: Non-canonical cast (integer) is deprecated, use the (int) cast instead in Main.php on line 3 PHP Deprecated: Non-canonical cast (integer) is deprecated, use the (int) cast instead in Main.php on line 3 Deprecated: Non-canonical cast (integer) is deprecated, use the (int) cast instead in Main.php on line 3 PHP Deprecated: Non-canonical cast (integer) is deprecated, use the (int) cast instead in Main.php on line 3 Deprecated: Non-canonical cast (integer) is deprecated, use the (int) cast instead in Main.php on line 3 No syntax errors detected in Main.php
ソースコード
<?php
list($d, $p) = explode(' ', trim(fgets(STDIN)));
echo ((integer)$d + floor((integer)$d/100*(integer)$p)) . PHP_EOL;
?>
Ruizi_Luigi