結果
問題 | No.516 赤と青の風船 |
ユーザー | pekempey |
提出日時 | 2017-05-28 21:21:04 |
言語 | C++14 (gcc 13.2.0 + boost 1.83.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 244 bytes |
コンパイル時間 | 931 ms |
コンパイル使用メモリ | 78,464 KB |
実行使用メモリ | 4,348 KB |
最終ジャッジ日時 | 2023-10-21 13:59:56 |
合計ジャッジ時間 | 1,455 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
4,348 KB |
testcase_01 | AC | 2 ms
4,348 KB |
testcase_02 | AC | 2 ms
4,348 KB |
testcase_03 | AC | 2 ms
4,348 KB |
testcase_04 | AC | 2 ms
4,348 KB |
testcase_05 | AC | 2 ms
4,348 KB |
testcase_06 | AC | 2 ms
4,348 KB |
testcase_07 | AC | 2 ms
4,348 KB |
ソースコード
#include <iostream> #include <algorithm> #include <string> #include <vector> int main() { std::vector<std::string> s(3); for (int i = 0; i < 3; i++) { std::cin >> s[i]; } std::sort(s.begin(), s.end()); std::cout << s[1] << std::endl; }