結果
| 問題 |
No.279 木の数え上げ
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2020-01-08 15:29:15 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 23 ms / 2,000 ms |
| コード長 | 225 bytes |
| コンパイル時間 | 504 ms |
| コンパイル使用メモリ | 64,128 KB |
| 実行使用メモリ | 5,292 KB |
| 最終ジャッジ日時 | 2024-11-23 02:44:29 |
| 合計ジャッジ時間 | 1,647 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 |
ソースコード
#include <iostream>
using namespace std;
int al[26];
int main(){
string s;cin>>s;
for(int i = 0; s.size() > i; i++){
al[s[i]-'a']++;
}
cout << min(min(al['t'-'a'],al['r'-'a']),al['e'-'a']/2) << endl;
}