結果

問題 No.276 連続する整数の和(1)
ユーザー tnoda_tnoda_
提出日時 2015-09-07 19:30:38
言語 Python2
(2.7.18)
結果
AC  
実行時間 11 ms / 1,000 ms
コード長 61 bytes
コンパイル時間 76 ms
使用メモリ 6,320 KB
最終ジャッジ日時 2023-02-17 07:58:53
合計ジャッジ時間 968 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 11 ms
6,256 KB
testcase_01 AC 10 ms
6,268 KB
testcase_02 AC 11 ms
6,268 KB
testcase_03 AC 10 ms
6,188 KB
testcase_04 AC 10 ms
6,284 KB
testcase_05 AC 10 ms
6,320 KB
testcase_06 AC 10 ms
6,284 KB
testcase_07 AC 10 ms
6,200 KB
testcase_08 AC 10 ms
6,280 KB
testcase_09 AC 10 ms
6,316 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = input()
if N % 2 == 0:
    print(N/2)
else:
    print(N)
0