結果
| 問題 |
No.1534 おなかがいたい
|
| コンテスト | |
| ユーザー |
ID 21712
|
| 提出日時 | 2024-12-12 13:14:46 |
| 言語 | Go (1.23.4) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 179 bytes |
| コンパイル時間 | 11,361 ms |
| コンパイル使用メモリ | 222,444 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-12-12 13:15:01 |
| 合計ジャッジ時間 | 14,926 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 3 |
| other | AC * 4 WA * 15 |
ソースコード
package main
import . "fmt"
import . "strings"
func main() {
var s string
Scan(&s)
if b, _, ok := Cut(s, "pain"); ok {
Println(Count(b, "pon"))
} else {
Println(-1)
}
}
ID 21712