結果
問題 | No.570 3人兄弟(その1) |
ユーザー |
![]() |
提出日時 | 2018-10-06 14:56:34 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 247 bytes |
コンパイル時間 | 768 ms |
コンパイル使用メモリ | 79,028 KB |
最終ジャッジ日時 | 2025-01-06 14:23:38 |
ジャッジサーバーID (参考情報) |
judge3 / judge |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 5 |
ソースコード
#include <iostream>#include <map>#include <algorithm>using namespace std;int main() {int ha, hb, hc;cin >> ha >> hb >> hc;map<int, char, greater<int>> mp({{ha, 'A'}, {hb, 'B'}, {hc, 'C'}});for (auto x : mp) cout << x.second << endl;}