結果
| 問題 | No.1686 Geschenkt |
| コンテスト | |
| ユーザー |
𖧱𖦸𖥩𖥣𖥩𖥣
|
| 提出日時 | 2024-05-02 10:08:22 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 125 bytes |
| 記録 | |
| コンパイル時間 | 540 ms |
| コンパイル使用メモリ | 20,956 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-05-16 21:19:05 |
| 合計ジャッジ時間 | 2,336 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | AC * 2 WA * 5 |
ソースコード
n = int(input()) ls = list(map(int,input().split())) ls.sort() c = 0 h = 0 for i in ls: if i-c > 1: h += i c = i print(c)
𖧱𖦸𖥩𖥣𖥩𖥣