結果
問題 | No.1686 Geschenkt |
ユーザー | p ,p |
提出日時 | 2021-09-29 22:42:04 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 122 bytes |
コンパイル時間 | 330 ms |
コンパイル使用メモリ | 10,552 KB |
実行使用メモリ | 7,956 KB |
最終ジャッジ日時 | 2023-09-23 18:10:30 |
合計ジャッジ時間 | 1,084 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | AC | 14 ms
7,952 KB |
testcase_04 | AC | 14 ms
7,784 KB |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
ソースコード
a=[] i=0 k=int(input()) a=input().split() a.sort() p=a[0] while i==k-2: if a[i]+1!=a[i+1]: p+=a[i+1] print(p)