結果

問題 No.1415 100の倍数かつ正整数(1)
ユーザー takutakutakutaku
提出日時 2021-05-30 21:12:42
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 164 bytes
コンパイル時間 2,881 ms
コンパイル使用メモリ 32,016 KB
実行使用メモリ 32,532 KB
最終ジャッジ日時 2024-04-26 07:55:01
合計ジャッジ時間 4,740 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
32,144 KB
testcase_01 AC 37 ms
32,400 KB
testcase_02 AC 38 ms
32,276 KB
testcase_03 AC 40 ms
32,272 KB
testcase_04 AC 36 ms
32,272 KB
testcase_05 WA -
testcase_06 AC 36 ms
32,276 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 38 ms
32,404 KB
testcase_10 AC 35 ms
32,400 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 35 ms
32,212 KB
testcase_14 WA -
testcase_15 AC 35 ms
32,276 KB
testcase_16 WA -
testcase_17 AC 37 ms
32,400 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 38 ms
32,340 KB
testcase_21 WA -
testcase_22 AC 38 ms
32,020 KB
testcase_23 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
    $num = fgets(STDIN);
    $n = strlen($num);
    
    if($n < 3 || strpos($num,'-') !== false) {
        echo '0';
    } else {
        echo $n-3;
    }
?>
0