結果
| 問題 | No.8116 TCP ソート |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-04-01 21:32:03 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 341 bytes |
| 記録 | |
| コンパイル時間 | 2,074 ms |
| コンパイル使用メモリ | 197,356 KB |
| 実行使用メモリ | 7,720 KB |
| 最終ジャッジ日時 | 2025-04-01 21:32:07 |
| 合計ジャッジ時間 | 3,082 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 WA * 7 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
string s; cin >> s;
sort(s.begin(),s.end());
for(auto &c : s){
if(c == 'C') continue;
if(c == 'P') continue;
if(c == 'T') continue;
assert(false);
}
cout << s << endl;
}