結果
問題 | No.83 最大マッチング |
ユーザー |
![]() |
提出日時 | 2019-05-23 11:05:09 |
言語 | PHP (843.2) |
結果 |
WA
|
実行時間 | - |
コード長 | 170 bytes |
コンパイル時間 | 2,803 ms |
コンパイル使用メモリ | 32,144 KB |
実行使用メモリ | 32,656 KB |
最終ジャッジ日時 | 2024-09-17 09:42:20 |
合計ジャッジ時間 | 1,298 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | WA * 10 |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php$input = trim(fgets(STDIN));$output = ( $input % 2 ) == 1 ? ( '7'.str_repeat( '1', ( $input / 2 ) - 2 ) ) : str_repeat( '1', (($input + 2 ) / 3) );print $output;