結果
問題 |
No.279 木の数え上げ
|
ユーザー |
|
提出日時 | 2017-07-09 23:25:51 |
言語 | Ruby (3.4.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 155 bytes |
コンパイル時間 | 93 ms |
コンパイル使用メモリ | 7,424 KB |
実行使用メモリ | 14,208 KB |
最終ジャッジ日時 | 2024-10-07 05:02:50 |
合計ジャッジ時間 | 3,136 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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