結果

問題 No.1925 悪鬼三七次元
ユーザー gew1fw
提出日時 2025-06-12 20:26:22
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 152 bytes
コンパイル時間 181 ms
コンパイル使用メモリ 82,088 KB
実行使用メモリ 88,592 KB
最終ジャッジ日時 2025-06-12 20:27:07
合計ジャッジ時間 4,331 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 43
権限があれば一括ダウンロードができます

ソースコード

diff #

n, *rest = map(int, open(0).read().split())
a = rest[:n]

if n == 1:
    print(a[0])
else:
    a_sorted = sorted(a)
    print(a_sorted[0] + a_sorted[1])
0