結果

問題 No.1687 What the Heck?
ユーザー rin204
提出日時 2021-09-27 11:42:01
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 53 bytes
コンパイル時間 145 ms
コンパイル使用メモリ 82,208 KB
実行使用メモリ 54,096 KB
最終ジャッジ日時 2024-07-06 06:58:15
合計ジャッジ時間 2,147 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 1 WA * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
print(max(0, n * (n + 1) // 2 - 2))
0