結果

問題 No.1925 悪鬼三七次元
ユーザー gew1fw
提出日時 2025-06-12 15:24:17
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 152 bytes
コンパイル時間 178 ms
コンパイル使用メモリ 82,568 KB
実行使用メモリ 88,328 KB
最終ジャッジ日時 2025-06-12 15:24:33
合計ジャッジ時間 4,836 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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