結果

問題 No.83 最大マッチング
ユーザー letrangerjpletrangerjp
提出日時 2017-10-21 16:47:30
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 69 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 7,552 KB
実行使用メモリ 12,416 KB
最終ジャッジ日時 2024-05-01 09:16:45
合計ジャッジ時間 2,053 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 94 ms
12,288 KB
testcase_01 AC 92 ms
12,160 KB
testcase_02 AC 92 ms
12,288 KB
testcase_03 WA -
testcase_04 AC 96 ms
12,288 KB
testcase_05 WA -
testcase_06 AC 93 ms
12,160 KB
testcase_07 WA -
testcase_08 AC 94 ms
12,160 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 94 ms
12,416 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

N = gets.to_i
if N.even?
  puts"1".*N/2
else
  puts"1"*(N/2-1)+?7
end
0