結果
問題 |
No.571 3人兄弟(その2)
|
ユーザー |
![]() |
提出日時 | 2020-01-17 15:25:08 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 489 bytes |
コンパイル時間 | 2,644 ms |
コンパイル使用メモリ | 199,200 KB |
最終ジャッジ日時 | 2025-01-08 18:12:16 |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 12 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; // #define DEBUG int main() { #ifdef DEBUG cout << "DEBUG MODE" << endl; ifstream in("input.txt"); //for debug cin.rdbuf(in.rdbuf()); //for debug #endif int h, w; tuple<int, int, char> person[3]; for (int i = 0; i < 3; i++){ cin >> h >> w; person[i] = make_tuple(-h, w, 'A' + i); } sort(person, person + 3); cout << get<2>(person[0]) << endl; return 0; }