結果

問題 No.1806 Rotating Golem
ユーザー ああいいああいい
提出日時 2022-01-14 21:31:17
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 74 bytes
コンパイル時間 213 ms
コンパイル使用メモリ 82,164 KB
実行使用メモリ 53,536 KB
最終ジャッジ日時 2024-04-30 12:53:17
合計ジャッジ時間 1,594 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,016 KB
testcase_01 AC 40 ms
52,688 KB
testcase_02 AC 38 ms
53,536 KB
testcase_03 AC 37 ms
52,444 KB
testcase_04 AC 38 ms
52,336 KB
testcase_05 AC 38 ms
53,096 KB
testcase_06 AC 38 ms
53,196 KB
testcase_07 AC 38 ms
51,940 KB
testcase_08 AC 38 ms
52,604 KB
testcase_09 AC 39 ms
52,628 KB
testcase_10 AC 38 ms
52,516 KB
testcase_11 AC 41 ms
51,928 KB
testcase_12 AC 39 ms
53,240 KB
testcase_13 AC 40 ms
52,852 KB
testcase_14 AC 40 ms
52,304 KB
testcase_15 AC 39 ms
53,008 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A = input()
B = input()
d = {'E':0,"S":1,"W":2,"N":3}
print((d[B]-d[A])%4)
0