結果
問題 |
No.1005 BOT対策
|
ユーザー |
|
提出日時 | 2020-03-09 08:29:33 |
言語 | Go (1.23.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 179 bytes |
コンパイル時間 | 11,806 ms |
コンパイル使用メモリ | 236,132 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-07 20:49:18 |
合計ジャッジ時間 | 12,749 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 WA * 5 |
ソースコード
package main import ( "fmt" "strings" ) func main() { var s, t string fmt.Scan(&s, &t) if len(t) <= 1 { fmt.Println(-1) } else { fmt.Println(strings.Count(s, t)) } }