結果
問題 |
No.1806 Rotating Golem
|
ユーザー |
|
提出日時 | 2022-02-04 21:37:14 |
言語 | Ruby (3.4.1) |
結果 |
AC
|
実行時間 | 102 ms / 2,000 ms |
コード長 | 226 bytes |
コンパイル時間 | 195 ms |
コンパイル使用メモリ | 7,424 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-06-11 11:34:33 |
合計ジャッジ時間 | 2,653 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 |
コンパイルメッセージ
Syntax OK
ソースコード
class String def succ case self when "E" "S" when "S" "W" when "W" "N" when "N" "E" else super end end end A = gets.chomp B = gets.chomp puts (A..).find_index(B)