結果
問題 | No.2312 Turtleman and Gaming Console |
ユーザー |
![]() |
提出日時 | 2024-11-17 09:32:05 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 7 ms / 2,000 ms |
コード長 | 269 bytes |
コンパイル時間 | 15,905 ms |
コンパイル使用メモリ | 235,568 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-17 09:32:33 |
合計ジャッジ時間 | 16,030 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
package mainimport . "fmt"import . "math/rand"func main() {var n,a,b stringScan(&n,&a,&b)for i:=0;i<1e5;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")}