結果
問題 | No.83 最大マッチング |
ユーザー | PicklesSuperior |
提出日時 | 2018-10-21 11:42:18 |
言語 | PHP (8.3.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 354 bytes |
コンパイル時間 | 56 ms |
コンパイル使用メモリ | 12,040 KB |
実行使用メモリ | 12,276 KB |
最終ジャッジ日時 | 2023-08-12 05:40:14 |
合計ジャッジ時間 | 1,269 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 8 ms
12,244 KB |
testcase_01 | WA | - |
testcase_02 | AC | 8 ms
12,172 KB |
testcase_03 | WA | - |
testcase_04 | AC | 7 ms
12,180 KB |
testcase_05 | WA | - |
testcase_06 | AC | 7 ms
12,268 KB |
testcase_07 | WA | - |
testcase_08 | AC | 7 ms
12,156 KB |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | AC | 66 ms
12,208 KB |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $input = trim(fgets(STDIN)); $onelen = $input/2; $rest = $input%2; #print($onelen . " " . $rest . "\n"); if($rest == 1){ for($i = 1;$i < $onelen;$i++){ print(1); } print(7 . "\n"); }else{ for($i = 0;$i < $onelen;$i++){ print(1); } print("\n"); } ?>