結果
問題 |
No.83 最大マッチング
|
ユーザー |
![]() |
提出日時 | 2018-10-21 11:42:18 |
言語 | PHP (843.2) |
結果 |
WA
|
実行時間 | - |
コード長 | 354 bytes |
コンパイル時間 | 442 ms |
コンパイル使用メモリ | 30,908 KB |
実行使用メモリ | 31,220 KB |
最終ジャッジ日時 | 2024-11-19 03:19:17 |
合計ジャッジ時間 | 1,644 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 4 WA * 6 |
コンパイルメッセージ
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"); } ?>