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