結果
| 問題 |
No.1806 Rotating Golem
|
| コンテスト | |
| ユーザー |
ID 21712
|
| 提出日時 | 2024-10-16 21:13:21 |
| 言語 | Go (1.23.4) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 159 bytes |
| コンパイル時間 | 14,263 ms |
| コンパイル使用メモリ | 222,348 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-16 21:13:37 |
| 合計ジャッジ時間 | 13,256 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 3 WA * 10 |
ソースコード
package main
import . "fmt"
import . "strings"
func main() {
var a,b string
Scan(&a,&b)
const s="ESWN"
x:=Index(s,a)
y:=Index(s[x:]+s,b)
Println(y-x)
}
ID 21712