結果
問題 |
No.2312 Turtleman and Gaming Console
|
ユーザー |
![]() |
提出日時 | 2024-11-17 09:56:28 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 269 bytes |
コンパイル時間 | 13,528 ms |
コンパイル使用メモリ | 222,752 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-17 09:56:44 |
合計ジャッジ時間 | 13,457 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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<1e4;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") }