結果
| 問題 | No.8116 TCP ソート | 
| コンテスト | |
| ユーザー |  ID 21712 | 
| 提出日時 | 2025-04-02 15:15:31 | 
| 言語 | Go (1.23.4) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 268 bytes | 
| コンパイル時間 | 16,110 ms | 
| コンパイル使用メモリ | 236,716 KB | 
| 実行使用メモリ | 7,716 KB | 
| 最終ジャッジ日時 | 2025-04-02 15:15:48 | 
| 合計ジャッジ時間 | 14,394 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 27 | 
ソースコード
package main
import . "fmt"
import . "strings"
func main() {
	var s string
	Scan(&s)
	if Count(s,"C")==0 {
		Println(Repeat("P",Count(s,"P"))+Repeat("T",Count(s,"T")))
		return
	}
	Println(Repeat("T",Count(s,"T"))+Repeat("C",Count(s,"C"))+Repeat("P",Count(s,"P")))
}
            
            
            
        