結果
| 問題 | No.279 木の数え上げ |
| コンテスト | |
| ユーザー |
horiesiniti
|
| 提出日時 | 2016-05-25 19:09:19 |
| 言語 | Ruby (4.0.6 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 210 ms / 2,000 ms |
| + 657µs | |
| コード長 | 186 bytes |
| 記録 | |
| コンパイル時間 | 9 ms |
| コンパイル使用メモリ | 8,576 KB |
| 実行使用メモリ | 15,616 KB |
| 最終ジャッジ日時 | 2026-09-17 00:15:23 |
| 合計ジャッジ時間 | 4,760 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 |
コンパイルメッセージ
Syntax OK
ソースコード
# your code goes here str=STDIN.gets t=0 r=0 e=0 str.size.times do |i| c=str[i] case c when 't' t+=1 when 'r' r+=1 when 'e' e+=1 else end end as=[t,r,e.to_i/2] puts as.min
horiesiniti