結果

問題 No.276 連続する整数の和(1)
ユーザー _S_O_D_A__S_O_D_A_
提出日時 2015-09-17 00:04:47
言語 Python2
(2.7.18)
結果
AC  
実行時間 11 ms / 1,000 ms
コード長 125 bytes
コンパイル時間 527 ms
使用メモリ 9,784 KB
最終ジャッジ日時 2023-02-17 11:42:32
合計ジャッジ時間 1,512 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 10 ms
7,660 KB
testcase_01 AC 11 ms
9,732 KB
testcase_02 AC 11 ms
9,784 KB
testcase_03 AC 11 ms
7,604 KB
testcase_04 AC 10 ms
7,672 KB
testcase_05 AC 10 ms
7,612 KB
testcase_06 AC 10 ms
7,676 KB
testcase_07 AC 11 ms
7,652 KB
testcase_08 AC 11 ms
7,604 KB
testcase_09 AC 11 ms
7,656 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8
# Here your code !

input_line = raw_input()
N = int(input_line)

if N%2==0:
    print N/2
else:
    print N
0