結果
問題 | No.400 鏡 |
ユーザー | wao |
提出日時 | 2017-02-23 14:39:11 |
言語 | Ruby (3.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 145 bytes |
コンパイル時間 | 513 ms |
コンパイル使用メモリ | 11,408 KB |
実行使用メモリ | 15,396 KB |
最終ジャッジ日時 | 2023-08-30 21:24:16 |
合計ジャッジ時間 | 2,242 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
コンパイルメッセージ
Syntax OK
ソースコード
a = gets b = a.split("") c = b.length c.times do |c| if b[c] == "<" b[c] = ">" elsif b[c] = ">" b[c] = "<" end end puts b.join("")