結果
| 問題 | No.851 テストケース |
| コンテスト | |
| ユーザー |
rsk0315
|
| 提出日時 | 2019-07-26 23:56:09 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 15 ms / 3,153 ms |
| コード長 | 260 bytes |
| 記録 | |
| コンパイル時間 | 355 ms |
| コンパイル使用メモリ | 65,152 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-07 15:04:42 |
| 合計ジャッジ時間 | 1,266 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#include <cstdio>
#include <cstdint>
#include <set>
int main() {
intmax_t x, y, z;
char c;
scanf("3%jd%c%jd %jd", &x, &c, &y, &z);
if (c == ' ') return puts("\"assert\""), 0;
std::set<intmax_t> s{x+y, y+z, z+x};
printf("%jd\n", *++s.rbegin());
}
rsk0315