結果
| 問題 | No.851 テストケース |
| コンテスト | |
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 20:11:18 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 34 ms / 3,153 ms |
| + 377µs | |
| コード長 | 351 bytes |
| 記録 | |
| コンパイル時間 | 88 ms |
| コンパイル使用メモリ | 65,208 KB |
| 実行使用メモリ | 54,632 KB |
| 最終ジャッジ日時 | 2026-10-13 01:28:17 |
| 合計ジャッジ時間 | 2,406 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
import sys
lines = [line.strip() for line in sys.stdin if line.strip()]
n = int(lines[0])
if len(lines) == 2:
print('"assert"')
else:
a = [int(lines[1]), int(lines[2]), int(lines[3])]
s1 = a[0] + a[1]
s2 = a[0] + a[2]
s3 = a[1] + a[2]
sums = {s1, s2, s3}
sorted_sums = sorted(sums, reverse=True)
print(sorted_sums[1])
gew1fw