結果

問題 No.276 連続する整数の和(1)
ユーザー 👑 tamatotamato
提出日時 2021-01-09 20:50:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 1,000 ms
コード長 217 bytes
コンパイル時間 293 ms
コンパイル使用メモリ 87,648 KB
実行使用メモリ 71,724 KB
最終ジャッジ日時 2023-08-11 17:54:34
合計ジャッジ時間 1,993 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
71,532 KB
testcase_01 AC 78 ms
71,476 KB
testcase_02 AC 78 ms
71,584 KB
testcase_03 AC 79 ms
71,244 KB
testcase_04 AC 75 ms
71,604 KB
testcase_05 AC 75 ms
71,584 KB
testcase_06 AC 75 ms
71,492 KB
testcase_07 AC 75 ms
71,664 KB
testcase_08 AC 76 ms
71,724 KB
testcase_09 AC 76 ms
71,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 1000000007
eps = 10**-9


def main():
    import sys
    input = sys.stdin.readline
    
    N = int(input())
    if N & 1:
        print(N)
    else:
        print(N//2)


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