結果

問題 No.279 木の数え上げ
ユーザー toshiro_yanagitoshiro_yanagi
提出日時 2018-06-02 20:10:23
言語 Nim
(2.0.2)
結果
AC  
実行時間 27 ms / 2,000 ms
コード長 138 bytes
コンパイル時間 2,599 ms
コンパイル使用メモリ 67,848 KB
実行使用メモリ 6,320 KB
最終ジャッジ日時 2023-09-12 21:35:21
合計ジャッジ時間 4,024 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,376 KB
testcase_01 AC 1 ms
4,380 KB
testcase_02 AC 1 ms
4,376 KB
testcase_03 AC 2 ms
4,376 KB
testcase_04 AC 2 ms
4,380 KB
testcase_05 AC 2 ms
4,376 KB
testcase_06 AC 2 ms
4,376 KB
testcase_07 AC 2 ms
4,376 KB
testcase_08 AC 2 ms
4,380 KB
testcase_09 AC 2 ms
4,376 KB
testcase_10 AC 26 ms
6,104 KB
testcase_11 AC 7 ms
4,376 KB
testcase_12 AC 18 ms
5,236 KB
testcase_13 AC 4 ms
4,380 KB
testcase_14 AC 27 ms
6,276 KB
testcase_15 AC 23 ms
6,244 KB
testcase_16 AC 21 ms
5,136 KB
testcase_17 AC 26 ms
6,268 KB
testcase_18 AC 14 ms
4,564 KB
testcase_19 AC 25 ms
6,320 KB
testcase_20 AC 27 ms
6,148 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import tables
let S = stdin.readLine
var dic = initCountTable[char]()
for c in S: dic.inc(c)
echo [dic['t'], dic['r'], dic['e'] div 2].min
0