結果
問題 |
No.722 100×100=1000
|
ユーザー |
![]() |
提出日時 | 2019-06-03 12:37:00 |
言語 | PHP (843.2) |
結果 |
WA
|
実行時間 | - |
コード長 | 323 bytes |
コンパイル時間 | 132 ms |
コンパイル使用メモリ | 32,400 KB |
実行使用メモリ | 32,916 KB |
最終ジャッジ日時 | 2024-10-12 12:07:23 |
合計ジャッジ時間 | 2,427 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 4 |
other | WA * 27 |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $array = explode(' ', trim(fgets(STDIN))); $a = $array[0]; $b = $array[1]; if (abs(preg_replace($a,'','/0{2,}$/')) < 10 && abs(preg_replace($b,'','/0{2,}$/')) < 10) { $result = ($a*$b)/10; } else { $result = $a*$b; if (abs($result) > 99999999) { $result = "E"; } } echo $result; ?>