結果
問題 |
No.279 木の数え上げ
|
ユーザー |
![]() |
提出日時 | 2016-02-24 22:31:49 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 21 ms / 2,000 ms |
コード長 | 288 bytes |
コンパイル時間 | 839 ms |
コンパイル使用メモリ | 102,812 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-12 03:04:47 |
合計ジャッジ時間 | 2,260 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 |
ソースコード
import std.stdio, std.conv, std.string, std.range, std.math, std.bigint, std.algorithm; void main() { auto S = readln.strip; int[char] dict; S.each!(a => dict[a]++); (min(dict['t'] * 2, dict['r'] * 2, dict['e']) / 2).writeln; }