結果
| 問題 | No.1026 OGAWA's New Keyboard |
| ユーザー |
|
| 提出日時 | 2020-04-14 22:46:44 |
| 言語 | Ruby (3.4.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 83 bytes |
| 記録 | |
| コンパイル時間 | 85 ms |
| コンパイル使用メモリ | 7,296 KB |
| 実行使用メモリ | 12,416 KB |
| 最終ジャッジ日時 | 2024-10-01 18:17:59 |
| 合計ジャッジ時間 | 3,740 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 5 |
| other | RE * 21 |
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - c Syntax OK
ソースコード
puts gets.times.to_i.times.reduce(''){|s,e|f,c=gets.chomp.split;f=='0' ? s+e : e+s}