結果
| 問題 |
No.5001 排他的論理和でランニング
|
| ユーザー |
|
| 提出日時 | 2018-03-16 23:48:27 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 84 bytes |
| コンパイル時間 | 31 ms |
| 実行使用メモリ | 12,456 KB |
| スコア | 0 |
| 最終ジャッジ日時 | 2020-03-12 19:38:56 |
|
ジャッジサーバーID (参考情報) |
judge9 / |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 50 |
コンパイルメッセージ
Main.rb:3: warning: assigned but unused variable - n Syntax OK
ソースコード
def ascan; gets.split.map(&:to_i);end n,k = ascan puts ([(1<<32)-1]+[0]*(k-1))*" "