結果
| 問題 | No.279 木の数え上げ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-11-04 11:01:16 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 267 bytes |
| コンパイル時間 | 1,196 ms |
| コンパイル使用メモリ | 105,908 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-04 11:01:40 |
| 合計ジャッジ時間 | 4,843 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 21 |
ソースコード
#include <iostream>
#include <algorithm>
#include <map>
#include <vector>
using namespace std;
int main() {
string s;
cin >> s;
vector<int> v(100,0);
for(int it:s) {
v[it] += 1;
}
v[int('e')] /= 2;
cout << min({v[int('t')],v[int('r')],v[int('e')]});
}