結果

問題 No.1806 Rotating Golem
ユーザー gr1msl3ygr1msl3y
提出日時 2022-01-14 22:59:27
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 36 ms / 2,000 ms
コード長 74 bytes
コンパイル時間 132 ms
コンパイル使用メモリ 82,360 KB
実行使用メモリ 53,600 KB
最終ジャッジ日時 2024-04-30 16:46:03
合計ジャッジ時間 1,256 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
51,680 KB
testcase_01 AC 33 ms
52,976 KB
testcase_02 AC 36 ms
51,952 KB
testcase_03 AC 35 ms
51,828 KB
testcase_04 AC 35 ms
51,996 KB
testcase_05 AC 33 ms
52,264 KB
testcase_06 AC 32 ms
52,532 KB
testcase_07 AC 32 ms
53,012 KB
testcase_08 AC 33 ms
52,732 KB
testcase_09 AC 34 ms
52,824 KB
testcase_10 AC 34 ms
52,864 KB
testcase_11 AC 32 ms
52,516 KB
testcase_12 AC 33 ms
53,412 KB
testcase_13 AC 36 ms
52,108 KB
testcase_14 AC 31 ms
51,832 KB
testcase_15 AC 32 ms
53,600 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = 'NESW'*2
A = input()
B = input()
i = S.index(A)
print(S[i:].index(B))
0