結果

問題 No.722 100×100=1000
ユーザー testNametestName
提出日時 2019-06-03 18:09:45
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 288 bytes
コンパイル時間 119 ms
コンパイル使用メモリ 30,700 KB
実行使用メモリ 31,492 KB
最終ジャッジ日時 2024-04-20 16:20:43
合計ジャッジ時間 2,367 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
31,328 KB
testcase_01 AC 44 ms
30,932 KB
testcase_02 AC 44 ms
31,332 KB
testcase_03 AC 45 ms
31,084 KB
testcase_04 AC 45 ms
31,384 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 40 ms
31,268 KB
testcase_08 AC 42 ms
30,972 KB
testcase_09 AC 40 ms
31,176 KB
testcase_10 AC 40 ms
31,288 KB
testcase_11 AC 41 ms
31,224 KB
testcase_12 AC 41 ms
30,968 KB
testcase_13 AC 42 ms
31,300 KB
testcase_14 AC 41 ms
31,280 KB
testcase_15 AC 41 ms
31,268 KB
testcase_16 AC 41 ms
30,936 KB
testcase_17 AC 40 ms
31,256 KB
testcase_18 AC 41 ms
31,040 KB
testcase_19 AC 41 ms
31,212 KB
testcase_20 AC 41 ms
31,032 KB
testcase_21 AC 42 ms
31,492 KB
testcase_22 AC 41 ms
31,200 KB
testcase_23 AC 41 ms
31,168 KB
testcase_24 WA -
testcase_25 AC 41 ms
31,204 KB
testcase_26 AC 41 ms
31,312 KB
testcase_27 WA -
testcase_28 AC 41 ms
31,124 KB
testcase_29 AC 40 ms
31,040 KB
testcase_30 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$multi=explode(" ",fgets(STDIN));
$A = (int)$multi[0];
$B = (int)$multi[1];


$A2 = substr(abs($A),1,1);
$B2 = substr(abs($B),1,1);

if($A2!=0 || $B2!=0){
    $return = $A*$B;
    if(strlen(abs($return))>8){
        $return="E";
    }
}else{
    $return = $A*$B/10;
}

echo $return;
0