結果
| 問題 | 
                            No.256 桁の数字を入れ替え (2)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             fal_rnd
                         | 
                    
| 提出日時 | 2017-01-21 15:08:17 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 14 ms / 2,000 ms | 
| コード長 | 407 bytes | 
| コンパイル時間 | 1,441 ms | 
| コンパイル使用メモリ | 161,908 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-12-23 04:19:27 | 
| 合計ジャッジ時間 | 1,876 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 4 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
using  ll =          long long int;
using ull = unsigned long long int;
const char en ='\n';
const int  mod=1000000007;
int main(){
	cin.tie();
	ios::sync_with_stdio(false);
	string s;cin>>s;
	priority_queue<char> q;
	//s="114514";
	for(ull i=0;i<s.size();i++){
		q.push(s[i]);
	}
	while(!q.empty()){
		cout<<q.top();
		q.pop();
	}
	cout<<en;
	return 0;
}
            
            
            
        
            
fal_rnd