結果
問題 | No.857 素振り |
ユーザー | mondo |
提出日時 | 2019-08-13 12:28:26 |
言語 | PHP (8.3.4) |
結果 |
RE
|
実行時間 | - |
コード長 | 232 bytes |
コンパイル時間 | 435 ms |
コンパイル使用メモリ | 32,684 KB |
実行使用メモリ | 32,972 KB |
最終ジャッジ日時 | 2023-10-19 17:03:04 |
合計ジャッジ時間 | 1,579 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 43 ms
32,672 KB |
testcase_01 | AC | 42 ms
32,672 KB |
testcase_02 | AC | 43 ms
32,672 KB |
testcase_03 | AC | 44 ms
32,672 KB |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | RE | - |
testcase_09 | RE | - |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php list($rest1, $rest2, $finish) = explode(" ", trim(fgets(STDIN))); $bat = range(1, $finish); $cnt = 0; foreach ($bat as $value){ if ($value == $rest1 || $value == $rest2) { $cnt ++; } } echo abs($finish - $cnt);