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