結果
| 問題 | No.83 最大マッチング |
| コンテスト | |
| ユーザー |
しめはじめ
|
| 提出日時 | 2019-05-23 11:09:03 |
| 言語 | PHP (8.5.9) |
| 結果 |
WA
不安定
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 174 bytes |
| 記録 | |
| コンパイル時間 | 37 ms |
| コンパイル使用メモリ | 37,264 KB |
| 実行使用メモリ | 37,648 KB |
| 最終ジャッジ日時 | 2026-08-29 11:27:22 |
| 合計ジャッジ時間 | 1,567 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 4 WA * 6 |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $input = trim(fgets(STDIN)); $output = ( $input % 2 ) == 1 ? ( '7'.str_repeat( '1', ( $input / 2 ) - 1 ) ) : str_repeat( '1', (($input + 2 ) / 2) - 1 ); print $output;
しめはじめ