結果
| 問題 |
No.83 最大マッチング
|
| コンテスト | |
| ユーザー |
PicklesSuperior
|
| 提出日時 | 2018-10-21 11:52:56 |
| 言語 | PHP (843.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 361 bytes |
| コンパイル時間 | 159 ms |
| コンパイル使用メモリ | 32,396 KB |
| 実行使用メモリ | 32,660 KB |
| 最終ジャッジ日時 | 2024-11-19 03:19:21 |
| 合計ジャッジ時間 | 1,617 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 4 WA * 6 |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php
$input = trim(fgets(STDIN));
$onelen = (int)($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");
}
?>
PicklesSuperior