結果
| 問題 | No.1806 Rotating Golem |
| コンテスト | |
| ユーザー |
ID 21712
|
| 提出日時 | 2024-10-16 21:13:21 |
| 言語 | Go (1.27.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 159 bytes |
| 記録 | |
| コンパイル時間 | 10,702 ms |
| コンパイル使用メモリ | 268,672 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-09-19 00:14:21 |
| 合計ジャッジ時間 | 12,308 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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