結果
問題 |
No.2312 Turtleman and Gaming Console
|
ユーザー |
![]() |
提出日時 | 2024-11-17 05:02:19 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 53 ms / 2,000 ms |
コード長 | 269 bytes |
コンパイル時間 | 14,388 ms |
コンパイル使用メモリ | 223,784 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-17 05:02:36 |
合計ジャッジ時間 | 15,726 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
package main import . "fmt" import . "math/rand" func main() { var n,a,b string Scan(&n,&a,&b) for i:=0;i<1e6;i++ { x:=Intn(len(a)) y:=Intn(len(b)) if a[x]=='o'&&b[y]=='o'&&x==y { Println("Lucky Turtleman") return } } Println("Unlucky Turtleman") }