結果
| 問題 | 
                            No.83 最大マッチング
                             | 
                    
| コンテスト | |
| ユーザー | 
                             siman
                         | 
                    
| 提出日時 | 2015-01-10 22:23:03 | 
| 言語 | Ruby  (3.4.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 152 bytes | 
| コンパイル時間 | 80 ms | 
| コンパイル使用メモリ | 7,552 KB | 
| 実行使用メモリ | 12,416 KB | 
| 最終ジャッジ日時 | 2024-06-13 03:36:09 | 
| 合計ジャッジ時間 | 1,842 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 4 WA * 6 | 
コンパイルメッセージ
Syntax OK
ソースコード
class A
  def initialize
    n = gets.chomp.to_i
    if n.even?
      puts '1' * (n/2)
    else
      puts '1' * (n/2-1) + '7'
    end
  end
end
A.new
            
            
            
        
            
siman