結果

問題 No.1806 Rotating Golem
ユーザー nouka28
提出日時 2022-05-22 18:21:11
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 226 bytes
コンパイル時間 180 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 52,096 KB
最終ジャッジ日時 2024-09-20 12:47:19
合計ジャッジ時間 1,514 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 3 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

N=input()
if N=="E":
    N_num=1
elif N=="W":
    N_num=2
elif N=="S":
    N_num=3
else:
    N_num=4
B=input()
if N=="E":
    B_num=1
elif N=="W":
    B_num=2
elif N=="S":
    B_num=3
else:
    B_num=4

print(abs(N_num-B_num))
0