結果
| 問題 | No.436 ccw |
| コンテスト | |
| ユーザー |
ID 21712
|
| 提出日時 | 2025-01-13 14:43:29 |
| 言語 | Go (1.26.1) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 2,000 ms |
| コード長 | 173 bytes |
| 記録 | |
| コンパイル時間 | 15,288 ms |
| コンパイル使用メモリ | 278,712 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-12 22:07:39 |
| 合計ジャッジ時間 | 16,837 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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