結果
問題 | No.2312 Turtleman and Gaming Console |
ユーザー |
![]() |
提出日時 | 2024-11-17 09:58:09 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 269 bytes |
コンパイル時間 | 12,146 ms |
コンパイル使用メモリ | 220,036 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-17 09:58:24 |
合計ジャッジ時間 | 13,375 ms |
ジャッジサーバーID (参考情報) |
judge3 / 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<1e3;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")}