結果

問題 No.570 3人兄弟(その1)
ユーザー hogeover30
提出日時 2018-01-17 17:05:59
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 230 bytes
コンパイル時間 2,050 ms
コンパイル使用メモリ 196,248 KB
最終ジャッジ日時 2025-01-05 07:34:33
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main()
{
    pair<int, char> h[3];
    for(int i=0; i<3; ++i) cin>>h[i].first, h[i].second=i+'A';
    sort(h, h+3);
    reverse(h, h+3);
    for(auto& [x, y]: h) cout<<y<<endl;
}
0