結果
問題 |
No.1806 Rotating Golem
|
ユーザー |
|
提出日時 | 2022-05-11 22:16:35 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 39 ms / 2,000 ms |
コード長 | 153 bytes |
コンパイル時間 | 1,983 ms |
コンパイル使用メモリ | 81,888 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-07-19 07:59:24 |
合計ジャッジ時間 | 2,235 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 |
ソースコード
list = ["N", "E", "S", "W"] start = list.index(input()) goal = list.index(input()) diff = goal -start if diff >= 0: print(diff) else: print(diff+4)