結果
問題 | No.570 3人兄弟(その1) |
ユーザー |
![]() |
提出日時 | 2020-03-31 16:30:26 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 259 bytes |
コンパイル時間 | 1,835 ms |
コンパイル使用メモリ | 173,756 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-24 19:52:03 |
合計ジャッジ時間 | 2,450 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 5 |
ソースコード
#include <bits/stdc++.h>using namespace std;#define int long longtypedef pair<int,string> P;signed main(){set<P> s;int a;cin>>a;s.insert(P(-a,"A"));cin>>a;s.insert(P(-a,"B"));cin>>a;s.insert(P(-a,"C"));for(auto p:s)cout<<p.second<<endl;}