結果

問題 No.570 3人兄弟(その1)
ユーザー 0x19f0x19f
提出日時 2017-10-06 22:21:49
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 324 bytes
コンパイル時間 1,434 ms
コンパイル使用メモリ 161,804 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-04-28 10:24:28
合計ジャッジ時間 1,906 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define REP(i, a, n) for(ll i = ((ll) a); i < ((ll) n); i++)
using namespace std;
typedef long long ll;
typedef pair<ll, char> plc;

int main(void) {
  plc A[3];
  REP(i, 0, 3) {
    cin >> A[i].first;
    A[i].second = 'A' + i;
  }

  sort(A, A + 3);

  REP(i, 0, 3) cout << A[i].second << endl;
}
0