結果
問題 |
No.1264 010
|
ユーザー |
|
提出日時 | 2020-11-22 10:26:33 |
言語 | Ruby (3.4.1) |
結果 |
AC
|
実行時間 | 89 ms / 1,000 ms |
コード長 | 170 bytes |
コンパイル時間 | 319 ms |
コンパイル使用メモリ | 7,424 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-07-23 16:19:57 |
合計ジャッジ時間 | 2,518 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 9 |
コンパイルメッセージ
Syntax OK
ソースコード
# frozen_string_literal: true class Integer def solve case self when 0 0 else %(01#{'0' * self}) end end end N = gets.to_i puts N.solve