結果

問題 No.1026 OGAWA's New Keyboard
ユーザー maimai
提出日時 2020-04-14 22:52:12
言語 Ruby
(3.3.0)
結果
AC  
実行時間 278 ms / 1,000 ms
コード長 97 bytes
コンパイル時間 329 ms
コンパイル使用メモリ 11,416 KB
実行使用メモリ 15,876 KB
最終ジャッジ日時 2023-10-14 10:03:45
合計ジャッジ時間 4,365 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
15,160 KB
testcase_01 AC 87 ms
15,148 KB
testcase_02 AC 81 ms
15,312 KB
testcase_03 AC 81 ms
15,044 KB
testcase_04 AC 278 ms
15,876 KB
testcase_05 AC 89 ms
15,268 KB
testcase_06 AC 90 ms
15,116 KB
testcase_07 AC 202 ms
15,496 KB
testcase_08 AC 87 ms
15,416 KB
testcase_09 AC 82 ms
15,152 KB
testcase_10 AC 85 ms
15,224 KB
testcase_11 AC 85 ms
15,120 KB
testcase_12 AC 83 ms
15,240 KB
testcase_13 AC 83 ms
15,032 KB
testcase_14 AC 81 ms
15,220 KB
testcase_15 AC 83 ms
15,012 KB
testcase_16 AC 84 ms
15,344 KB
testcase_17 AC 131 ms
15,244 KB
testcase_18 AC 86 ms
15,152 KB
testcase_19 AC 125 ms
15,356 KB
testcase_20 AC 82 ms
15,304 KB
testcase_21 AC 82 ms
15,332 KB
testcase_22 AC 84 ms
15,128 KB
testcase_23 AC 85 ms
15,084 KB
testcase_24 AC 178 ms
15,688 KB
testcase_25 AC 84 ms
15,108 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

q=['','']
gets.to_i.times do
  f,c=gets.chomp.split
  q[f.ord-48] << c
end
puts q[1].reverse+q[0]
0