結果
| 問題 | No.279 木の数え上げ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-07-09 23:25:51 |
| 言語 | Ruby (4.0.6 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 155 bytes |
| 記録 | |
| コンパイル時間 | 9 ms |
| コンパイル使用メモリ | 8,704 KB |
| 実行使用メモリ | 16,768 KB |
| 最終ジャッジ日時 | 2026-09-11 10:22:55 |
| 合計ジャッジ時間 | 3,625 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 20 |
コンパイルメッセージ
Syntax OK
ソースコード
str = gets.chomp
list = Array.new
list.push(str.count("t"))
list.push(str.count("r"))
list.push(str.count("e"))
list.push(str.count("e") - 1)
puts list.min