結果

問題 No.693 square1001 and Permutation 2
ユーザー posaune-0xa0
提出日時 2018-06-24 00:07:50
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 128 bytes
コンパイル時間 84 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-06-30 18:34:24
合計ジャッジ時間 1,009 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 5 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

line = input().split(" ")
li = []
for i in range(N):
    li.append(int(line[i]))

print(N*(N+1)//2 - sum(li))
0