結果
| 問題 |
No.436 ccw
|
| コンテスト | |
| ユーザー |
ID 21712
|
| 提出日時 | 2025-01-13 14:43:29 |
| 言語 | Go (1.23.4) |
| 結果 |
AC
|
| 実行時間 | 126 ms / 2,000 ms |
| コード長 | 173 bytes |
| コンパイル時間 | 24,271 ms |
| コンパイル使用メモリ | 238,728 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2025-01-13 14:43:57 |
| 合計ジャッジ時間 | 25,039 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 24 |
ソースコード
package main
import . "fmt"
import . "strings"
func main() {
var s string
Scan(&s)
c:=Count(s,"c")-1
w:=Count(s,"w")
if c<w {
Println(c)
} else {
Println(w)
}
}
ID 21712