結果

問題 No.276 連続する整数の和(1)
ユーザー nohakai3nohakai3
提出日時 2022-11-01 20:27:14
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 1,000 ms
コード長 60 bytes
コンパイル時間 325 ms
コンパイル使用メモリ 86,932 KB
実行使用メモリ 71,324 KB
最終ジャッジ日時 2023-09-23 10:25:09
合計ジャッジ時間 1,928 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,216 KB
testcase_01 AC 76 ms
71,172 KB
testcase_02 AC 74 ms
71,256 KB
testcase_03 AC 74 ms
71,260 KB
testcase_04 AC 75 ms
71,324 KB
testcase_05 AC 76 ms
71,124 KB
testcase_06 AC 75 ms
71,188 KB
testcase_07 AC 75 ms
71,288 KB
testcase_08 AC 74 ms
71,180 KB
testcase_09 AC 74 ms
71,212 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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