結果

問題 No.2937 Sigma Plus Problem
ユーザー LyricalMaestro
提出日時 2024-10-20 23:22:13
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 300 ms
コード長 172 bytes
コンパイル時間 358 ms
コンパイル使用メモリ 82,448 KB
実行使用メモリ 53,872 KB
最終ジャッジ日時 2024-10-20 23:22:15
合計ジャッジ時間 2,467 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

## https://yukicoder.me/problems/no/2902

def main():
    N = int(input())

    ans = (N * (N + 1)) // 2
    print(ans)















if __name__ == "__main__":
    main()
0