結果
| 問題 |
No.570 3人兄弟(その1)
|
| コンテスト | |
| ユーザー |
cumin
|
| 提出日時 | 2020-03-27 21:09:43 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 465 bytes |
| コンパイル時間 | 1,442 ms |
| コンパイル使用メモリ | 169,300 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2025-01-02 09:26:25 |
| 合計ジャッジ時間 | 1,902 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 5 |
ソースコード
#include <bits/stdc++.h>
#define rep(i,n)for(long long i=0;i<(n);i++)
using namespace std;
typedef unsigned long long ull;
typedef long long ll;
const ll INF=1e18;
const int MOD=1e9+7;
const double pi=acos(-1);
int main(){
vector<pair<int,char>>vec;
rep(i,3){
int a;
cin >> a;
vec.push_back(make_pair(a,char('A'+i)));
}
sort(vec.begin(),vec.end(),greater<pair<int,char>>());
rep(i,3){
cout << vec[i].second << endl;
}
cout << endl;
}
cumin