結果
| 問題 | No.1806 Rotating Golem |
| コンテスト | |
| ユーザー |
Ryuki87241978
|
| 提出日時 | 2022-04-20 15:02:01 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 93 ms / 2,000 ms |
| + 725µs | |
| コード長 | 134 bytes |
| 記録 | |
| コンパイル時間 | 294 ms |
| コンパイル使用メモリ | 21,540 KB |
| 実行使用メモリ | 15,868 KB |
| 最終ジャッジ日時 | 2026-07-25 13:59:58 |
| 合計ジャッジ時間 | 3,076 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 |
ソースコード
map = {"E":2, "W":4, "S":3, "N":1}
A = input()
B = input()
if map[A]>map[B]:
print(4-map[A]+map[B])
else:
print(map[B]-map[A])
Ryuki87241978